On Mon, Nov 29, 2010 at 10:42 AM, Steve Mills <[email protected]> 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 ------------------------ [email protected]
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to