Added suggested advance-deprecation for Rails 5

This commit is contained in:
Christoph Haas 2015-01-04 14:20:13 +01:00
parent 247a61c30f
commit f5d099e30a

View file

@ -27,6 +27,10 @@ Debshots::Application.configure do
# number of complex assets.
config.assets.debug = true
# ActiveRecord errors propagate normally (forward deprecation to Rails 5)
config.active_record.raise_in_transactional_callbacks = true
# URL prefix leading to the static images that should get delivered by the web server
config.images_path_prefix = '/screenshots'