1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Brian Durand a779b1a08b Fix logic on disabling commit callbacks
Commit callbacks are intentionally disabled when errors occur when calling the callback chain in order to reset the internal record state. However, the implicit order of operations on the logic for checking if callbacks are disabled is wrong. The result is that callbacks can be unexpectedly when errors occur in transactions.
2018-05-04 10:21:17 -07:00
..
active_record Fix logic on disabling commit callbacks 2018-05-04 10:21:17 -07:00
arel Remove math module from count 2018-04-25 17:14:07 +01:00
rails/generators Rails 6 requires Ruby 2.3+ 2018-02-17 10:03:37 -08:00
active_record.rb Remove ForeignKeys module which was introduced at #32299 2018-04-02 17:54:26 +09:00
arel.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30