diff options
author | Grace Liu <graceliu@yahoo.com> | 2012-08-30 18:50:30 -0700 |
---|---|---|
committer | Grace Liu <graceliu@yahoo.com> | 2012-09-11 20:40:13 -0700 |
commit | 148c50b49a3db5e7516e8c465de4f68056912562 (patch) | |
tree | 3124b49a1320243152213d0bbb785e0e9088acfb /railties/CHANGELOG.md | |
parent | 34b23e7110a3a13cf157608cefc9b5701017bf39 (diff) | |
download | rails-148c50b49a3db5e7516e8c465de4f68056912562.tar.gz rails-148c50b49a3db5e7516e8c465de4f68056912562.tar.bz2 rails-148c50b49a3db5e7516e8c465de4f68056912562.zip |
fixed support for DATABASE_URL for rake db tasks
- added tests to confirm establish_connection uses DATABASE_URL and
Rails.env correctly even when no arguments are passed in.
- updated rake db tasks to support DATABASE_URL, and added tests to
confirm correct behavior for these rake tasks. (Removed
establish_connection call from some tasks since in those cases
the :environment task already made sure the function would be called)
- updated Resolver so that when it resolves the database url, it
removes hash values with empty strings from the config spec (e.g.
to support connection to postgresql when no username is specified).
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r-- | railties/CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index e889f0c23c..f4f81f1128 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,5 +1,7 @@ ## Rails 4.0.0 (unreleased) ## +* Fixed support for DATABASE_URL environment variable for rake db tasks. *Grace Liu* + * rails dbconsole now can use SSL for MySQL. The database.yml options sslca, sslcert, sslcapath, sslcipher, and sslkey now affect rails dbconsole. *Jim Kingdon and Lars Petrus* |