aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/transactions.rb
Commit message (Expand)AuthorAgeFilesLines
* Add `after_save_commit` callback as shortcut for `after_commit :hook, on: [ :...David Heinemeier Hansson2019-04-021-0/+6
* Remove ensure from with_transaction_returning_statusEugene Kenny2018-11-111-4/+0
* Fix `save` in `after_create_commit` won't invoke extra `after_create_commit`Ryuta Kamizono2018-06-041-10/+16
* `record.destroy` on new record won't invoke after create commit callbacksRyuta Kamizono2018-06-031-1/+1
* Rollback correctly restore initial record id after double saveRyuta Kamizono2018-05-191-1/+1
* Finalize transaction record state after real transactionEugene Kenny2018-05-191-1/+2
* Merge pull request #32878 from eugeneius/rm_rollback_active_record_stateRyuta Kamizono2018-05-131-14/+1
|\
| * Remove ActiveRecord::Transactions#rollback_active_record_state!Eugene Kenny2018-05-131-14/+1
* | Don't clear transaction state after manual rollbackEugene Kenny2018-05-101-7/+1
|/
* Fix logic on disabling commit callbacksBrian Durand2018-05-041-1/+1
* Remove deprecated `:if` and `:unless` string filter for callbacksRafael Mendonça França2017-10-231-1/+1
* Update links to use https instead of http [ci skip]Yoshiyuki Hirano2017-08-221-1/+1
* Add spaceJon Moss2017-08-161-1/+1
* Fix RDoc formatting: `+` doesn't work with `@`ohbarye2017-08-111-1/+1
* Merge pull request #29724 from eugeneius/sync_primary_keyMatthew Draper2017-08-021-2/+2
|\
| * Sync transaction state when accessing primary keyEugene Kenny2017-07-091-2/+2
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|/
* Apply record state based on parent transaction stateeileencodes2017-07-011-1/+1
* 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
* [PostgreSQL]: Replace deprecated PG constants.Lars Kanis2017-03-221-1/+1
* Prioritize checking `:on` actions before `:if` for transaction callbacksErol Fornoles2017-02-211-1/+1
* Remove deprecated behavior that halts callbacks when the return is falseRafael Mendonça França2017-02-071-1/+0
* Remove deprecated `#raise_in_transactional_callbacks` configurationRafael Mendonça França2016-12-291-10/+0
* Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-241-9/+7
* No need to nodoc private methodsAkira Matsuda2016-12-241-2/+2
* Emulate db trigger behaviour for after_commit :destroy, :updateStefan Budeanu2016-12-091-2/+3
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-23/+23
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-70/+70
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-2/+2
* [ci skip] Clarify DDL term in ActiveRecord::TransactionsAlex Kitchens2016-06-271-4/+4
* Fix the API documentation layout of after_*_commitGenadi Samokovarov2016-01-201-3/+3
* Introduce after_{create,update,delete}_commit callbacksGenadi Samokovarov2015-12-061-3/+23
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-29/+30
* Fix the AS::Callbacks terminator regression from 4.2.3Roque Pinel2015-09-221-0/+1
* Updated MySQL documentation link to MySQL latest version 5.7 everywhere [ci s...amitkumarsuroliya2015-09-101-1/+1
* Fix state being carried over from previous transactionRoque Pinel2015-07-201-0/+4
* fix doc about ActiveRecord::Transactions::ClassMethods#transaction [ci skip]Mehmet Emin İNAÇ2015-07-201-2/+1
* Revert "Revert "Reduce allocations when running AR callbacks.""Guo Xiang Tan2015-07-161-6/+6
* [ci skip] Upcase `SAVEPOINT`yui-knk2015-05-121-1/+1
* [ci skip] Fix comment indentyui-knk2015-05-121-1/+1
* Revert "Reduce allocations when running AR callbacks."Guo Xiang Tan2015-03-221-6/+6
* ‘test_after_commit’ gem is not required in Rails 5 remove note from docGaurav Sharam2015-03-101-5/+3
* Fix transaction state for unsynced records when entering transactionbrainopia2015-03-041-0/+1
* Fix rollback of frozen recordsbrainopia2015-03-041-1/+2
* Revert "mutate the transaction object to reflect state"Aaron Patterson2015-03-021-7/+7
* ask the txn for it's state, not a state objectAaron Patterson2015-03-021-7/+7
* Make private methods privateArthur Neves2015-03-021-0/+2
* Remove !has_transactional_callbacks? checkArthur Neves2015-03-021-1/+1
* remove useless instance variableAaron Patterson2015-03-021-9/+4