How to install the Oracle adapter
This has been asked many times on rails-talk mailing list, so I want to summarize:
sudo gem install activerecord-oracle-adapter –source http://gems.rubyonrails.org
(Since ActiveRecord Oracle Adapter is moving to Rubyforge. “–source http://gems.rubyonrails.org” will be omitted )
or check it out from svn:
svn co http://svn.rubyonrails.org/rails/adapters/oracle/lib/active_record/connection_adapters/
And note that the adapter name specified in config/database.yml should be “oracle”, “oci” is deprecated.
Additional Info
Oracle “enhanced” ActiveRecord adapter is a fork of Rails Oracle Adapter, contains useful additional methods for working with new and legacy Oracle databases from Rails.