Avoid Rails 4.2 deprecation warning

This commit is contained in:
wvengen 2015-11-14 18:13:43 +01:00
parent 6bf693e0ee
commit 496dd34cc3

View file

@ -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