aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/dirty.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* When applying changes or reseting changes create the right classRafael Mendonça França2014-01-201-3/+3
* Allows you to check if an attribute has changed to a particular valueTejas Dinkar2013-12-151-2/+6
* Added :nodoc: for `attribute_changed?` and `attribute_was` [ci skip]Godfrey Chan2013-12-121-2/+2
* Merge pull request #8791 from griffinmyers/masterRafael Mendonça França2013-10-031-1/+1
|\
| * DirtyModel uses a hash to keep track of any changes made to attributesWilliam Myers2013-05-271-1/+1
* | Fix the documentation method.Rafael Mendonça França2013-09-231-1/+1
* | Document reset_changes since it is part of public APIRafael Mendonça França2013-09-231-0/+12
* | Merge pull request #10816 from bogdan/less-dirty-dirtyRafael Mendonça França2013-09-231-10/+16
* | expose a few attribute changed methodsAaron Patterson2013-06-111-10/+10
* | Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-1/+1
* | Prefer find_by over dynamic finders in rdocSam Ruby2013-04-021-1/+1
* | Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-181-1/+1
* | User Rails 4 find_byrobertomiranda2013-01-181-1/+1
|/
* Namespace HashWithIndifferentAccessAkira Matsuda2013-01-071-1/+1
* Reset attributes should not report changes.Renato Mascarenhas2012-12-011-1/+4
* cleanup, removed dispensable `require` statements from `ActiveModel`Yves Senn2012-11-251-1/+0
* minor edits in AM documentation [ci skip]Francesco Rodriguez2012-10-211-1/+1
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
* update ActiveModel::Errors documentation and minor fixes [ci skip]Francesco Rodriguez2012-06-221-3/+3
* update ActiveModel::Dirty documentationFrancesco Rodriguez2012-05-311-24/+35
* updating define_attribute_methods documentationFrancesco Rodriguez2012-05-141-1/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-011-0/+1
|\
| * Add line which gives a little bit more information how *_will_change! works.Edward Tsech2012-05-011-0/+1
* | Return earlier if attribute already changed in *_will_change! methodsCarlos Antonio da Silva2012-04-271-1/+3
|/
* Changing active model dirty module helper method to more appropriate method w...Prasath Venkatraman2012-02-061-1/+2
* use any? instead of !empty?Oscar Del Ben2011-11-141-1/+1
* Fix typo in ActiveModel::Dirty comment. define_attribute_methods is a class m...Josh Nesbitt2011-09-021-1/+1
* Documentation fix: adding missing equal sign in code sample for ActiveModel::...Sebastian Gassner2011-07-201-1/+1
* changing an attribute multiple times retains the correct original valueIan Stewart2011-06-281-1/+1