aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-07-21 13:09:42 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-07-21 13:09:42 -0700
commitb744c8493bb29bf3e59164ff65ca22ff17611554 (patch)
treea2260cf77023f0743c10f57e3f0b2bc4e997ba86 /activerecord
parent1a0b7ea3c903493dc44b2fd650cd8e7f3b234e46 (diff)
downloadrails-b744c8493bb29bf3e59164ff65ca22ff17611554.tar.gz
rails-b744c8493bb29bf3e59164ff65ca22ff17611554.tar.bz2
rails-b744c8493bb29bf3e59164ff65ca22ff17611554.zip
adding changelog entry for connection urls
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG
index ef202a3573..d24ca2716e 100644
--- a/activerecord/CHANGELOG
+++ b/activerecord/CHANGELOG
@@ -1,5 +1,10 @@
*Rails 3.2.0 (unreleased)*
+* ActiveRecord::Base.establish_connection now takes a string that contains
+a URI that specifies the connection configuration. For example:
+
+ ActiveRecord::Base.establish_connection 'postgres://localhost/foo'
+
* Active Record's dynamic finder will now raise the error if you passing in less number of arguments than what you call in method signature.
So if you were doing this and expecting the second argument to be nil: