Hassan Schroeder wrote in post #964841:
> 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

OK. My apologies. I didn't know where to look, but I've found it now, 
and as you say, it does have an example for MySQL.

Thank you for your patience.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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.

Reply via email to