Adam C. Greenfield on 20 Feb 2006 06:40:51 -0000 |
On 2/19/06, Cassius Rosenthal <cassius@xmodulation.com> wrote: > Taken out of context, my question doesn't sound so complicated. The > question revolves around how to initialize ActiveRecord, not the > connection. From my previous post: > > I tried leaving 'database.yml' blank and I tried disabling > > ActiveRecord's initialization. Both cause runtime errors in the app, > > as it tries to cache relationships I guess. > Yes; I would like to establish a new connection using > "ActiveRecord::Base#establish_connection." I can't, because the entire > stack dies first, because ActiveRecord is trying to connect to > 'config/database.yml.' Do you have a trace from when it dies that I can take a peek at? _______________________________________________ talk mailing list talk@phillyonrails.org http://lists.phillyonrails.org/mailman/listinfo/talk
|
|