spec/dummy/config/application.rb in alchemy-devise-3.2.0 vs spec/dummy/config/application.rb in alchemy-devise-3.3.0

- old
+ new

@@ -5,10 +5,12 @@ require "action_controller/railtie" require "action_mailer/railtie" require "sprockets/railtie" # require "rails/test_unit/railtie" +# Require the gems listed in Gemfile, including any gems +# you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) require "alchemy/devise" module Dummy class Application < Rails::Application @@ -21,8 +23,10 @@ # config.time_zone = 'Central Time (US & Canada)' # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de + + # Do not swallow errors in after_commit/after_rollback callbacks. + config.active_record.raise_in_transactional_callbacks = true end end -