aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/transaction_callbacks_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Should attempt `committed!`/`rolledback!` to all enrolled records in the tran...Ryuta Kamizono2019-05-071-5/+51
* Should take the record's state of first action in the transactionRyuta Kamizono2019-04-301-0/+2
* Don't expose `add_to_transaction`Ryuta Kamizono2019-04-141-3/+3
* Don't call after_commit callbacks despite a record isn't savedRyuta Kamizono2019-04-121-0/+26
* Add `after_save_commit` callback as shortcut for `after_commit :hook, on: [ :...David Heinemeier Hansson2019-04-021-0/+12
* Always add records to parent of nested transactionEugene Kenny2018-11-071-0/+11
* Fix `save` in `after_create_commit` won't invoke extra `after_create_commit`Ryuta Kamizono2018-06-041-0/+9
* `record.destroy` on new record won't invoke after create commit callbacksRyuta Kamizono2018-06-031-0/+8
* Fix logic on disabling commit callbacksBrian Durand2018-05-041-0/+20
* Fix that after commit callbacks on update does not triggered when optimistic ...Ryuta Kamizono2018-03-061-0/+22
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-4/+4
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-4/+4
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* 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
* Prioritize checking `:on` actions before `:if` for transaction callbacksErol Fornoles2017-02-211-0/+40
* Emulate db trigger behaviour for after_commit :destroy, :updateStefan Budeanu2016-12-091-0/+45
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-6/+6
* Add three new rubocop rulesRafael Mendonça França2016-08-161-20/+20
* code gardening: removes redundant selfsXavier Noria2016-08-081-1/+1
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* modernizes hash syntax in activerecordXavier Noria2016-08-061-6/+6
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-12/+12
* Fix corrupt transaction state caused by `before_commit` exceptionsJeremy Daer2016-02-011-0/+26
* Introduce after_{create,update,delete}_commit callbacksGenadi Samokovarov2015-12-061-3/+3
* Closes rails/rails#18864: Renaming transactional fixtures to transactional testsBrandon Weiss2015-03-161-1/+1
* Fix before_commit when updating a record on the callbackArthur Neves2015-03-141-0/+22
* Rename testsArthur Neves2015-02-241-4/+4
* Add before_commitArthur Neves2015-02-241-2/+3
* Add transaction callbacks that wont enroll to the transaction.Arthur Neves2015-02-241-0/+59
* TransactionManager should call rollback recordsArthur Neves2015-01-201-1/+1
* after_commit runs after transactions with non-joinable parentsbrainopia2015-01-161-14/+13
* Change transaction callbacks to not swallowing errors.Rafael Mendonça França2015-01-041-41/+0
* Make error message clearer that :on requires a symbol, not a stringCarol Nichols2014-12-071-0/+4
* Add option to stop swallowing errors on callbacks.Arthur Neves2014-08-181-0/+76
* Fix regression on after_commit in nested transactions.Arthur Neves2014-08-151-0/+13
* Make sure transaction state resets after commitArthur Neves2014-02-031-0/+15
* Do not set up a variable used only in two testsCarlos Antonio da Silva2014-01-161-15/+18
* No need for instance vars on single testsCarlos Antonio da Silva2014-01-161-8/+8
* Cleanup duplicated setup of callbacks in transactions testsCarlos Antonio da Silva2014-01-161-48/+19
* No need to use #send with public methodsCarlos Antonio da Silva2014-01-161-10/+10
* Make AR::Base#touch fire the after_commit and after_rollback callbacksHarry Brundage2014-01-161-1/+46
* Don't rewrite AR connection#commit_db_transaction method globallyAkira Matsuda2013-07-291-4/+4
* Revert "Merge pull request #6226 from gnufied/master"Rafael Mendonça França2013-04-101-32/+0
* Deprecate #connection in favour of accessing it via the classBen Moss2013-03-091-4/+4
* multiple actions for :on option with `after_commit` and `after_rollback`Yves Senn2013-02-211-0/+35
* Don't call after_commit when creating through an association and save fails, ...James Miller2013-02-131-0/+27
* validate :on option on after_commit and after_rollback callbacksPascal Friederich2012-12-261-0/+8