aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Expand)AuthorAgeFilesLines
* fix `attribute` method scoping(i.e. private)Kuldeep Aggarwal2015-01-061-3/+1
* replacing 'attribute' method with an aliasGeorge Millo2015-01-061-3/+2
* remove files which is dependent on ruby1.9 as we do not support Ruby1.9Kuldeep Aggarwal2015-01-042-44/+24
* Remove unneeded requiresRafael Mendonça França2015-01-041-2/+0
* Remove deprecated `serialized_attributes`Rafael Mendonça França2015-01-041-13/+0
* Remove `cache_attributes` and friendsRafael Mendonça França2015-01-041-11/+0
* Don't raise on out-of-range datetimes passed by a userGrey Baker2014-12-231-1/+5
* Don't calculate all in-place changes to determine if attribute_changed?Sean Griffin2014-12-221-0/+4
* `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