From b744c8493bb29bf3e59164ff65ca22ff17611554 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 21 Jul 2011 13:09:42 -0700 Subject: adding changelog entry for connection urls --- activerecord/CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activerecord') 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: -- cgit v1.2.3