rsim / oracle-enhanced

Oracle enhaced adapter for ActiveRecord
MIT License
549 stars 310 forks source link

Rails 3 - Can't persist records to second (MySQL) database #129

Closed karledurante closed 12 years ago

karledurante commented 12 years ago

When using the oralce_enhanced_adapter version 1.4.0, if you create a model that connects to a second database (MySQL), you are unable to create or update records. It seems you can find existing records in tables, but you are not able to ever persist data.

Steps to reproduce:

1) Create a new rails project: rails new foo 2) Update your Gemfile as such: https://gist.github.com/1406026 3) Update your database.yml to point to oracle by default, then add another connection to MySQL: https://gist.github.com/1406039 4) Create a model in your application that points to the MySQL database: https://gist.github.com/1406043 5) Fire up rails console and try to create or update a row in that table. You will see something like this: https://gist.github.com/1406055

ebeigarts commented 12 years ago

This seems like a duplicate of #85. Please, use master from github until 1.4.1 gets released.

karledurante commented 12 years ago

You're right. Sorry, I looked through the open issues but not the closed ones. Thanks!

karledurante commented 12 years ago

Also, any idea when 1.4.1 will be released?