From 56995a8dec2066be240b51c78c88cb9e9ae3dcef Mon Sep 17 00:00:00 2001 From: Andrew Radev Date: Mon, 25 May 2015 11:40:58 +0300 Subject: [PATCH] Raise errors in after_ callbacks --- config/environments/development.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index d7925aa..451018e 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -41,4 +41,7 @@ Rails.application.configure do # Raises error for missing translations # config.action_view.raise_on_missing_translations = true + + # Compatibility with a future rails version + config.active_record.raise_in_transactional_callbacks = true end