<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: ActiveRecord Oracle enhanced adapter</title>
	<atom:link href="http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/</link>
	<description>About Ruby, Oracle, Mac and others</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:18:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: piyush</title>
		<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/#comment-1095</link>
		<dc:creator>piyush</dc:creator>
		<pubDate>Sat, 23 Jan 2010 09:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=27#comment-1095</guid>
		<description>I want to executed a named_scope 

named_scope :order_by_position, :order =&gt; &#039;CASE WHEN position = 1 THEN -1 ELSE name END ASC&#039;

In Log file I am getting:

OCIError: ORA-00932: inconsistent datatypes: expected NUMBER got CHAR: SELECT * FROM groups  ORDER BY CASE WHEN position = 1 THEN -1 ELSE name END ASC)

# Table name: products
#
#  id         :integer(38)     not null, primary key
#  name       :string(255)
#  created_at :datetime
#  updated_at :datetime
#  position   :integer(38)


I am running this with Rails 2.3.3 and activerecord-oracle_enhanced-adapter (1.2.3)


I tried using TO_NUMBER(to_number) but didn&#039;t work. And in general what things cause these errors.

What changes are required here to get it working?

Thanks,

Piyush Y. Patil</description>
		<content:encoded><![CDATA[<p>I want to executed a named_scope </p>
<p>named_scope :order_by_position, :order =&gt; &#8216;CASE WHEN position = 1 THEN -1 ELSE name END ASC&#8217;</p>
<p>In Log file I am getting:</p>
<p>OCIError: ORA-00932: inconsistent datatypes: expected NUMBER got CHAR: SELECT * FROM groups  ORDER BY CASE WHEN position = 1 THEN -1 ELSE name END ASC)</p>
<p># Table name: products<br />
#<br />
#  id         :integer(38)     not null, primary key<br />
#  name       :string(255)<br />
#  created_at :datetime<br />
#  updated_at :datetime<br />
#  position   :integer(38)</p>
<p>I am running this with Rails 2.3.3 and activerecord-oracle_enhanced-adapter (1.2.3)</p>
<p>I tried using TO_NUMBER(to_number) but didn&#8217;t work. And in general what things cause these errors.</p>
<p>What changes are required here to get it working?</p>
<p>Thanks,</p>
<p>Piyush Y. Patil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/#comment-1090</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Mon, 18 Jan 2010 17:40:54 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=27#comment-1090</guid>
		<description>Please post your issue at discussion group http://groups.google.com/group/oracle-enhanced - it will be more appropriate to use it as then also other oracle_enhanced users can help. And please include also your model class definition and also show exactly what find method call is causing this error.</description>
		<content:encoded><![CDATA[<p>Please post your issue at discussion group <a href="http://groups.google.com/group/oracle-enhanced" rel="nofollow">http://groups.google.com/group/oracle-enhanced</a> &#8211; it will be more appropriate to use it as then also other oracle_enhanced users can help. And please include also your model class definition and also show exactly what find method call is causing this error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/#comment-1089</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Mon, 18 Jan 2010 13:39:55 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=27#comment-1089</guid>
		<description>Hi All,

I seem to be having a problem with the ActiveRecord find parameter.

I get the following error back:

  NoMethodError: undefined method `empty?&#039; for 20:Fixnum
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1624:in `instantiate&#039;
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:661:in `find_by_sql&#039;
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:661:in `collect!&#039;
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:661:in `find_by_sql&#039;
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1548:in `find_every&#039;
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1505:in `find_initial&#039;
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:613:in `find&#039;
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:623:in `first&#039;
	from (irb):1

Any pointers?

The table I am trying to connect to is:

  create_table &quot;reporter_status&quot;, :id =&gt; false, :force =&gt; true do &#124;t&#124;
    t.string   &quot;identifier&quot;
    t.integer  &quot;serial&quot;,             :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0
    t.string   &quot;node&quot;,               :limit =&gt; 64
    t.string   &quot;nodealias&quot;,          :limit =&gt; 64
    t.string   &quot;manager&quot;,            :limit =&gt; 64
    t.string   &quot;agent&quot;,              :limit =&gt; 64
    t.string   &quot;alertgroup&quot;,         :limit =&gt; 64
    t.string   &quot;alertkey&quot;,           :limit =&gt; 64
    t.string   &quot;summary&quot;
    t.string   &quot;location&quot;,           :limit =&gt; 64
    t.integer  &quot;class&quot;,              :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0
    t.integer  &quot;poll&quot;,               :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0
    t.integer  &quot;type&quot;,               :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0
    t.integer  &quot;tally&quot;,              :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0
    t.boolean  &quot;severity&quot;,                         :precision =&gt; 1,  :scale =&gt; 0
    t.integer  &quot;owneruid&quot;,           :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0
    t.integer  &quot;ownergid&quot;,           :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0
    t.integer  &quot;acknowledged&quot;,       :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0
    t.datetime &quot;lastmodified&quot;
    t.datetime &quot;firstoccurrence&quot;
    t.datetime &quot;lastoccurrence&quot;
    t.datetime &quot;deletedat&quot;
    t.boolean  &quot;originalseverity&quot;,                 :precision =&gt; 1,  :scale =&gt; 0
    t.string   &quot;ipaddress&quot;,          :limit =&gt; 64
    t.string   &quot;customername&quot;,       :limit =&gt; 64
    t.integer  &quot;devicecategory&quot;,     :limit =&gt; 8,  :precision =&gt; 8,  :scale =&gt; 0
    t.string   &quot;position&quot;,           :limit =&gt; 64
    t.string   &quot;tag&quot;,                :limit =&gt; 64
    t.string   &quot;custlocation&quot;,       :limit =&gt; 64
    t.string   &quot;ttno&quot;,               :limit =&gt; 64
    t.integer  &quot;escalation&quot;,         :limit =&gt; 8,  :precision =&gt; 8,  :scale =&gt; 0
    t.datetime &quot;clearedtime&quot;
    t.datetime &quot;acktime&quot;
    t.string   &quot;circuitdetails&quot;,     :limit =&gt; 50
    t.integer  &quot;impactstate&quot;,        :limit =&gt; 4,  :precision =&gt; 4,  :scale =&gt; 0
    t.integer  &quot;notificationid&quot;,     :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0
    t.string   &quot;accountid&quot;,          :limit =&gt; 64
    t.integer  &quot;servicediff&quot;,        :limit =&gt; 4,  :precision =&gt; 4,  :scale =&gt; 0
    t.string   &quot;relationship&quot;,       :limit =&gt; 64
    t.integer  &quot;sourceserverserial&quot;, :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0
    t.string   &quot;servername&quot;,         :limit =&gt; 64,                                :null =&gt; false
    t.integer  &quot;serverserial&quot;,       :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0, :null =&gt; false
    t.decimal  &quot;expiretime&quot;
    t.string   &quot;alerttype&quot;,          :limit =&gt; 64
  end</description>
		<content:encoded><![CDATA[<p>Hi All,</p>
<p>I seem to be having a problem with the ActiveRecord find parameter.</p>
<p>I get the following error back:</p>
<p>  NoMethodError: undefined method `empty?&#8217; for 20:Fixnum<br />
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1624:in `instantiate&#8217;<br />
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:661:in `find_by_sql&#8217;<br />
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:661:in `collect!&#8217;<br />
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:661:in `find_by_sql&#8217;<br />
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1548:in `find_every&#8217;<br />
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:1505:in `find_initial&#8217;<br />
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:613:in `find&#8217;<br />
	from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/base.rb:623:in `first&#8217;<br />
	from (irb):1</p>
<p>Any pointers?</p>
<p>The table I am trying to connect to is:</p>
<p>  create_table &#8220;reporter_status&#8221;, :id =&gt; false, :force =&gt; true do |t|<br />
    t.string   &#8220;identifier&#8221;<br />
    t.integer  &#8220;serial&#8221;,             :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0<br />
    t.string   &#8220;node&#8221;,               :limit =&gt; 64<br />
    t.string   &#8220;nodealias&#8221;,          :limit =&gt; 64<br />
    t.string   &#8220;manager&#8221;,            :limit =&gt; 64<br />
    t.string   &#8220;agent&#8221;,              :limit =&gt; 64<br />
    t.string   &#8220;alertgroup&#8221;,         :limit =&gt; 64<br />
    t.string   &#8220;alertkey&#8221;,           :limit =&gt; 64<br />
    t.string   &#8220;summary&#8221;<br />
    t.string   &#8220;location&#8221;,           :limit =&gt; 64<br />
    t.integer  &#8220;class&#8221;,              :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0<br />
    t.integer  &#8220;poll&#8221;,               :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0<br />
    t.integer  &#8220;type&#8221;,               :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0<br />
    t.integer  &#8220;tally&#8221;,              :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0<br />
    t.boolean  &#8220;severity&#8221;,                         :precision =&gt; 1,  :scale =&gt; 0<br />
    t.integer  &#8220;owneruid&#8221;,           :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0<br />
    t.integer  &#8220;ownergid&#8221;,           :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0<br />
    t.integer  &#8220;acknowledged&#8221;,       :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0<br />
    t.datetime &#8220;lastmodified&#8221;<br />
    t.datetime &#8220;firstoccurrence&#8221;<br />
    t.datetime &#8220;lastoccurrence&#8221;<br />
    t.datetime &#8220;deletedat&#8221;<br />
    t.boolean  &#8220;originalseverity&#8221;,                 :precision =&gt; 1,  :scale =&gt; 0<br />
    t.string   &#8220;ipaddress&#8221;,          :limit =&gt; 64<br />
    t.string   &#8220;customername&#8221;,       :limit =&gt; 64<br />
    t.integer  &#8220;devicecategory&#8221;,     :limit =&gt; 8,  :precision =&gt; 8,  :scale =&gt; 0<br />
    t.string   &#8220;position&#8221;,           :limit =&gt; 64<br />
    t.string   &#8220;tag&#8221;,                :limit =&gt; 64<br />
    t.string   &#8220;custlocation&#8221;,       :limit =&gt; 64<br />
    t.string   &#8220;ttno&#8221;,               :limit =&gt; 64<br />
    t.integer  &#8220;escalation&#8221;,         :limit =&gt; 8,  :precision =&gt; 8,  :scale =&gt; 0<br />
    t.datetime &#8220;clearedtime&#8221;<br />
    t.datetime &#8220;acktime&#8221;<br />
    t.string   &#8220;circuitdetails&#8221;,     :limit =&gt; 50<br />
    t.integer  &#8220;impactstate&#8221;,        :limit =&gt; 4,  :precision =&gt; 4,  :scale =&gt; 0<br />
    t.integer  &#8220;notificationid&#8221;,     :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0<br />
    t.string   &#8220;accountid&#8221;,          :limit =&gt; 64<br />
    t.integer  &#8220;servicediff&#8221;,        :limit =&gt; 4,  :precision =&gt; 4,  :scale =&gt; 0<br />
    t.string   &#8220;relationship&#8221;,       :limit =&gt; 64<br />
    t.integer  &#8220;sourceserverserial&#8221;, :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0<br />
    t.string   &#8220;servername&#8221;,         :limit =&gt; 64,                                :null =&gt; false<br />
    t.integer  &#8220;serverserial&#8221;,       :limit =&gt; 16, :precision =&gt; 16, :scale =&gt; 0, :null =&gt; false<br />
    t.decimal  &#8220;expiretime&#8221;<br />
    t.string   &#8220;alerttype&#8221;,          :limit =&gt; 64<br />
  end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pepe</title>
		<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/#comment-1072</link>
		<dc:creator>Pepe</dc:creator>
		<pubDate>Wed, 30 Dec 2009 22:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=27#comment-1072</guid>
		<description>Thanks Raimonds,

I have been battling weird errors with date/datetime/time while using Oracle&#039;s original adapter. I installed yours and everything worked like a charm.</description>
		<content:encoded><![CDATA[<p>Thanks Raimonds,</p>
<p>I have been battling weird errors with date/datetime/time while using Oracle&#8217;s original adapter. I installed yours and everything worked like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/#comment-399</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 20 Jan 2009 13:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=27#comment-399</guid>
		<description>I had the same error as Erik; it seems that oracle-enhanced depends on &quot;hoe&quot;, but this is not automatically installed. Once I installed it manually, it worked as expected:

gem install hoe</description>
		<content:encoded><![CDATA[<p>I had the same error as Erik; it seems that oracle-enhanced depends on &#8220;hoe&#8221;, but this is not automatically installed. Once I installed it manually, it worked as expected:</p>
<p>gem install hoe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/#comment-385</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Thu, 11 Dec 2008 08:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=27#comment-385</guid>
		<description>@Erik

Please verify that
1. Oracle Instant Client is installed correctly.
Can you connect to database using sqlnet?

2. ruby-oci8 1.0.3 is installed correctly.
Try something like:

ruby -r oci8 -e &quot;OCI8.new(&#039;user&#039;, &#039;password&#039;,&#039;database&#039;).exec(&#039;select * from dual&#039;) do &#124;r&#124; puts r.join(&#039;,&#039;); end&quot;

to verify that ruby-oci8 is working

3. Verify that activerecord-oracle_enhanced-adapter is working from irb:

require &#039;rubygems&#039;
gem &#039;activerecord&#039;
gem &#039;activerecord-oracle_enhanced-adapter&#039;
require &#039;activerecord&#039;
ActiveRecord::Base.establish_connection(:adapter =&gt; &quot;oracle_enhanced&quot;,
:database =&gt; &quot;database&quot;,:username =&gt; &quot;user&quot;,:password =&gt; &quot;password&quot;)

and see if it is successful (use your correct database, username and password)

Btw if you have further issues please use http://groups.google.com/group/oracle-enhanced discussion group - it will be more appropriate than long comments here :)</description>
		<content:encoded><![CDATA[<p>@Erik</p>
<p>Please verify that<br />
1. Oracle Instant Client is installed correctly.<br />
Can you connect to database using sqlnet?</p>
<p>2. ruby-oci8 1.0.3 is installed correctly.<br />
Try something like:</p>
<p>ruby -r oci8 -e &#8220;OCI8.new(&#8216;user&#8217;, &#8216;password&#8217;,'database&#8217;).exec(&#8216;select * from dual&#8217;) do |r| puts r.join(&#8216;,&#8217;); end&#8221;</p>
<p>to verify that ruby-oci8 is working</p>
<p>3. Verify that activerecord-oracle_enhanced-adapter is working from irb:</p>
<p>require &#8216;rubygems&#8217;<br />
gem &#8216;activerecord&#8217;<br />
gem &#8216;activerecord-oracle_enhanced-adapter&#8217;<br />
require &#8216;activerecord&#8217;<br />
ActiveRecord::Base.establish_connection(:adapter =&gt; &#8220;oracle_enhanced&#8221;,<br />
:database =&gt; &#8220;database&#8221;,:username =&gt; &#8220;user&#8221;,:password =&gt; &#8220;password&#8221;)</p>
<p>and see if it is successful (use your correct database, username and password)</p>
<p>Btw if you have further issues please use <a href="http://groups.google.com/group/oracle-enhanced" rel="nofollow">http://groups.google.com/group/oracle-enhanced</a> discussion group &#8211; it will be more appropriate than long comments here :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/#comment-384</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Thu, 11 Dec 2008 00:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=27#comment-384</guid>
		<description>While attempting to generate a scaffold for my app, I&#039;ve run into the following error:

/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:74:in `establish_connection&#039;: Please install the oracle_enhanced adapter: `gem install activerecord-oracle_enhanced-adapter` (Expected /Library/Ruby/Gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.1.8/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb to define ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter) (RuntimeError)

As you can see from my gem list, the oracle_enhanced-adapter is installed. Here is the complete list in case it&#039;s useful.

actionmailer (2.2.2, 2.1.1, 2.1.0, 1.3.6)
actionpack (2.2.2, 2.1.1, 2.1.0, 1.13.6)
actionwebservice (1.2.6)
activerecord (2.2.2, 2.1.1, 2.1.0, 1.15.6)
activerecord-oracle_enhanced-adapter (1.1.8, 1.1.7)
activeresource (2.2.2, 2.1.1, 2.1.0)
activesupport (2.2.2, 2.1.1, 2.1.0, 1.4.4)
acts_as_ferret (0.4.1)
capistrano (2.0.0)
cgi_multipart_eof_fix (2.5.0, 2.2)
daemons (1.0.9, 1.0.7)
dnssd (0.6.0)
fastthread (1.0.1, 1.0)
fcgi (0.8.7)
ferret (0.11.4)
gem_plugin (0.2.3, 0.2.2)
highline (1.2.9)
hpricot (0.6)
libxml-ruby (0.3.8.4)
mocha (0.9.1)
mongrel (1.1.4, 1.0.1)
needle (1.3.0)
net-sftp (1.1.0)
net-ssh (1.1.2)
piston (1.4.0)
rails (2.2.2, 2.1.1, 2.1.0, 1.2.6)
rake (0.8.3, 0.8.1, 0.7.3)
RedCloth (3.0.4)
redgreen (1.2.2)
ruby-openid (1.1.4)
ruby-yadis (0.3.4)
rubygems-update (1.3.1, 1.2.0)
rubynode (0.1.3)
sqlite3-ruby (1.2.1)
termios (0.9.4)

Everything seems to be in place, but it&#039;s not working. Despite many attempts to uninstall and re-install much of rails as well as trying out different versions of the gems, nothing has fixed it. I can hobble along using the standard oracle adaptor which seems to work fine, but I&#039;d love to find a solution to this problem. Any ideas?</description>
		<content:encoded><![CDATA[<p>While attempting to generate a scaffold for my app, I&#8217;ve run into the following error:</p>
<p>/Library/Ruby/Gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:74:in `establish_connection&#8217;: Please install the oracle_enhanced adapter: `gem install activerecord-oracle_enhanced-adapter` (Expected /Library/Ruby/Gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.1.8/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb to define ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter) (RuntimeError)</p>
<p>As you can see from my gem list, the oracle_enhanced-adapter is installed. Here is the complete list in case it&#8217;s useful.</p>
<p>actionmailer (2.2.2, 2.1.1, 2.1.0, 1.3.6)<br />
actionpack (2.2.2, 2.1.1, 2.1.0, 1.13.6)<br />
actionwebservice (1.2.6)<br />
activerecord (2.2.2, 2.1.1, 2.1.0, 1.15.6)<br />
activerecord-oracle_enhanced-adapter (1.1.8, 1.1.7)<br />
activeresource (2.2.2, 2.1.1, 2.1.0)<br />
activesupport (2.2.2, 2.1.1, 2.1.0, 1.4.4)<br />
acts_as_ferret (0.4.1)<br />
capistrano (2.0.0)<br />
cgi_multipart_eof_fix (2.5.0, 2.2)<br />
daemons (1.0.9, 1.0.7)<br />
dnssd (0.6.0)<br />
fastthread (1.0.1, 1.0)<br />
fcgi (0.8.7)<br />
ferret (0.11.4)<br />
gem_plugin (0.2.3, 0.2.2)<br />
highline (1.2.9)<br />
hpricot (0.6)<br />
libxml-ruby (0.3.8.4)<br />
mocha (0.9.1)<br />
mongrel (1.1.4, 1.0.1)<br />
needle (1.3.0)<br />
net-sftp (1.1.0)<br />
net-ssh (1.1.2)<br />
piston (1.4.0)<br />
rails (2.2.2, 2.1.1, 2.1.0, 1.2.6)<br />
rake (0.8.3, 0.8.1, 0.7.3)<br />
RedCloth (3.0.4)<br />
redgreen (1.2.2)<br />
ruby-openid (1.1.4)<br />
ruby-yadis (0.3.4)<br />
rubygems-update (1.3.1, 1.2.0)<br />
rubynode (0.1.3)<br />
sqlite3-ruby (1.2.1)<br />
termios (0.9.4)</p>
<p>Everything seems to be in place, but it&#8217;s not working. Despite many attempts to uninstall and re-install much of rails as well as trying out different versions of the gems, nothing has fixed it. I can hobble along using the standard oracle adaptor which seems to work fine, but I&#8217;d love to find a solution to this problem. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/#comment-346</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Wed, 24 Sep 2008 23:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=27#comment-346</guid>
		<description>oracle_enhanced is meant to be used together with ActiveRecord in Rails and not just in standalone mode. In your Rails database.yml file just use oracle_enhanced fro adapter name.

Or do you need to use ActiveRecord without Rails to connect to Oracle database?</description>
		<content:encoded><![CDATA[<p>oracle_enhanced is meant to be used together with ActiveRecord in Rails and not just in standalone mode. In your Rails database.yml file just use oracle_enhanced fro adapter name.</p>
<p>Or do you need to use ActiveRecord without Rails to connect to Oracle database?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Burma</title>
		<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/#comment-345</link>
		<dc:creator>Burma</dc:creator>
		<pubDate>Wed, 24 Sep 2008 21:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=27#comment-345</guid>
		<description>Will this work??

ruby -r oracle_enhanced -e &quot;OCI8.new(&#039;ruby&#039;, &#039;ruby&#039;, &#039;ifstest&#039;).exec(&#039;select sysdate FROM dual&#039;){&#124;r&#124; puts r.join(&#039;,&#039;)}&quot;

I wanted to test the oracle_enhanced adapter and I get the error msg
ruby: no such file to load -- oracle_enhanced (LoadError)</description>
		<content:encoded><![CDATA[<p>Will this work??</p>
<p>ruby -r oracle_enhanced -e &#8220;OCI8.new(&#8216;ruby&#8217;, &#8216;ruby&#8217;, &#8216;ifstest&#8217;).exec(&#8216;select sysdate FROM dual&#8217;){|r| puts r.join(&#8216;,&#8217;)}&#8221;</p>
<p>I wanted to test the oracle_enhanced adapter and I get the error msg<br />
ruby: no such file to load &#8212; oracle_enhanced (LoadError)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Smylie</title>
		<link>http://blog.rayapps.com/2008/05/13/activerecord-oracle-enhanced-adapter/#comment-304</link>
		<dc:creator>Dave Smylie</dc:creator>
		<pubDate>Mon, 21 Jul 2008 21:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=27#comment-304</guid>
		<description>Very cool stuff! 
Exactly what I needed to try and beat my 10+ year old legacy oracle app into shape.
Thanks for the work =)

Cheers
Dave Smylie</description>
		<content:encoded><![CDATA[<p>Very cool stuff!<br />
Exactly what I needed to try and beat my 10+ year old legacy oracle app into shape.<br />
Thanks for the work =)</p>
<p>Cheers<br />
Dave Smylie</p>
]]></content:encoded>
	</item>
</channel>
</rss>
