Adam C. Greenfield on 20 Feb 2006 01:53:15 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] Initialize ActiveRecord w/o a database.

On 2/19/06, Cassius Rosenthal <> wrote:
> The question: Does anybody have an idea of how to initialize
> ActiveRecord on-the-fly, without using the config/database.yml' convention?

Your looking for ActiveRecord::Base#establish_connection I suspect:
talk mailing list