rsim/oracle-enhanced — Issue #129: Rails 3 - Can't persist records to second (MySQL) database 
Author: karledurante
Created: 2011-11-29 19:21:51+00:00
State: open

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