aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/persistence_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Assert deprecationlulalala2019-03-311-2/+2
* Restore an ability that class level `update` without giving idsRyuta Kamizono2019-01-021-0/+14
* Use `assert_no_queries` not to ignore BEGIN/COMMIT queriesRyuta Kamizono2018-10-051-7/+5
* `Persistence#increment!` requires an attribute argument which is incrementedRyuta Kamizono2018-09-241-0/+5
* Extract `{update,delete}_all_test.rb` from `persistence_test.rb` and `relatio...Ryuta Kamizono2018-09-161-155/+12
* Fix `touch` option to behave consistently with `Persistence#touch` methodRyuta Kamizono2018-06-181-10/+42
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-2/+2
* `becomes` should clear the mutation tracker which is created in `after_initia...Ryuta Kamizono2018-05-111-0/+11
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-1/+1
* Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-171-39/+16
* Invoke `load_schema` in `_default_attributes`Ryuta Kamizono2018-02-061-0/+7
* Remove extra whitespaceDaniel Colson2018-01-251-1/+1
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-1/+1
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-33/+33
* Ignores a default subclass when `becomes(Parent)`Leonel Galan2018-01-221-0/+16
* Don't allow destroyed object mutation after `save` or `save!` is calledRyuta Kamizono2018-01-151-2/+24
* save attributes changed by callbacks after update_attributeMike Busch2017-12-221-0/+3
* Using subselect for `delete_all` with `limit` or `offset`Ryuta Kamizono2017-12-191-0/+20
* Using subselect generated by the connection adapter for `update_all` with `of...Ryuta Kamizono2017-12-191-7/+16
* Add failing testChris Salzberg2017-12-171-3/+8
* Modify test to correctly pass attributes hashChris Salzberg2017-12-151-4/+7
* Remove unnecessary scopingRyuta Kamizono2017-12-011-1/+1
* Class level `update` and `destroy` checks all the records exist before making...Ryuta Kamizono2017-12-011-4/+37
* Maintain raising `RecordNotFound` for class level `update` and` destroy`Ryuta Kamizono2017-12-011-2/+12
* Ensure `apply_join_dependency` for `update_all` and `delete_all` if eager-loa...Ryuta Kamizono2017-11-061-19/+30
* Ensure returning affected objects for class level `update` and `destroy`Ryuta Kamizono2017-09-181-10/+10
* Add test cases that class level `destroy`, `delete`, and `update` are affecte...Ryuta Kamizono2017-08-181-3/+33
* Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-011-0/+9
|\
| * Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
| * `Persistence#delete` should not be affected by scopingRyuta Kamizono2017-07-181-0/+7
| * 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
* | Use existing class in PersistenceTest::SaveTestAlex Kitchens2017-06-011-21/+7
|/
* Replace \Z to \zRyuta Kamizono2017-04-241-1/+1
* Add the touch option to ActiveRecord#increment! and decrement!akihiro172017-01-141-0/+16
* fixing update_all and delete_all when chained with left_joins. fixes #27192Diego Plentz2016-11-271-0/+22
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Return true if attribute is not changed for update_attributePrathamesh Sonpatki2016-09-231-3/+3
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* Fix broken alignments caused by auto-correct commit 411ccbdRyuta Kamizono2016-08-101-1/+2
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-10/+8
* modernizes hash syntax in activerecordXavier Noria2016-08-061-9/+9
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-95/+95
* Typos in AR testsAkira Matsuda2016-02-031-1/+1
* `ActiveRecord::Base#becomes` should copy the errorsVokhmin Alexey V2015-12-141-1/+20
* Fix test failuresSean Griffin2015-11-071-0/+1
* Ensure `#reset_column_information` clears child classes as wellSean Griffin2015-11-071-0/+12
* Deprecate exception#original_exception in favor of exception#causeYuki Nishijima2015-11-031-1/+2
* Make #increment! and #decrement! methods concurency safeBogdan Gusiev2015-10-051-0/+9
* Deprecate passing conditions to AR::Relation destroy_all and delete_all methodsWojciech Wnętrzak2015-09-061-1/+1