<?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: How to explicitly set Oracle DATE column as Ruby Date attribute</title>
	<atom:link href="http://blog.rayapps.com/2007/08/27/how-to-explicitly-set-oracle-date-column-as-ruby-date-attribute/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rayapps.com/2007/08/27/how-to-explicitly-set-oracle-date-column-as-ruby-date-attribute/</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: Jesse Hu</title>
		<link>http://blog.rayapps.com/2007/08/27/how-to-explicitly-set-oracle-date-column-as-ruby-date-attribute/#comment-185</link>
		<dc:creator>Jesse Hu</dc:creator>
		<pubDate>Wed, 02 Apr 2008 04:47:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayapps.com/2007/08/27/how-to-explicitly-set-oracle-date-column-as-ruby-date-attribute/#comment-185</guid>
		<description>Hi Raimonds, I failed to update a :date column with your patch for either Rails 1.2.6 or Rails 2.0.2, receiving the same error message as when without the patch:
    
My environment:
    Ruby version                 1.8.6 (i386-mswin32)
    RubyGems version             1.1.0
    Rails version                1.2.6
    Active Record version        1.15.6
    Action Pack version          1.13.6
    Action Web Service version   1.2.6
    Action Mailer version        1.3.6
    Active Support version       1.4.4
    Environment                  development
    Database adapter             oracle
    Database schema version      1
    AR Oracle adapter            1.0.0

Current AR Oracle adapter maps all :date, :time and :datetime type to Ruby&#039;s Time. This solves the type casting problem but I think it&#039;s not perfect way.  How you make your patch works? Any suggestion?  

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Raimonds, I failed to update a :date column with your patch for either Rails 1.2.6 or Rails 2.0.2, receiving the same error message as when without the patch:</p>
<p>My environment:<br />
    Ruby version                 1.8.6 (i386-mswin32)<br />
    RubyGems version             1.1.0<br />
    Rails version                1.2.6<br />
    Active Record version        1.15.6<br />
    Action Pack version          1.13.6<br />
    Action Web Service version   1.2.6<br />
    Action Mailer version        1.3.6<br />
    Active Support version       1.4.4<br />
    Environment                  development<br />
    Database adapter             oracle<br />
    Database schema version      1<br />
    AR Oracle adapter            1.0.0</p>
<p>Current AR Oracle adapter maps all :date, :time and :datetime type to Ruby&#8217;s Time. This solves the type casting problem but I think it&#8217;s not perfect way.  How you make your patch works? Any suggestion?  </p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Some issues with Oracle views as ActiveRecord source &#171; ray_apps</title>
		<link>http://blog.rayapps.com/2007/08/27/how-to-explicitly-set-oracle-date-column-as-ruby-date-attribute/#comment-33</link>
		<dc:creator>Some issues with Oracle views as ActiveRecord source &#171; ray_apps</dc:creator>
		<pubDate>Thu, 15 Nov 2007 22:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rayapps.com/2007/08/27/how-to-explicitly-set-oracle-date-column-as-ruby-date-attribute/#comment-33</guid>
		<description>[...] One workaround is to use customer.id.to_i everywhere but it is quite annoying. Therefore I created patch for Oracle adapter (this is tested with Rails 1.2.3) which always sets data type as :integer for all primary keys (column name ID) and foreign keys (column name like %_ID). This includes also date columns patch that I wrote about previously. [...]</description>
		<content:encoded><![CDATA[<p>[...] One workaround is to use customer.id.to_i everywhere but it is quite annoying. Therefore I created patch for Oracle adapter (this is tested with Rails 1.2.3) which always sets data type as :integer for all primary keys (column name ID) and foreign keys (column name like %_ID). This includes also date columns patch that I wrote about previously. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
