1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
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/connection_adapters Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
assets
cases Fix logic on disabling commit callbacks 2018-05-04 10:21:17 -07:00
fixtures Can preload associations through polymorphic associations 2018-04-20 17:28:25 -04:00
migrations Fix occurrences Fixnum|Bignum 2018-03-04 20:44:30 +02:00
models get_value needs to be a public method 2018-04-25 06:29:03 -04:00
schema Using existing models for building multiple has_one through tests 2018-04-22 04:16:44 +09:00
support Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
config.example.yml
config.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00