test/dummy/config/environments/test.rb in kalendae_assets-0.2.1 vs test/dummy/config/environments/test.rb in kalendae_assets-0.4.1
- old
+ new
@@ -28,10 +28,12 @@
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
config.action_mailer.delivery_method = :test
# Raise exception on mass assignment protection for Active Record models
- config.active_record.mass_assignment_sanitizer = :strict
+ config.active_record.mass_assignment_sanitizer = :strict if Rails::VERSION::MAJOR < 4
# Print deprecation notices to the stderr
config.active_support.deprecation = :stderr
+
+ config.eager_load = true
end