aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/dirty_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Address `DEPRECATED: Use assert_nil if expecting nil`Yasuo Honda2019-08-031-2/+2
* Add *_previously_was attribute methods when dirty tracking (#36836)David Heinemeier Hansson2019-08-011-0/+6
* Ensure `update_all` series cares about optimistic lockingRyuta Kamizono2019-02-251-1/+1
* Use `assert_no_queries` not to ignore BEGIN/COMMIT queriesRyuta Kamizono2018-10-051-2/+2
* Remove redundant `travel_back`yuuji.yaginuma2018-08-311-2/+0
* Mutation tracker should be cleared before continuing around callbacksYuya Tanaka2018-08-281-0/+20
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-11/+11
* Prevent changes_to_save from mutating attributesEugene Kenny2018-04-081-0/+8
* Use `with_partial_writes` helper in `activerecord/test/cases/dirty_test.rb`bogdanvlviv2018-02-281-5/+1
* Ensure we don't write virtual attributes on update, tooSean Griffin2018-02-261-1/+4
* Never attempt to write virtual attributes to the databaseSean Griffin2018-02-261-0/+19
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-80/+80
* Change refute to assert_notDaniel Colson2018-01-251-7/+7
* Merge pull request #29018 from willbryant/missing_attributes_after_saveRyuta Kamizono2018-01-031-0/+7
|\
| * fix the dirty tracking code's save hook overwriting missing attributes with i...Will Bryant2017-05-101-0/+7
* | Fix random CI failure DirtyTest:bogdanvlviv2017-08-091-4/+3
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* | Fix typo s/rause/raise/Ryuta Kamizono2017-07-191-1/+1
* | Remove deprecated code concerning non-attributes and `*_will_change!`Sean Griffin2017-07-181-5/+3
* | Remove deprecated code concerning dirty methods in after callbacksSean Griffin2017-07-181-4/+3
* | 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
* | Merge pull request #26634 from kamipo/extract_numeric_dataRafael França2017-05-311-4/+1
|\ \ | |/ |/|
| * Extract `NumericData` model for testsRyuta Kamizono2016-09-271-4/+1
* | Move around AR::Dirty and fix _attribute methodAaron Patterson2017-04-141-0/+22
* | Fix inconsistency with changed attributes when overriding AR attribute readerbogdanvlviv2017-04-121-0/+19
* | Remove ability update locking_column valuebogdanvlviv2017-03-161-1/+2
* | Deprecate `supports_migrations?` on connection adaptersRyuta Kamizono2017-02-271-12/+10
* | Fix schema leakage from dirty_test.rbAndrew White2017-02-211-0/+1
* | Deprecate calling `attr_will_change!` with non-attributesSean Griffin2017-02-111-0/+8
* | Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-0/+83
* | Added ability update locking_column valuebogdanvlviv2016-10-211-1/+1
|/
* improve error message when include assertions failMichael Grosser2016-09-161-3/+3
* Add three new rubocop rulesRafael Mendonça França2016-08-161-5/+5
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-2/+0
* modernizes hash syntax in activerecordXavier Noria2016-08-061-21/+21
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-96/+96
* systematic revision of =~ usage in ARXavier Noria2016-07-231-1/+1
* Remove dead code from testsSean Griffin2016-06-091-17/+0
* Ensure that records with unselected fields can be updatedSean Griffin2016-06-021-0/+11
* prevent 'attribute_changed?' from returning nilSen-Zhang2016-04-111-2/+2
* Don't assert fractional seconds can be applied on unsupported adaptersSean Griffin2015-09-241-0/+1
* Remove debug statementsSean Griffin2015-09-241-4/+1
* Add a few debug statements to figure out the build failureSean Griffin2015-09-241-0/+3
* Don't rely on subsecond precision being applied in testsSean Griffin2015-09-231-2/+16
* Don't crash when mutating attributes in a getterSean Griffin2015-06-121-0/+16
* Persist user provided default values, even if unchangedSean Griffin2015-05-281-26/+0
* Rm `Type#type_cast`Sean Griffin2015-02-171-1/+1
* `type_cast_for_database` -> `serialize`Sean Griffin2015-02-171-2/+2
* Allow a symbol to be passed to `attribute`, in place of a type objectSean Griffin2015-02-061-1/+1