Skip to content

Commit

Permalink
adding changelog entry for connection urls
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jul 21, 2011
1 parent 1a0b7ea commit b744c84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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:
Expand Down

1 comment on commit b744c84

@will
Copy link

@will will commented on b744c84 Jul 22, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rock on

Please sign in to comment.