1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

adding changelog entry for connection urls

This commit is contained in:
Aaron Patterson 2011-07-21 13:09:42 -07:00
parent 1a0b7ea3c9
commit b744c8493b

View file

@ -1,5 +1,10 @@
*Rails 3.2.0 (unreleased)* *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. * 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: So if you were doing this and expecting the second argument to be nil: