diff options
author | Sam Stephenson <sam@37signals.com> | 2005-10-13 04:12:32 +0000 |
---|---|---|
committer | Sam Stephenson <sam@37signals.com> | 2005-10-13 04:12:32 +0000 |
commit | 24c3599cc0f9987d48f2f1c4fe85fc84a6be3d31 (patch) | |
tree | 66730b24a1957dd7cf878fca1c62bc30505769bd /railties/environments | |
parent | 140a5f8f7b7deea713b5c7cbccbc8b57fecb2c7d (diff) | |
download | rails-24c3599cc0f9987d48f2f1c4fe85fc84a6be3d31.tar.gz rails-24c3599cc0f9987d48f2f1c4fe85fc84a6be3d31.tar.bz2 rails-24c3599cc0f9987d48f2f1c4fe85fc84a6be3d31.zip |
Support using different database adapters for development and test with ActiveRecord::Base.schema_format = :ruby
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
-rw-r--r-- | railties/environments/environment.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb index 66a7e74212..576667d72e 100644 --- a/railties/environments/environment.rb +++ b/railties/environments/environment.rb @@ -31,6 +31,10 @@ Rails::Initializer.run do |config| # Make Active Record use UTC-base instead of local time # config.active_record.default_timezone = :utc + + # 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 # See Rails::Configuration for more options end |