I too am trying to do this.  It seems like something that should be 
easily configurable.  establish_connection :blah
seems to work fine in the model,
however causes problems in the migration used to create that model
ActiveRecord::Base.establish_connection :blah

The migration completes successfully but then an exception is thrown:

rake aborted!
An error has occurred, this and all later migrations canceled:

not connected

Tasks: TOP => db:migrate

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