Bahadır Doğan wrote:
Sometimes I need to work with more than one databases. When I look at
database.yml file, I see that only one database is specified. Is it
possible to work with more than one databases?
Yes you can. In your database.yml file setup a new entry. E.g.:
In your model use "establish_connection :<database_entry>". E.g.:
class Departments < ActiveRecord::Base