Hi!
I would like to connect to multiple databases using RoR. I followed the examples in the Rails Recipes book, which worked out fairly well. Even when running in the console command...
"Hr.connection.instance_eval {@config[:database]}
I get the correct db table and RoR makes a connection to the database server. However, whenever I run a query through scaffold (or the console), it always gets redirected to the localhost and not the server.
Does anybody know what my problem may be?
Thanks!