aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/dirty_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert "No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29f"Rafael Mendonça França2019-08-021-1/+1
* No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29fAkira Matsuda2019-08-021-1/+1
* Enable `Performance/UnfreezeString` copyuuji.yaginuma2018-09-231-1/+1
* Turn on performance based copsDillon Welch2018-07-231-15/+1
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-1/+1
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-20/+20
* More exercise `ActiveModel::Dirty` testsRyuta Kamizono2018-01-201-3/+24
* Move Attribute and AttributeSet to ActiveModelLisa Ugray2017-11-091-0/+4
* 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
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-021-0/+1
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Make ActiveModel frozen string literal friendly.Pat Allan2017-06-201-1/+1
|/
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-23/+23
* Add `ActiveModel::Dirty#[attr_name]_previously_changed?` andFernando Tapia Rico2015-04-211-0/+13
* Remove unused "deprecated_reload" methodclaudiob2015-01-111-4/+0
* Remove deprecated `ActiveModel::Dirty#reset_#{attribute}` and `ActiveModel::D...Rafael Mendonça França2015-01-041-17/+0
* 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