From f5d099e30a5b805a17c39f90be6a66d2da0a74bc Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sun, 4 Jan 2015 14:20:13 +0100 Subject: [PATCH] Added suggested advance-deprecation for Rails 5 --- config/environments/development.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 0e89cdb..b39331a 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -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'