<?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: Latest additions to Oracle enhanced adapter</title>
	<atom:link href="http://blog.rayapps.com/2008/07/27/latest-additions-to-oracle-enhanced-adapter/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rayapps.com/2008/07/27/latest-additions-to-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: Kodak</title>
		<link>http://blog.rayapps.com/2008/07/27/latest-additions-to-oracle-enhanced-adapter/#comment-367</link>
		<dc:creator>Kodak</dc:creator>
		<pubDate>Sat, 25 Oct 2008 13:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=38#comment-367</guid>
		<description>ok, thanks (problem with aliasing is that you will still need to use old names in find fitrers)</description>
		<content:encoded><![CDATA[<p>ok, thanks (problem with aliasing is that you will still need to use old names in find fitrers)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2008/07/27/latest-additions-to-oracle-enhanced-adapter/#comment-366</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Sat, 25 Oct 2008 07:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=38#comment-366</guid>
		<description>I avoid from using Oracle reserved words as column names as it might require too much patching of oracle adapter and it could be too fragile solution.

Why do you need to use &quot;number&quot; or &quot;group&quot; as column names? Isn&#039;t it easier just to change these column names to something different? And then if necessary you can define attribute aliases in your model:

def name
  xxx_name
end
def group
  xxx_group
end

Btw please use discussion group http://groups.google.com/group/oracle-enhanced if you have further questions - there are some other people as well who might help you with some ideas :)</description>
		<content:encoded><![CDATA[<p>I avoid from using Oracle reserved words as column names as it might require too much patching of oracle adapter and it could be too fragile solution.</p>
<p>Why do you need to use &#8220;number&#8221; or &#8220;group&#8221; as column names? Isn&#8217;t it easier just to change these column names to something different? And then if necessary you can define attribute aliases in your model:</p>
<p>def name<br />
  xxx_name<br />
end<br />
def group<br />
  xxx_group<br />
end</p>
<p>Btw please use discussion group <a href="http://groups.google.com/group/oracle-enhanced" rel="nofollow">http://groups.google.com/group/oracle-enhanced</a> if you have further questions &#8211; there are some other people as well who might help you with some ideas :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kodak</title>
		<link>http://blog.rayapps.com/2008/07/27/latest-additions-to-oracle-enhanced-adapter/#comment-365</link>
		<dc:creator>Kodak</dc:creator>
		<pubDate>Fri, 24 Oct 2008 17:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=38#comment-365</guid>
		<description>Hi Raimonds,
I see that you are Oracle+RoR guru with big OracleAdapter experience so I dare to ask you a question:
I got some field names like &quot;number&quot; or &quot;group&quot; in my model which need to be quoted; what would be the best way of forcing adapter to do the quoting?
from code...
        def quote_column_name(name) #:nodoc:
          name.to_s =~ /[A-Z]/ ? &quot;\&quot;#{name}\&quot;&quot; : name
        end
... will it be making it camel case?
But then by default ruby makes lower case column names - a Number between them will look awkward :(</description>
		<content:encoded><![CDATA[<p>Hi Raimonds,<br />
I see that you are Oracle+RoR guru with big OracleAdapter experience so I dare to ask you a question:<br />
I got some field names like &#8220;number&#8221; or &#8220;group&#8221; in my model which need to be quoted; what would be the best way of forcing adapter to do the quoting?<br />
from code&#8230;<br />
        def quote_column_name(name) #:nodoc:<br />
          name.to_s =~ /[A-Z]/ ? &#8220;\&#8221;#{name}\&#8221;" : name<br />
        end<br />
&#8230; will it be making it camel case?<br />
But then by default ruby makes lower case column names &#8211; a Number between them will look awkward :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2008/07/27/latest-additions-to-oracle-enhanced-adapter/#comment-326</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Wed, 20 Aug 2008 21:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=38#comment-326</guid>
		<description>Released new version 1.1.7 where I fixed that adapter works also without ruby-plsql gem.</description>
		<content:encoded><![CDATA[<p>Released new version 1.1.7 where I fixed that adapter works also without ruby-plsql gem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2008/07/27/latest-additions-to-oracle-enhanced-adapter/#comment-325</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Wed, 20 Aug 2008 21:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=38#comment-325</guid>
		<description>I also just found that you get this error if you have not installed ruby-plsql gem.

So the quick workaround is to install ruby-plsql gem. And I will try to fix and release new version of adapter ASAP which will work also without ruby-plsql gem.</description>
		<content:encoded><![CDATA[<p>I also just found that you get this error if you have not installed ruby-plsql gem.</p>
<p>So the quick workaround is to install ruby-plsql gem. And I will try to fix and release new version of adapter ASAP which will work also without ruby-plsql gem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://blog.rayapps.com/2008/07/27/latest-additions-to-oracle-enhanced-adapter/#comment-324</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Wed, 20 Aug 2008 20:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=38#comment-324</guid>
		<description>We can&#039;t save or create any ActiveRecord after upgrading from 1.1.5 to 1.1.6.  Here is the error.
Looks like it might be in combination with will_paginate plugin.

NoMethodError: undefined method `custom_create_method&#039; for House(id: integer, description: string):Class
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1667:in `method_missing_without_paginate&#039;
        from /projects/rails/cool_app/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:95:in `method_missing&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.1.6/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:80:in `enhanced_write_lobs&#039;
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:173:in `send&#039;
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:173:in `evaluate_method&#039;
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:161:in `call&#039;
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:93:in `run&#039;
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:92:in `each&#039;
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:92:in `send&#039;
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:92:in `run&#039;
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:272:in `run_callbacks&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/callbacks.rb:298:in `callback&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/callbacks.rb:208:in `create_or_update&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2200:in `save_without_validation&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/validations.rb:901:in `save_without_dirty&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/dirty.rb:75:in `save_without_transactions&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:106:in `save&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:79:in `transaction&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:98:in `transaction&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:106:in `save&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:118:in `rollback_active_record_state!&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:106:in `save&#039;
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:640:in `create</description>
		<content:encoded><![CDATA[<p>We can&#8217;t save or create any ActiveRecord after upgrading from 1.1.5 to 1.1.6.  Here is the error.<br />
Looks like it might be in combination with will_paginate plugin.</p>
<p>NoMethodError: undefined method `custom_create_method&#8217; for House(id: integer, description: string):Class<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1667:in `method_missing_without_paginate&#8217;<br />
        from /projects/rails/cool_app/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:95:in `method_missing&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-oracle_enhanced-adapter-1.1.6/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb:80:in `enhanced_write_lobs&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:173:in `send&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:173:in `evaluate_method&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:161:in `call&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:93:in `run&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:92:in `each&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:92:in `send&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:92:in `run&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/callbacks.rb:272:in `run_callbacks&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/callbacks.rb:298:in `callback&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/callbacks.rb:208:in `create_or_update&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:2200:in `save_without_validation&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/validations.rb:901:in `save_without_dirty&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/dirty.rb:75:in `save_without_transactions&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:106:in `save&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:79:in `transaction&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:98:in `transaction&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:106:in `save&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:118:in `rollback_active_record_state!&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/transactions.rb:106:in `save&#8217;<br />
        from /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:640:in `create</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mokkai</title>
		<link>http://blog.rayapps.com/2008/07/27/latest-additions-to-oracle-enhanced-adapter/#comment-322</link>
		<dc:creator>mokkai</dc:creator>
		<pubDate>Wed, 20 Aug 2008 15:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=38#comment-322</guid>
		<description>Hai Raimonds ,
i am new to oracle in rails , 
i searched a lot in net about oracle in rails.
but i didn&#039;t get good result.
your post is really usefull to me.
thanks Raimonds.</description>
		<content:encoded><![CDATA[<p>Hai Raimonds ,<br />
i am new to oracle in rails ,<br />
i searched a lot in net about oracle in rails.<br />
but i didn&#8217;t get good result.<br />
your post is really usefull to me.<br />
thanks Raimonds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2008/07/27/latest-additions-to-oracle-enhanced-adapter/#comment-314</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Mon, 28 Jul 2008 07:11:05 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=38#comment-314</guid>
		<description>This rubyforge page has a link to git repository at rubyforge.org (they recently also started to offer git repository hosting in addition to svn and cvs). Unfortunately they do not allow to put there link to external sites like github.

But I finally fixed &lt;a href=&quot;http://oracle-enhanced.rubyforge.org/&quot; rel=&quot;nofollow&quot;&gt;website generatation for oracle-enhanced project&lt;/a&gt;. So if someone will find oracle-enhanced on rubyforge then hopefully he/she will go to this webpage and will find out that git repository is hosted on github :)</description>
		<content:encoded><![CDATA[<p>This rubyforge page has a link to git repository at rubyforge.org (they recently also started to offer git repository hosting in addition to svn and cvs). Unfortunately they do not allow to put there link to external sites like github.</p>
<p>But I finally fixed <a href="http://oracle-enhanced.rubyforge.org/" rel="nofollow">website generatation for oracle-enhanced project</a>. So if someone will find oracle-enhanced on rubyforge then hopefully he/she will go to this webpage and will find out that git repository is hosted on github :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Hu</title>
		<link>http://blog.rayapps.com/2008/07/27/latest-additions-to-oracle-enhanced-adapter/#comment-313</link>
		<dc:creator>Jesse Hu</dc:creator>
		<pubDate>Mon, 28 Jul 2008 02:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=38#comment-313</guid>
		<description>That&#039;s nice! :)   
btw: the link to oracle_enhanced-adapter&#039;s git repo doesn&#039;t work on the &lt;a href=&quot;http://rubyforge.org/scm/?group_id=6212&quot; rel=&quot;nofollow&quot;&gt;rubyforge project page&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>That&#8217;s nice! :)<br />
btw: the link to oracle_enhanced-adapter&#8217;s git repo doesn&#8217;t work on the <a href="http://rubyforge.org/scm/?group_id=6212" rel="nofollow">rubyforge project page</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
