On Mon, Nov 29, 2010 at 10:42 AM, Steve Mills <li...@ruby-forum.com> wrote:
> Clearly what is required is a single parameter which specifies the > database, something like, localhost:<uname>@<pw>/depot_v_development Uh, "clearly"? Actually, "clearly" that's not true -- and which would be quite "clear" if you read the documentation for the method in question: ActiveRecord::Base.establish_connection which, at least in the 2.3.8 version I just glanced at, has examples for both SQLite and MySQL... -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.