- 14 5月, 2014 1 次提交
-
-
由 Jessica Yao 提交于
[Brad Bennett, Jessica Yao, & Lakshmi Parthasarathy]
-
- 06 1月, 2014 1 次提交
-
-
由 Thales Oliveira 提交于
Renaming the test accordingly to its behaviour Adding 'Fixes' statement to changelog Improving tests legibility & changelog Undoing mistakenly removed empty line & further improving changelog
-
- 10 11月, 2013 2 次提交
-
-
由 Yves Senn 提交于
-
由 Carlos Antonio da Silva 提交于
-
- 06 11月, 2013 1 次提交
-
-
由 Yves Senn 提交于
refs #11561 #12700
-
- 31 10月, 2013 1 次提交
-
-
由 Robin Dupret 提交于
The use of `store` on Hstore fields (for instance) is not needed because serialization aimed to interact with Ruby objects and not with provided field types
-
- 25 10月, 2013 2 次提交
-
-
由 Yves Senn 提交于
Currently they are all stored globally in the same `Hash`. This commit forces the creation of a per-class variable if necessary. The behavior was exposed through the following test-case: ``` 1) Failure: StoreTest#test_all_stored_attributes_are_returned [/Users/senny/Projects/rails/activerecord/test/cases/store_test.rb:151]: --- expected +++ actual @@ -1 +1 @@ -[:color, :homepage, :favorite_food] +[:resolution, :color, :homepage, :favorite_food] ```
- 11 2月, 2013 1 次提交
-
-
由 Sergey Nartimov 提交于
Allow store accessors to be overrided like other attribute methods, e.g.: class User < ActiveRecord::Base store :settings, accessors: [ :color, :homepage ], coder: JSON def color super || 'red' end end
-
- 07 1月, 2013 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 13 9月, 2012 1 次提交
-
-
由 Matt Jones 提交于
-
- 09 9月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 05 9月, 2012 1 次提交
-
-
由 Matt Jones 提交于
-
- 21 8月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 03 8月, 2012 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
- 14 7月, 2012 2 次提交
- 07 7月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 03 7月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 19 6月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Joost Baaij 提交于
This allows you to retrieve the list of attributes you've defined. Usable for e.g. selects in the view, or interators based on the attributes you wish to store in the serialized column.
-
- 11 6月, 2012 1 次提交
-
-
由 chrismcc 提交于
-
- 31 5月, 2012 1 次提交
-
-
由 Jeremy Kemper 提交于
Fix backward compatibility with stored Hash values. Wrap coders to convert serialized values to indifferent access.
-
- 22 5月, 2012 1 次提交
-
-
由 Andrey Voronkov 提交于
In order to make migration from 3.x apps easier, we should try to convert Hash instances to HashWithIndifferentAccess, to allow accessing values with both symbol and a string. This is follow up to changes in 3c0bf043.
-
- 14 5月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 09 5月, 2012 1 次提交
-
-
由 Andrey Voronkov 提交于
-
- 03 2月, 2012 3 次提交
-
-
由 Jeremy Walker 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 26 10月, 2011 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 14 10月, 2011 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-