aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
authorGrace Liu <graceliu@yahoo.com>2012-08-30 18:50:30 -0700
committerGrace Liu <graceliu@yahoo.com>2012-09-11 20:40:13 -0700
commit148c50b49a3db5e7516e8c465de4f68056912562 (patch)
tree3124b49a1320243152213d0bbb785e0e9088acfb /railties/CHANGELOG.md
parent34b23e7110a3a13cf157608cefc9b5701017bf39 (diff)
downloadrails-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.md2
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*