Dhussein
Dhussein

Reputation: 29

Connecting to different databases using ruby

any one have any idea how can i use TNS file that are stored in oracle and have many database information to connect through my ruby test ? i want every time to connect to different data source. please help

Upvotes: 0

Views: 55

Answers (1)

MikeZ
MikeZ

Reputation: 495

It's quite easy to connect to multiple databases using rails. All that you need is to create settings files and create appropriate models. More detailed it described there Connecting Rails 3.1 with Multiple Databases

Upvotes: 1

Related Questions