Displaying 1 result from an estimated 1 matches for "oraociei11".
Did you mean:
oraociei10
2008 Feb 22
2
Connecting to Oracle from Rails 2.0.2
....x, copy the oracle
adapters manually from:
C:\ruby\lib\ruby\gems\1.8\gems\activerecord-2.0.2\lib\active_record\connection_adapters\oracle_adapter.rb
to:
C:\ruby\lib\ruby\gems\1.8\gems\activerecord-1.15.6\lib\active_record\connection_adapters
and rename it to oci_adapter.rb
Copy the ora.dll & oraociei11.dll from C:\oracle\instantclient_11_1 to
c:\ruby\bin
Edit your database.yml to read:
development:
adapter: oci
host: <your db host>:<your db port>/<your db sid>
username: <uid>
password: <pwd>
go to http://localhost:3000
expand "About your application...