aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
diff options
context:
space:
mode:
Diffstat (limited to 'railties/environments')
-rw-r--r--railties/environments/environment.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb
index 7e3f3d26a7..81fd793abb 100644
--- a/railties/environments/environment.rb
+++ b/railties/environments/environment.rb
@@ -24,9 +24,10 @@ Rails::Initializer.run do |config|
# (create the session table with 'rake create_sessions_table')
# config.action_controller.session_store = :active_record_store
- # Use Active Record's schema dumper instead of SQL when creating the test database
- # (enables use of different database adapters for development and test environments)
- # config.active_record.schema_format = :ruby
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
+ # like if you have constraints or database-specific column types
+ # config.active_record.schema_format = :sql
# Activate observers that should always be running
# config.active_record.observers = :cacher, :garbage_collector