Skip to content

Instantly share code, notes, and snippets.

@alcabanillas-engh
Created December 4, 2008 00:11
Show Gist options
  • Save alcabanillas-engh/31769 to your computer and use it in GitHub Desktop.
Save alcabanillas-engh/31769 to your computer and use it in GitHub Desktop.
#Oracle Config Example for the MRI/ActiveRecord
ActiveRecord:: Base.establish_connection(
:adapter => "oracle",
:database => "10.0.1.22/se",
:username => "prep",
:password => "prep"
)
#Oracle config example for JRuby/ActiveRecord-JDBC
ActiveRecord:: Base.establish_connection(
:adapter => "oracle",
:host => "10.0.1.22",
:database => "xe",
:username => "prep",
:password => "prep"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment