Read database.yml from a migration

ActiveRecord::Base.configurations also already has what you seek loaded.

- Gabriel

Gabriel Gironda wrote: > ActiveRecord::Base.configurations also already has what you seek loaded.

> - Gabriel

Thanks for the tip - can you post an example for this?

I can't seem to find any documentation after googling....

console is your best friend in such cases just give it ActiveRecord::Base.configurations