aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/transactions.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove SQLite version support caveats [ci skip]Eugene Kenny2019-05-121-2/+2
* Should attempt `committed!`/`rolledback!` to all enrolled records in the tran...Ryuta Kamizono2019-05-071-9/+7
* Should take the record's state of first action in the transactionRyuta Kamizono2019-04-301-8/+9
* Simplify restore state conditionRyuta Kamizono2019-04-241-4/+2
* Lazy allocate `@_start_transaction_state`Ryuta Kamizono2019-04-241-6/+8
* PERF: 20% faster pk attribute accessRyuta Kamizono2019-04-221-3/+2
* Avoid method call if `@transaction_state` is not finalizedRyuta Kamizono2019-04-211-2/+2
* Fix dirty tracking after rollback.Ryuta Kamizono2019-04-161-3/+10
* Don't refer `@transaction_state` directlyRyuta Kamizono2019-04-161-5/+5
* Refactor `sync_with_transaction_state`Ryuta Kamizono2019-04-151-8/+14
* Remove useless `update_attributes_from_transaction_state` and `set_transactio...Ryuta Kamizono2019-04-141-14/+3
* Don't expose `add_to_transaction`Ryuta Kamizono2019-04-141-13/+7
* Don't call after_commit callbacks despite a record isn't savedRyuta Kamizono2019-04-121-1/+11
* 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