diff --git a/config/application.rb b/config/application.rb index c2d2ca87..577e56e9 100644 --- a/config/application.rb +++ b/config/application.rb @@ -34,6 +34,9 @@ module Foodsoft # Enable escaping HTML in JSON. config.active_support.escape_html_entities_in_json = true + # This will be the Rails 5 default + config.active_record.raise_in_transactional_callbacks = true + # Use SQL instead of Active Record's schema dumper when creating the database. # This is necessary if your schema can't be completely dumped by the schema dumper, # like if you have constraints or database-specific column types