<?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/"
		>
<channel>
	<title>Comments on: Getting close to the database #2 &#8211; columns_as_array plugin</title>
	<atom:link href="http://pennysmalls.com/2008/02/25/getting-close-to-the-database-2-columns_as_array-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://pennysmalls.com/2008/02/25/getting-close-to-the-database-2-columns_as_array-plugin/</link>
	<description>A blog about Ruby, Rails and other tech.  Mostly.</description>
	<lastBuildDate>Thu, 02 Sep 2010 19:56:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Stephen Sykes</title>
		<link>http://pennysmalls.com/2008/02/25/getting-close-to-the-database-2-columns_as_array-plugin/comment-page-1/#comment-81</link>
		<dc:creator>Stephen Sykes</dc:creator>
		<pubDate>Wed, 30 Apr 2008 08:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://pennysmalls.com/2008/02/25/getting-close-to-the-database-2-columns_as_array-plugin/#comment-81</guid>
		<description>This is not particularly technically different from accessing the DB directly - but it certainly looks nice to write:

StateOgram.proam_ids

..rather than an explicit select string.  But we can&#039;t select one column with a condition on another, so your example is not doable with this plugin.</description>
		<content:encoded><![CDATA[<p>This is not particularly technically different from accessing the DB directly &#8211; but it certainly looks nice to write:</p>
<p>StateOgram.proam_ids</p>
<p>..rather than an explicit select string.  But we can&#8217;t select one column with a condition on another, so your example is not doable with this plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger</title>
		<link>http://pennysmalls.com/2008/02/25/getting-close-to-the-database-2-columns_as_array-plugin/comment-page-1/#comment-77</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Wed, 30 Apr 2008 02:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://pennysmalls.com/2008/02/25/getting-close-to-the-database-2-columns_as_array-plugin/#comment-77</guid>
		<description>there&#039;s also 
ActiveRecord::Base.connection.select_values(&quot;SELECT proam_id FROM state_ograms WHERE state = &#039;#{state}&#039;&quot;)

or what not.  Is this different?</description>
		<content:encoded><![CDATA[<p>there&#8217;s also<br />
ActiveRecord::Base.connection.select_values(&#8220;SELECT proam_id FROM state_ograms WHERE state = &#8216;#{state}&#8217;&#8221;)</p>
<p>or what not.  Is this different?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
