aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/store.rb
Commit message (Collapse)AuthorAgeFilesLines
* Avoid to call send(store_attribute) twice.kennyj2012-07-151-6/+8
|
* Remove duplicated code in the AR::Store.kennyj2012-07-141-11/+3
|
* Added *instance_writer: false* for stored/serialized attributes.kennyj2012-07-071-1/+1
|
* Don't mark the store as changed if an attribute isn't changed.kennyj2012-07-031-2/+5
|
* Refactor and use class_attributeCarlos Antonio da Silva2012-06-181-3/+5
|
* Remember the stored attributes in a config attribute.Joost Baaij2012-06-181-0/+12
| | | | | | 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.
* Fixed typo.chrismcc2012-06-111-1/+1
|
* Fix backward compatibility with stored Hash values. Wrap coders to convert ↵Jeremy Kemper2012-05-301-2/+32
| | | | serialized values to indifferent access.
* Convert Hash to HashWithIndifferentAccess in ActiveRecord::Store.Andrey Voronkov2012-05-221-10/+27
| | | | | | | 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.
* Copy edit [ci skip]Rafael Mendonça França2012-05-131-3/+4
|
* Custom coders support for ActiveRecord::Store. JSON, YAML, Marshal can be ↵Andrey Voronkov2012-05-091-5/+10
| | | | used out of the box.
* Merge pull request #4856 from ihid/store_null_bugAaron Patterson2012-02-021-0/+2
|\ | | | | Allow store to be a not null column.
| * Allow store to be a not null column.Jeremy Walker2012-02-021-0/+2
| |
* | *args is already an array. :'(Aaron Patterson2012-02-021-1/+1
| |
* | removed whitespace errors ↵Aaron Patterson2012-02-021-4/+4
|/ | | | :yellow_heart::blue_heart::purple_heart::heart::green_heart:
* Fix that changing a store should mark the store attribute as changedDavid Heinemeier Hansson2011-10-251-0/+1
|
* Added ActiveRecord::Base.store for declaring simple single-column key/value ↵David Heinemeier Hansson2011-10-131-0/+49
stores [DHH]