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…
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
Does anybody know what my problem may be?