aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Expand)AuthorAgeFilesLines
* Move writing unknown column exception to null attributeSean Griffin2014-06-262-9/+2
* Encapsulate the creation of `Attribute` objectsSean Griffin2014-06-261-3/+2
* Merge pull request #15868 from sgrif/sg-uninitialized-attributesRafael Mendonça França2014-06-261-10/+3
|\
| * Move behavior of `read_attribute` to `AttributeSet`Sean Griffin2014-06-251-10/+3
* | Merge pull request #15846 from sgrif/sg-attributes-before-type-castRafael Mendonça França2014-06-261-1/+1
|\ \
| * | Move `attributes_before_type_cast` to `AttributeSet`Sean Griffin2014-06-211-1/+1
* | | Silence warning in testSean Griffin2014-06-241-2/+2
| |/ |/|
* | Return a null object from `AttributeSet#[]`Sean Griffin2014-06-203-10/+4
|/
* Use `column_defaults` in dirty for checking changed defaultsSean Griffin2014-06-171-11/+3
* Promote time zone aware attributes to a first class type decoratorSean Griffin2014-06-161-1/+6
* Refactor in-place dirty checking to use the attribute objectSean Griffin2014-06-162-9/+7
* Change the deprecation warning on `serialized_attributes`Sean Griffin2014-06-151-8/+2
* Deprecate `serialized_attributes` without replacementSean Griffin2014-06-141-16/+17
* Merge pull request #15674 from sgrif/sg-mutable-attributesMatthew Draper2014-06-142-23/+77
|\
| * Detect in-place changes on mutable AR attributesSean Griffin2014-06-132-23/+77
* | Merge pull request #15593 from sgrif/sg-attributeRafael Mendonça França2014-06-133-29/+19
|\ \
| * | Introduce an Attribute object to handle the type casting danceSean Griffin2014-06-133-29/+19
| |/
* | Use a conditional rather than early return in `id`Sean Griffin2014-06-121-3/+4
* | Fix performance regression on preloading HABTM associationsSean Griffin2014-06-121-0/+1
|/
* rm cached attributesSean Griffin2014-06-111-38/+11
* Rename `type_cast` to `type_cast_from_database`Sean Griffin2014-06-092-3/+3
* Make `_before_type_cast` actually be before type castSean Griffin2014-06-092-46/+15
* Merge pull request #15546 from sgrif/sg-lazy-decoratorsRafael Mendonça França2014-06-071-4/+2
|\
| * Don't query the database schema when calling `serialize`Sean Griffin2014-06-071-4/+2
* | Merge pull request #15561 from sgrif/sg-time-zone-aware-arraysRafael Mendonça França2014-06-071-1/+11
|\ \
| * | Ensure time zones don't change after round trip with array columnsSean Griffin2014-06-071-1/+11
* | | Do not type cast twice on attribute assignmentSean Griffin2014-06-071-11/+20
|/ /
* | changelog for #15556 and credit @kuldeepaggarwal [Kuldeep Aggarwal]Yves Senn2014-06-071-2/+0
* | Add array support when time zone aware attributes are enabledSean Griffin2014-06-071-1/+13
|/
* Return a null column when no column exists for an attributeSean Griffin2014-06-032-7/+8
* Refactor determination of whether the field has changedSean Griffin2014-06-032-35/+2
* Remove most code related to serialized propertiesSean Griffin2014-06-013-58/+7
* Don't change values in `@raw_attributes` during serializationSean Griffin2014-06-011-1/+1
* Rename attribute related instance variables to better express intentSean Griffin2014-05-306-16/+16
* Don't reference comments that do not existSean Griffin2014-05-291-2/+0
* Move `type_cast_for_write` behavior over to the serialized type objectSean Griffin2014-05-292-48/+8
* Refactor serialized types to be partially defined as custom propertiesSean Griffin2014-05-291-20/+6
* Add an interface for type objects to control Ruby => SQLSean Griffin2014-05-262-8/+4
* Merge pull request #14613 from Sirupsen/fix-serialize-update-columnRafael Mendonça França2014-05-212-14/+30
|\
| * Fix serialized field returning serialized data after update_columnSimon Eskildsen2014-04-052-14/+30
* | Remove :timestamp column typeSean Griffin2014-05-192-4/+4
* | docs, double meaning of `serialize` argument. Closes #14284.Yves Senn2014-04-141-5/+16
|/
* [Active Record] Renamed private methods create_record and update_recordPrathamesh Sonpatki2014-02-201-2/+2
* AestheticRafael Mendonça França2014-01-291-6/+5
* Fixing issue with activerecord serialization not being able to dump a record ...Mauricio Linhares2014-01-291-0/+11
* Merge pull request #13799 from kbrock/better_dirtyJeremy Kemper2014-01-222-1/+29
|\
| * Move changed_attributes into dirty.rbKeenan Brock2014-01-222-1/+29
* | Add more tests for the dirty feature for enumsRafael Mendonça França2014-01-211-1/+0
* | Extract all attribute changed work to its own methodRafael Mendonça França2014-01-211-3/+7
|/
* Fix typo: data --> dateAlex Ghiculescu2013-12-191-1/+1