<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>An Ingres Blog &#187; ruby</title>
	<atom:link href="http://blogs.planetingres.org/grant/category/drivers/ruby/feed" rel="self" type="application/rss+xml" />
	<link>http://blogs.planetingres.org/grant</link>
	<description>(Other blogs about Ingres are available...)</description>
	<lastBuildDate>Mon, 05 Jul 2010 12:29:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>New Ingres Ruby driver and Rails adapter posted</title>
		<link>http://blogs.planetingres.org/grant/223-new-ingres-ruby-driver-and-rails-adapter-posted</link>
		<comments>http://blogs.planetingres.org/grant/223-new-ingres-ruby-driver-and-rails-adapter-posted#comments</comments>
		<pubDate>Thu, 03 Dec 2009 12:10:11 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://blogs.planetingres.org/grant/?p=223</guid>
		<description><![CDATA[It&#8217;s been a quiet few months here on the blog, however it&#8217;s been any but quiet in the office. Since my last update I&#8217;ve been busy updating the Ingres Ruby driver and Ruby on Rails adapter to support multiple connections as well as Rails/ActiveRecord 2.3.x (2.3.5 was released this week). For a complete run down [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a quiet few months here on the blog, however it&#8217;s been any but quiet in the office. Since my last update I&#8217;ve been busy updating the Ingres Ruby driver and Ruby on Rails adapter to support multiple connections as well as Rails/ActiveRecord 2.3.x (2.3.5 was released this week). For a complete run down of the changes made take a look at the <a href="http://code.ingres.com/ingres/drivers/ruby/tags/ingres-ruby-1.4.0/doc/files/CHANGELOG.html">CHANGELOG</a>. See my <a href="http://http://community.ingres.com/forum/ruby-driver-ruby-rails-adapter/11433-updated-ruby-driver-ruby-rails-adapter-posted-1-4-0-a.html#post28891">forum post</a> for more information regarding downloading the source or the pre-built binaries for Windows.</p>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/89-ingres-ruby-driver-and-ruby-on-rails-adapter-version-130" title="Ingres Ruby Driver and Ruby on Rails Adapter version 1.3.0">Ingres Ruby Driver and Ruby on Rails Adapter version 1.3.0</a></li>
<li><a href="http://blogs.planetingres.org/grant/82-ruby-122-released" title="Ruby 1.2.2 released">Ruby 1.2.2 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/179-php-ingres-221-released" title="PHP Ingres 2.2.1 released">PHP Ingres 2.2.1 released</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=223&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F223-new-ingres-ruby-driver-and-rails-adapter-posted&amp;linkname=New%20Ingres%20Ruby%20driver%20and%20Rails%20adapter%20posted"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/223-new-ingres-ruby-driver-and-rails-adapter-posted/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ingres Ruby Driver and Ruby on Rails Adapter version 1.3.0</title>
		<link>http://blogs.planetingres.org/grant/89-ingres-ruby-driver-and-ruby-on-rails-adapter-version-130</link>
		<comments>http://blogs.planetingres.org/grant/89-ingres-ruby-driver-and-ruby-on-rails-adapter-version-130#comments</comments>
		<pubDate>Tue, 08 Jul 2008 10:19:35 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[drivers]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://blogs.planetingres.org/grant/2008/07/08/ingres-ruby-driver-and-ruby-on-rails-adapter-version-130/</guid>
		<description><![CDATA[Last week I released version 1.3.0 of the Ruby and RoR adapter for Ingres. This release includes the following changes: Ingres Ruby Driver: Restrict tables() to only return non-system tables Add support for Ingres datatypes float4, float8, money, decimal, bigint, and ANSI SQL date/time/timestamp Ruby on Rails adapter: Add support for Ruby on Rails 2.1 [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I released version 1.3.0 of the Ruby and RoR adapter for Ingres. This release includes the following changes:</p>
<p>Ingres Ruby Driver:</p>
<ul>
<li>Restrict tables() to only return non-system tables</li>
<li>Add support for Ingres datatypes float4, float8, money, decimal, bigint, and ANSI SQL date/time/timestamp</li>
</ul>
<p>Ruby on Rails adapter:</p>
<ul>
<li>Add support for Ruby on Rails 2.1 Migrations &#8211; for more information about ActiveRecord Migrations see &#8211; <a href="http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations">http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations</a></li>
<li>Extend driver support for new data types to Rails</li>
<li>Improved test results for ActiveRecord unit tests &#8211; see <a href="http://community.ingres.com/wiki/How_to_test_Ruby_on_Rails_with_Ingres">http://community.ingres.com/wiki/How_to_test_Ruby_on_Rails_with_Ingres</a></li>
</ul>
<p>This new release can be obtained from <a href="http://www.ingres.com/downloads/connectivity-resources.php">http://www.ingres.com/downloads/connectivity-resources.php</a> or via one of the following links:</p>
<ul>
<li><a href="http://code.ingres.com/ingres/drivers/ruby/tags/ingres-ruby-1.3.0/readme.html#new_in_this_release">README</a></li>
<li><a href="http://downloads.ingres.com/online/software/ruby/ingres-ruby-1.3.0-win32.zip">Windows Pre-Built Driver for Ingres 2.6 &amp; Ingres 2006r2(9.1.x)</a></li>
<li><a href="http://downloads.ingres.com/online/software/ruby/ingres-ruby-1.3.0.zip">Source (Zip File)</a></li>
<li><a href="http://downloads.ingres.com/online/software/ruby/ingres-ruby-1.3.0.tar.gz">Source (Compressed Tar File)</a></li>
</ul>
<p>Alternatively you can checkout this release from our external source code repository:</p>
<p><code>svn checkout http://code.ingres.com/ingres/drivers/ruby/tags/ingres-ruby-1.3.0</code></p>
<p>See <a href="http://community.ingres.com/wiki/Connectivity_Drivers_Source_Code">http://community.ingres.com/wiki/Connectivity_Drivers_Source_Code</a> for more information on working with our external source repository.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/223-new-ingres-ruby-driver-and-rails-adapter-posted" title="New Ingres Ruby driver and Rails adapter posted">New Ingres Ruby driver and Rails adapter posted</a></li>
<li><a href="http://blogs.planetingres.org/grant/82-ruby-122-released" title="Ruby 1.2.2 released">Ruby 1.2.2 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/81-ruby-for-ingres" title="Ruby for Ingres">Ruby for Ingres</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=89&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F89-ingres-ruby-driver-and-ruby-on-rails-adapter-version-130&amp;linkname=Ingres%20Ruby%20Driver%20and%20Ruby%20on%20Rails%20Adapter%20version%201.3.0"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/89-ingres-ruby-driver-and-ruby-on-rails-adapter-version-130/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ruby 1.2.2 released</title>
		<link>http://blogs.planetingres.org/grant/82-ruby-122-released</link>
		<comments>http://blogs.planetingres.org/grant/82-ruby-122-released#comments</comments>
		<pubDate>Fri, 18 Jan 2008 16:06:05 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[drivers]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[adapter]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[ruby driver]]></category>

		<guid isPermaLink="false">http://blogs.planetingres.org/grant/2008/01/18/ruby-122-released/</guid>
		<description><![CDATA[Yesterday, I/we released version 1.2.2 of the Ruby driver and RoR adaptor for Ingres. The release is a small update that includes the following changes: Fix quote() in ingres_adapater.rb to use the class of variable rather than the equivalent Ingres column type. Fix segvio in Ingres Ruby driver when fetching char/varchar with data longer than [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I/we released version 1.2.2 of the Ruby driver and RoR adaptor for Ingres. The release is a small update that includes the following changes:</p>
<ul>
<li>Fix quote() in ingres_adapater.rb to use the class of variable rather than the equivalent Ingres column type.</li>
<li>Fix segvio in Ingres Ruby driver when fetching char/varchar with data longer than 4074 bytes.</li>
</ul>
<p>The following files have been added to keep a track of the changes made and the work still to be done:</p>
<ul>
<li><a href="http://planetingres.org/files/CHANGELOG">CHANGELOG</a></li>
<li><a href="http://planetingres.org/files/TODO.txt">TODO.txt</a></li>
</ul>
<p>The latest readme.html and driver package (source code) can be downloaded from <a href="http://www.ingres.com/downloads/prod-download-drivers.php">http://www.ingres.com/downloads/prod-download-drivers.php</a></p>
<p>Should you wish to provide feedback of any sort you can e-mail me (grant (at) planetingres (dot) org), post to the <a href="http://community.ingres.com/forums/viewforum.php?f=9">Ingres Ruby driver forum</a> or to <a href="http://groups.google.com/group/comp.databases.ingres/topics">comp.databases.ingres</a>.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/223-new-ingres-ruby-driver-and-rails-adapter-posted" title="New Ingres Ruby driver and Rails adapter posted">New Ingres Ruby driver and Rails adapter posted</a></li>
<li><a href="http://blogs.planetingres.org/grant/179-php-ingres-221-released" title="PHP Ingres 2.2.1 released">PHP Ingres 2.2.1 released</a></li>
<li><a href="http://blogs.planetingres.org/grant/168-php-ingres-220-released" title="PHP Ingres 2.2.0 released">PHP Ingres 2.2.0 released</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=82&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F82-ruby-122-released&amp;linkname=Ruby%201.2.2%20released"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/82-ruby-122-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby for Ingres</title>
		<link>http://blogs.planetingres.org/grant/81-ruby-for-ingres</link>
		<comments>http://blogs.planetingres.org/grant/81-ruby-for-ingres#comments</comments>
		<pubDate>Mon, 03 Dec 2007 08:37:12 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[ingres]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://blogs.planetingres.org/grant/2007/12/03/ruby-for-ingres/</guid>
		<description><![CDATA[Sometime ago I wrote a quick post on getting the Ruby binding for ODBC working with Ingres. Whilst there is still some work to be done there I thought I might write about the Ingres Ruby binding and Ruby on Rails (RoR) adapter. A consultant for an Ingres client based in the US was asked [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blogs.planetingres.org/grant/2006/05/26/ruby-for-ingres-via-odbc/">Sometime ago</a> I wrote a quick post on getting the Ruby binding for ODBC working with Ingres. Whilst there is still some work to be done there I thought I might write about the Ingres Ruby binding and Ruby on Rails (RoR) adapter.</p>
<p>A consultant for an Ingres client based in the US was asked to develop an Ingres interface for RoR. This he did and as part of the agreement the code was handed over to Ingres Corp. with the intention that it got released after a &#8220;once over&#8221;. Well the code did get a going over, code specific to the original client&#8217;s system had to be removed and earlier this year it was made available on <a href="http://www.ingres.com/downloads/prod-download-drivers.php">Ingres&#8217;s website</a>.</p>
<p>Why am I interested now when I failed to even mention the release of the code? Well it appears I am now assisting in the development of the binding and the RoR adapter. Last week I was in California running through what is needed to get the driver in a more usable state. Here are the edited highlights of what was discussed:</p>
<ul>
<li>Clean up the build/install scripts</li>
<li>Document the code, making use of <a href="http://www.ruby-doc.org/docs/ProgrammingRuby/html/rdtool.html">rdoc tags</a> where possible</li>
<li>Implement missing data type support; SQL Date/Time, Money, Decimal, Float4/8, Long nvarchar</li>
<li>Fix up the adapter to get 100% coverage on the active_records unit tests</li>
<li>Allow multiple connections &#8211; only one connection per process allowed at present</li>
<li>other &#8220;stuff&#8221;&#8230;</li>
</ul>
<p>The plan is to release as often a possible between changes rather than wait for all pieces to be complete. Ideally this will allow for feedback sooner rather than later. Should you wish to provide feedback of any sort you can e-mail me (grant&#64;planetingres&#46;org), post to the <a href="http://community.ingres.com/forums/viewforum.php?f=9">Ingres forums</a> or to <a href="http://groups.google.com/group/comp.databases.ingres/topics">comp.databases.ingres</a>.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/223-new-ingres-ruby-driver-and-rails-adapter-posted" title="New Ingres Ruby driver and Rails adapter posted">New Ingres Ruby driver and Rails adapter posted</a></li>
<li><a href="http://blogs.planetingres.org/grant/89-ingres-ruby-driver-and-ruby-on-rails-adapter-version-130" title="Ingres Ruby Driver and Ruby on Rails Adapter version 1.3.0">Ingres Ruby Driver and Ruby on Rails Adapter version 1.3.0</a></li>
<li><a href="http://blogs.planetingres.org/grant/332-ingres-vectorwise-webinars" title="Ingres VectorWise Webinars">Ingres VectorWise Webinars</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=81&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F81-ruby-for-ingres&amp;linkname=Ruby%20for%20Ingres"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/81-ruby-for-ingres/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IUA presentation &#8211; No speaky the COBOL?</title>
		<link>http://blogs.planetingres.org/grant/43-iua-presentation-no-speaky-the-cobol</link>
		<comments>http://blogs.planetingres.org/grant/43-iua-presentation-no-speaky-the-cobol#comments</comments>
		<pubDate>Fri, 08 Jun 2007 14:04:01 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[odbc]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[IUA]]></category>
		<category><![CDATA[UK]]></category>

		<guid isPermaLink="false">http://blogs.planetingres.org/grant/2007/06/08/iua-presentation-no-speaky-the-cobol/</guid>
		<description><![CDATA[This Wednesday I gave a session on the languages that can interface with Ingres. The content of my session was a high level overview with some simple examples thrown in for the non Embedded languages. Going into sufficient detail for all the languages we support in 35 minutes was not possible. There was a lot [...]]]></description>
			<content:encoded><![CDATA[<p>This Wednesday I gave a session on the languages that can interface with Ingres. The content of my session was a high level overview with some simple examples thrown in for the non Embedded languages. Going into sufficient detail for all the languages we support in 35 minutes was not possible. There was a lot more I would liked to have spoken about. Anyway, you can download the presentation in either <a href="http://www.ingres.co.uk/wp-content/uploads/2007/06/uk-iua-june-2007-no-speaky-the-cobol.swf">Flash</a> or <a href="http://www.ingres.co.uk/wp-content/uploads/2007/06/uk-iua-june-2007-no-speaky-the-cobol.pdf">PDF</a> format. Should you want the source file email me via grantc at php dot net.<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/161-doing-more-with-even-less-uk-iua-2009-conference" title="Doing More with Even Less &#8211; UK IUA 2009 Conference">Doing More with Even Less &#8211; UK IUA 2009 Conference</a></li>
<li><a href="http://blogs.planetingres.org/grant/139-uk-iua-2009-call-for-papers" title="UK IUA &#8211; 2009 Call for Papers">UK IUA &#8211; 2009 Call for Papers</a></li>
<li><a href="http://blogs.planetingres.org/grant/39-uk-ingres-user-association-spring-conference" title="UK Ingres User Association Spring Conference">UK Ingres User Association Spring Conference</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=43&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F43-iua-presentation-no-speaky-the-cobol&amp;linkname=IUA%20presentation%20%26%238211%3B%20No%20speaky%20the%20COBOL%3F"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/43-iua-presentation-no-speaky-the-cobol/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UK Ingres User Association Spring Conference</title>
		<link>http://blogs.planetingres.org/grant/39-uk-ingres-user-association-spring-conference</link>
		<comments>http://blogs.planetingres.org/grant/39-uk-ingres-user-association-spring-conference#comments</comments>
		<pubDate>Mon, 14 May 2007 15:02:30 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[IUA]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[ingres]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[odbc]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[UK]]></category>

		<guid isPermaLink="false">http://blogs.planetingres.org/grant/2007/05/14/uk-ingres-user-association-spring-conference/</guid>
		<description><![CDATA[As a follow up to a prior post you can now register to attend the (free as in beer) UK IUA spring conference. I will be presenting a session on the different languages you can interface with Ingres, entitled &#8211; No Speaky the COBOL? &#8211; Ingres can speak your language. If you do not like [...]]]></description>
			<content:encoded><![CDATA[<p>As a follow up to a <a href="http://www.ingres.co.uk/2007/03/23/call-for-papers-june-uk-iua/">prior post</a> you can now register to attend the (free as in beer) UK IUA spring conference. I will be presenting a session on the different languages you can interface with Ingres, entitled &#8211; <em>No Speaky the COBOL? &#8211; Ingres can speak your language</em>. If you do not like the idea of that then there are 19 other afternoon sessions to choose from spread across 5 streams&#8230; spoilt for choice.</p>
<p><span id="more-39"></span></p>
<blockquote><p>The IUA is delighted to invite you to the one-day Ingres Users Association<br />
Spring Conference on Wednesday 6th June at De Vere Holborn Bars, London.</p>
<p>You will learn, at first-hand, about the Technical Direction for the Ingres<br />
products, the Evolution of Ingres&#8217; Partner Ecosystem as well as Ingres&#8217;<br />
strategy in the Business Intelligence and Performance Management<br />
marketplace.</p>
<p>We have received a very strong response to our call for papers for the<br />
event, so you can chose between twenty sessions across five afternoon<br />
tracks.</p>
<p>As the last event was over-subscribed, you should secure your place NOW by<br />
registering via the <a href="http://www.iua.org.uk">www.iua.org.uk</a>.</p>
<p>Please do join us at 09:30 on Wednesday 6th June at De Vere Holborn Bars<br />
when you can meet and talk with the most influential people in the Ingres<br />
community throughout the day and evening.</p>
<p>To attend this FREE event &#8211; please register via the online IUA Registration<br />
Form. If you experience any problems registering via the Internet site<br />
please email your RSVP to:</p>
<p>conference at iua dot org dot uk (with the obvious changes to make this a<br />
valid email address).</p>
<p>Roy Hann, on behalf of:<br />
UK IUA </p></blockquote>
<p><strong>updated:</strong> made www.iua.org.uk a link you can follow<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://blogs.planetingres.org/grant/161-doing-more-with-even-less-uk-iua-2009-conference" title="Doing More with Even Less &#8211; UK IUA 2009 Conference">Doing More with Even Less &#8211; UK IUA 2009 Conference</a></li>
<li><a href="http://blogs.planetingres.org/grant/139-uk-iua-2009-call-for-papers" title="UK IUA &#8211; 2009 Call for Papers">UK IUA &#8211; 2009 Call for Papers</a></li>
<li><a href="http://blogs.planetingres.org/grant/43-iua-presentation-no-speaky-the-cobol" title="IUA presentation &#8211; No speaky the COBOL?">IUA presentation &#8211; No speaky the COBOL?</a></li>
</ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=39&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F39-uk-ingres-user-association-spring-conference&amp;linkname=UK%20Ingres%20User%20Association%20Spring%20Conference"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/39-uk-ingres-user-association-spring-conference/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby for Ingres via ODBC</title>
		<link>http://blogs.planetingres.org/grant/13-ruby-for-ingres-via-odbc</link>
		<comments>http://blogs.planetingres.org/grant/13-ruby-for-ingres-via-odbc#comments</comments>
		<pubDate>Fri, 26 May 2006 18:08:08 +0000</pubDate>
		<dc:creator>Grant Croker</dc:creator>
				<category><![CDATA[ingres]]></category>
		<category><![CDATA[odbc]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blogs.planetingres.org/grant/2006/05/26/ruby-for-ingres-via-odbc/</guid>
		<description><![CDATA[Several months ago I decided to take a look at Ruby, in particular Rails, to see what all the fuss was about. Since Rails requires a database (of course) I thought I would see what could be done in getting it set up with Ingres. Since there is already someone working with a client of [...]]]></description>
			<content:encoded><![CDATA[<p>Several months ago I decided to take a look at Ruby, in particular Rails, to see what all the fuss was about. Since Rails requires a database (of course) I thought I would see what could be done in getting it set up with Ingres. Since there is already <a href="http://www.jaredrichardson.net/blog/2006/05/24#left-sas">someone</a> working with a client of Ingres to produce a &#8220;native&#8221; Ingres driver for ruby I had a look at the ODBC offerings.</p>
<p>The default binding for ODBC appears to be available from <a title="http://www.ch-werner.de/rubyodbc/" href="http://www.ch-werner.de/rubyodbc/">http://www.ch-werner.de/rubyodbc/</a>. Building the binding on Windows (this week I happen to be running windows) went ok. The subsequent tests did not go so well <img src='http://blogs.planetingres.org/grant/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> .</p>
<p>The following test fails:</p>
<pre>
$p = $c.proc("insert into test (id, str) values (?, ?)") {}
$p.call(3, "FOO")
$p[4, "BAR"]
</pre>
<p>An ODBC trace shows that integers as being passed to Ingres as SQL_VARCHAR. This sort of thing is allowed, if a little disagreable, with MySQL but Ingres does not like it.</p>
<p>If you apply the following patch to odbc.c the tests will complete:</p>
<pre>
diff -rup ruby-odbc-0.998/odbc.c ruby-odbc-0.998_patched/odbc.c
--- ruby-odbc-0.998/odbc.c      2006-05-21 09:38:30.000000000 +0200
+++ ruby-odbc-0.998_patched/odbc.c      2006-05-26 19:44:47.450091400 +0200
@@ -6151,6 +6151,7 @@ stmt_exec_int(int argc, VALUE *argv, VAL
        if (coldef == 0) {
            switch (ctype) {
            case SQL_C_LONG:
+               stype = SQL_INTEGER;
                coldef = 10;
                break;
            case SQL_C_DOUBLE:
</pre>
<p>Looking at the rest of the code more changes are needed since the ODBC binding sets the default type to SQL_VARCHAR without correcting for other types. If I get more time next week I will review the rest of the code in this function and post the complete diff.<br />
<h3>Some random posts</h3>
<ul class="related_post"></ul>
<img src="http://blogs.planetingres.org/grant/?ak_action=api_record_view&id=13&type=feed" alt="" /><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblogs.planetingres.org%2Fgrant%2F13-ruby-for-ingres-via-odbc&amp;linkname=Ruby%20for%20Ingres%20via%20ODBC"><img src="http://blogs.planetingres.org/grant/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://blogs.planetingres.org/grant/13-ruby-for-ingres-via-odbc/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
