Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Connect Another Database
Saurabh Peshkar
4/6/2009 8:42:00 AM
Hi All,
I'm trying to connect another database using rails
I made changes in database.yml file
I succeed in that but with same table name,
I'm having two issues regarding that:
1) How to connect the specific table of another database (suppose table
name is Arthur and it is in database2, I'm working in database1)
2) How to connect database without making changes in database.yml file.
Any feedback appreciated,
Thanks
Saurabh
--
Posted via
http://www.ruby-...
.
1 Answer
Iñaki Baz Castillo
4/6/2009 8:45:00 AM
0
2009/4/6 Saurabh Peshkar <saurabh@cipher-tech.com>:
> Hi All,
>
> I'm trying to connect another database using rails
>
> I made changes in database.yml file
>
> I succeed in that but with same table name,
>
> I'm having two issues regarding that:
>
> 1) How to connect the specific table of another database (suppose table
> name is Arthur and it is in database2, I'm working in database1)
>
> 2) How to connect database without making changes in database.yml file.
Hi, you should ask in a RubyOnRails maillist better than here (a pure
Ruby maillist).
However, Google shows lot of documentation about what you need:
http://www.google.com/search?q=3Drails+two...
--=20
I=C3=B1aki Baz Castillo
<ibc@aliax.net>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Connect Another Database
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password