aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/application.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb
index fff588f..a860bbf 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -28,6 +28,9 @@ module Glsamaker
# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:password]
+
+ # This will become standard in Rails 5.0
+ config.active_record.raise_in_transactional_callbacks = true
end
end