aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #16704 from ankit1910/use-existing-methodRafael Mendonça França2014-09-011-1/+1
|\
| * use self instead of #read_attributeankit19102014-08-261-1/+1
* | Avoid using heredoc for user warningsGodfrey Chan2014-08-282-7/+4
* | Cache the value of `changed_attributes` when calling `changes_applied`Sean Griffin2014-08-221-1/+20
|/
* Don't calculate in-place changes twiceSean Griffin2014-08-221-8/+0
* Implement `_was` and `changes` for in-place mutations of AR attributesSean Griffin2014-08-161-11/+14
* Define id_was to get the previous value of the primary keyRafael Mendonça França2014-08-061-1/+7
* Merge pull request #16180 from rafaelfranca/rm-dirtyRafael Mendonça França2014-07-151-2/+2
|\
| * Deprecate ActiveModel::Dirty#reset_changes in favor of #clear_changes_informa...Rafael Mendonça França2014-07-151-2/+2
* | Revert "Revert "Merge pull request #16059 from jenncoop/json-serialized-attr""Godfrey Chan2014-07-151-1/+6
|/
* Revert "Merge pull request #16059 from jenncoop/json-serialized-attr"Godfrey Chan2014-07-051-6/+1
* Merge pull request #16059 from jenncoop/json-serialized-attrGodfrey Chan2014-07-051-1/+6
* Stop using instance exec for type decoratorsSean Griffin & Sean Doyle2014-06-271-5/+15
* 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