test/standalone/config/environments/development.rb in rails_db-1.6.0 vs test/standalone/config/environments/development.rb in rails_db-2.0.0
- old
+ new
@@ -17,9 +17,19 @@
config.action_mailer.raise_delivery_errors = false
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log
+ begin
+ config.serve_static_files = true
+ rescue NoMethodError
+ end
+
+ begin
+ config.public_file_server.enabled = true
+ rescue NoMethodError
+ end
+
# Raise an error on page load if there are pending migrations.
# config.active_record.migration_error = false
# Debug mode disables concatenation and preprocessing of assets.
# This option may cause significant delays in view rendering with a large