aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/transactions_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix dirty tracking after rollback.Ryuta Kamizono2019-04-161-0/+59
* Don't expose `add_to_transaction`Ryuta Kamizono2019-04-141-1/+1
* Lazy sync with transaction state on destroyRyuta Kamizono2019-04-101-6/+8
* Add assertions for lazy sync transaction stateRyuta Kamizono2019-04-101-36/+49
* Remove deprecated `#set_state` from the transaction objectRafael Mendonça França2019-01-171-11/+0
* No need to handle if FrozenError is availableYasuo Honda2018-12-231-1/+1
* Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-251-5/+5
* Omit BEGIN/COMMIT statements for empty transactionsEugene Kenny2018-08-131-1/+71
* Enable `Layout/EmptyLinesAroundBlockBody` to reduce review cost in the futureRyuta Kamizono2018-07-121-1/+0
* Rollback correctly restore initial record id after double saveRyuta Kamizono2018-05-191-0/+1
* Finalize transaction record state after real transactionEugene Kenny2018-05-191-0/+29
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-18/+18
* Don't clear transaction state after manual rollbackEugene Kenny2018-05-101-0/+12
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-4/+4
* Autocorrect `refute` RuboCop violationsDaniel Colson2018-04-031-7/+7
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-28/+28
* Handle `FrozenError` if it is availableYasuo Honda2017-12-201-1/+1
* Run `ConcurrentTransactionTest` if `supports_transaction_isolation?`Yasuo Honda2017-11-081-15/+13
* `Mysql2Adapter` should pass `ConcurrentTransactionTest`Ryuta Kamizono2017-11-091-1/+1
* Merge pull request #29724 from eugeneius/sync_primary_keyMatthew Draper2017-08-021-3/+49
|\
| * Sync transaction state when accessing primary keyEugene Kenny2017-07-091-3/+49
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|/
* :warning: "Use assert_nil if expecting nil. This will fail in Minitest 6."Akira Matsuda2017-07-021-1/+1
* Apply record state based on parent transaction stateeileencodes2017-07-011-0/+70
* Deprecate and replace `set_state` methodeileencodes2017-07-011-0/+38
* 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
* Add test cases for #28274Ryuta Kamizono2017-06-151-0/+46
* Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-1/+1
* Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-1/+1
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-1/+1
* Remove deprecated behavior that halts callbacks when the return is falseRafael Mendonça França2017-02-071-10/+0
* :warning: "Use assert_nil if expecting nil. This will fail in MT6."Akira Matsuda2017-01-181-1/+5
* Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-1/+1
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-5/+5
* improve error message when include assertions failMichael Grosser2016-09-161-2/+2
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-3/+4
* Add three new rubocop rulesRafael Mendonça França2016-08-161-2/+2
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-8/+8
* modernizes hash syntax in activerecordXavier Noria2016-08-061-19/+19
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-44/+44
* Allow add_to_transaction with null transactionEmanuel Evans2015-12-281-0/+5
* Removed mocha from Active Record Part 2Ronak Jangir2015-09-161-6/+10
* Fix state being carried over from previous transactionRoque Pinel2015-07-201-0/+7
* Silence deprecation warning from force reloadPrem Sichanugrist2015-07-161-2/+2
* Closes rails/rails#18864: Renaming transactional fixtures to transactional testsBrandon Weiss2015-03-161-2/+2
* Fix transaction state for unsynced records when entering transactionbrainopia2015-03-041-0/+9
* Fix rollback of frozen recordsbrainopia2015-03-041-0/+9
* prefer `drop_table if_exists: true` over raw SQL.Yves Senn2015-02-181-1/+1