aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/dirty.rb
Commit message (Expand)AuthorAgeFilesLines
* Don't call changes in `changes_applied` unless requiredSean Griffin2018-03-061-1/+3
* Revert "PERF: Recover `changes_applied` performance (#31698)"Sean Griffin2018-03-061-39/+67
* PERF: Recover `changes_applied` performance (#31698)Ryuta Kamizono2018-01-221-67/+39
* Fix "warning: instance variable @attributes not initialized"yuuji.yaginuma2017-11-101-2/+2
* Move Attribute and AttributeSet to ActiveModelLisa Ugray2017-11-091-56/+121
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Move around AR::Dirty and fix _attribute methodAaron Patterson2017-04-141-8/+4
* Fix inconsistency with changed attributes when overriding AR attribute readerbogdanvlviv2017-04-121-4/+8
* Update ActiveModel::Dirty Doc [ci skip]Louis-Michel Couture2016-09-161-8/+8
* Update ActiveModel::Dirty Doc [ci skip]Louis-Michel Couture2016-09-151-1/+1
* applies new string literal convention in activemodel/libXavier Noria2016-08-061-5/+5
* Fixed bug introduced in #24519. Makes build green againBogdan Gusiev2016-04-131-1/+1
* Use keyword arguments to cleanup without droping performanceBogdan Gusiev2016-04-131-8/+8
* prevent 'attribute_changed?' from returning nilSen-Zhang2016-04-111-1/+1
* set default parameter to nil to speed up attribute_changed?Lihan Li2016-04-111-3/+5
* Merge pull request #22333 from harrykiselev/patch-3Yves Senn2015-11-211-1/+5
|\
| * Update dirty.rb: documentation fix.Harry V. Kiselev2015-11-191-1/+5
|/
* Improve the performance of `save` and friendsSean Griffin2015-09-241-2/+2
* minor rdoc syntax fix [ci skip]Gourav Tiwari2015-05-081-2/+2
* Add `ActiveModel::Dirty#[attr_name]_previously_changed?` andFernando Tapia Rico2015-04-211-2/+21
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-02-141-8/+9
|\
| * AM#Dirty doc fixesVipul A M2015-02-011-8/+9
* | revises AM:Dirty example [Godfrey Chan & Xavier Noria]Xavier Noria2015-02-061-6/+2
* | use parentheses here, for the beard of the Prophet! [ci skip]Xavier Noria2015-02-061-1/+1
* | applies guidelines to dirty.rb [ci skip]Xavier Noria2015-02-061-11/+11
* | Wrap method arguments with parentheses in docsCarlos Antonio da Silva2015-02-031-1/+1
* | Person class doesn't contain finder methods, hence usage of Person.find_by is...Vipul A M2015-02-031-1/+5
* | Don't calculate in-place changes on attribute assignmentSean Griffin2015-01-181-0/+1
|/
* Remove unneeded requiresRafael Mendonça França2015-01-041-1/+0
* Remove deprecated `ActiveModel::Dirty#reset_#{attribute}` and `ActiveModel::D...Rafael Mendonça França2015-01-041-20/+0
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-01-031-1/+1
|\
| * Use Active Model, not ActiveModel in plain Englishclaudiob2015-01-021-1/+1
* | Don't calculate all in-place changes to determine if attribute_changed?Sean Griffin2014-12-221-1/+5
|/
* add brackets around attribute_name_tiii2014-12-081-1/+1
* [Enh] Changed the visibility of the ActiveModel::Dirty#clear_attribute_change...Daniele Di Bernardo2014-11-061-1/+1
* edit pass over all warningsXavier Noria2014-10-281-2/+10
* Don't expose these new APIs yet (added in 877ea78 / #16189)Godfrey Chan2014-08-161-14/+15
* Implement `_was` and `changes` for in-place mutations of AR attributesSean Griffin2014-08-161-3/+16
* Make restore_attributes publicRafael Mendonça França2014-07-171-5/+5
* Deprecate `reset_#{attribute}` in favor of `restore_#{attribute}`.Rafael Mendonça França2014-07-151-4/+12
* Deprecate ActiveModel::Dirty#reset_changes in favor of #clear_changes_informa...Rafael Mendonça França2014-07-151-4/+12
* Rename rollback_changes to undo_changesRafael Mendonça França2014-06-301-3/+3
* Add CHANGELOG entry for #14861 and document private methods on the APIRafael Mendonça França2014-06-301-5/+5
* Merge pull request #14861 from igor04/dirty-rollbackRafael Mendonça França2014-06-301-0/+17
|\
| * Added rollback method to ActiveModel::Dirtyigor042014-06-231-0/+17
* | We are talking about the libraries, not the constantsSean Griffin2014-06-271-3/+3
* | Note that `_will_change!` is no longer needed for AR instancesSean Griffin2014-06-271-3/+5
|/
* Forgot to push this change in the parent commitRafael Mendonça França2014-01-201-1/+1