aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/transactions.rb
Commit message (Expand)AuthorAgeFilesLines
* [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
* Move transaction code to transaction moduleArthur Neves2015-03-011-0/+41
* Add before_commitArthur Neves2015-02-241-0/+17
* Add transaction callbacks that wont enroll to the transaction.Arthur Neves2015-02-241-2/+20
* add destroyed records to the currend transactionAaron Patterson2015-02-011-1/+4
* push add to transaction logic down to the instanceAaron Patterson2015-02-011-1/+5
* remove conditional that is always trueAaron Patterson2015-02-011-3/+2
* Use keyword args on committed! and rolledback!Arthur Neves2015-01-091-2/+2
* Merge pull request #18349 from jdelStrother/primarykeylessSean Griffin2015-01-051-1/+1
|\
| * Fix rollback of primarykey-less tablesJonathan del Strother2015-01-051-1/+1
* | Change transaction callbacks to not swallowing errors.Rafael Mendonça França2015-01-041-19/+10
|/
* Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-021-1/+0
* Throw :abort halts default CallbackChainsclaudiob2015-01-021-1/+1
* Merge branch 'brainopia-remember_frozen_state_in_transaction'Sean Griffin2014-12-261-7/+5
|\
| * Propagate frozen state during transaction changesbrainopia2014-12-261-7/+5
|/
* Merge pull request #18102 from arthurnn/nodoc_constantArthur Nogueira Neves2014-12-191-0/+2
* Make error message clearer that :on requires a symbol, not a stringCarol Nichols2014-12-071-1/+1
* Prefix internal method with _Rafael Mendonça França2014-10-251-2/+2
* Make the config actually copyableGodfrey Chan2014-10-141-1/+1
* Reduce allocations when running AR callbacks.Pete Higgins2014-09-281-2/+2
* Avoid using heredoc for user warningsGodfrey Chan2014-08-281-10/+9
* make it easy to copy & paste the config from deprecation warning.Yves Senn2014-08-281-2/+3
* Fix after_commit warning messageArthur Neves2014-08-181-1/+1
* Add option to stop swallowing errors on callbacks.Arthur Neves2014-08-181-4/+22
* Merge pull request #15564 from sgrif/sg-remove-dead-codeRafael Mendonça França2014-06-071-7/+2
|\
| * Remove dead branch when restoring ID within a transactionSean Griffin2014-06-071-7/+2
* | Move conditionals about freezing closer to the definition of `freeze`Sean Griffin2014-06-071-4/+2
|/
* Rename attribute related instance variables to better express intentSean Griffin2014-05-301-4/+4
* fix typo [ci skip]Vijay Dev2014-05-171-1/+1
* Remove unecessary requireArthur Neves2014-05-161-2/+0
* Reuse the force_clear_transaction_record_stateRafael Mendonça França2014-05-161-1/+1
* Missed if :bomb:Rafael Mendonça França2014-05-161-1/+1
* Add a specific method to force the transaction record state clearRafael Mendonça França2014-05-161-5/+8
* Clear transaction state if callback raise rollbackArthur Neves2014-05-151-1/+1
* Small refactoring on clear_transaction_record_stateArthur Neves2014-05-151-3/+5
* Reverts "Fix bugs with changed attributes tracking when transaction gets roll...Arthur Neves2014-05-091-4/+0
* Dup the changed_attributes otherwise we could lose themArthur Neves2014-05-071-1/+1
* Keep track of dirty attrs after after rollback.Arthur Neves2014-05-071-2/+0
* Merge pull request #13166 from bogdan/transaction-magicRafael Mendonça França2014-05-071-0/+6
|\
| * Fix bugs with changed attributes tracking when transaction gets rollbackBogdan Gusiev2013-12-041-0/+6