aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/dirty_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Make restore_attributes publicRafael Mendonça França2014-07-171-5/+15
* Deprecate `reset_#{attribute}` in favor of `restore_#{attribute}`.Rafael Mendonça França2014-07-151-3/+3
* Deprecate ActiveModel::Dirty#reset_changes in favor of #clear_changes_informa...Rafael Mendonça França2014-07-151-0/+21
* Rename rollback_changes to undo_changesRafael Mendonça França2014-06-301-2/+2
* Added rollback method to ActiveModel::Dirtyigor042014-06-231-0/+18
* add test coverage for activemodel Dirty#reset_changesDmitry Polushkin2014-02-091-0/+19
* Fix typoRafael Mendonça França2014-01-211-1/+1
* When applying changes or reseting changes create the right classRafael Mendonça França2014-01-201-0/+8
* Allows you to check if an attribute has changed to a particular valueTejas Dinkar2013-12-151-0/+10
* Merge pull request #8791 from griffinmyers/masterRafael Mendonça França2013-10-031-1/+16
|\
| * DirtyModel uses a hash to keep track of any changes made to attributesWilliam Myers2013-05-271-1/+16
* | Merge pull request #10816 from bogdan/less-dirty-dirtyRafael Mendonça França2013-09-231-2/+1
* | Cleaning up ActiveModel::Dirty testsAttila Domokos2013-01-151-1/+12
|/
* Reset attributes should not report changes.Renato Mascarenhas2012-12-011-2/+1
* updating define_attribute_methods documentationFrancesco Rodriguez2012-05-141-1/+1
* changing an attribute multiple times retains the correct original valueIan Stewart2011-06-281-0/+9
* Remove or fix non-working examples and add a few tests to Dirty [#5185 state:...Tore Darell2010-08-031-5/+85
* Use better assertion methods for testingNeeraj Singh2010-05-191-2/+2
* Restore changed_attributes method in ActiveModel::Dirty and loosen expectatio...Sam Pohlenz2010-04-011-1/+0
* Fix tests added in previous commit.José Valim2010-03-271-0/+1
* ActiveModel::Dirty#changes should return a HashWithIndifferentAccess [#4157 s...Jacob Atzen2010-03-271-0/+29