aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Expand)AuthorAgeFilesLines
* `update_column` take ruby-land input, not database-land inputSean Griffin2014-12-161-1/+1
* Allow custom handling of non-standard types in `time_zone_conversion`Sean Griffin2014-12-081-1/+1
* Ensure numericality validations work with mutationSean Griffin2014-12-011-6/+6
* Improve the performance of reading attributesSean Griffin2014-11-183-6/+12
* PERF: stop allocating the string "id" over and overSam2014-11-181-1/+3
* Reduce the amount of work performed when instantiating AR modelsSean Griffin2014-11-141-0/+1
* Use `DelegateClass` instead of `SimpleDelegator` for type decoratorsSean Griffin2014-11-141-1/+1
* let's warn with heredocsXavier Noria2014-10-281-2/+6
* test, better describe `SerializationTypeMismatch` behavior. refs #14716.Yves Senn2014-10-161-2/+2
* docs, since #16702 we detect mutation on serialized attributes. [ci skip]Yves Senn2014-10-161-3/+0
* Allow YAML serialization when using TZ aware attributesSean Griffin2014-09-171-0/+2
* 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