test/dummy/config/application.rb in dismissible_blocks-0.0.2 vs test/dummy/config/application.rb in dismissible_blocks-1.1.0
- old
+ new
@@ -4,7 +4,10 @@
Bundler.require(*Rails.groups)
require 'dismissible_blocks'
module Dummy
class Unauthorized < StandardError; end
- class Application < Rails::Application; end
+
+ class Application < Rails::Application
+ config.active_record.raise_in_transactional_callbacks = true
+ end
end