<?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: Ruby&#8217;s ActiveRecord Makes Dropping to Raw SQL a Royal Pain (Probably on Purpose)</title>
	<atom:link href="http://blog.rlucas.net/bugfix/svn_set_default_properties_like_keywords/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rlucas.net/bugfix/svn_set_default_properties_like_keywords/</link>
	<description>...fighting entropy one financing round at a time</description>
	<lastBuildDate>Mon, 23 Jan 2012 19:37:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: rlucas</title>
		<link>http://blog.rlucas.net/bugfix/svn_set_default_properties_like_keywords/comment-page-1/#comment-159</link>
		<dc:creator>rlucas</dc:creator>
		<pubDate>Tue, 12 Jan 2010 19:51:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlucas.net/wp/uncategorized/svn_set_default_properties_like_keywords/#comment-159</guid>
		<description>Taelor, read the post again.  It&#039;s not about how to ship a plain string down the wire (duh) but how to get parameterized / placeholder-friendly queries with automatic escaping.</description>
		<content:encoded><![CDATA[<p>Taelor, read the post again.  It&#8217;s not about how to ship a plain string down the wire (duh) but how to get parameterized / placeholder-friendly queries with automatic escaping.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: taelor</title>
		<link>http://blog.rlucas.net/bugfix/svn_set_default_properties_like_keywords/comment-page-1/#comment-153</link>
		<dc:creator>taelor</dc:creator>
		<pubDate>Sat, 09 Jan 2010 03:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlucas.net/wp/uncategorized/svn_set_default_properties_like_keywords/#comment-153</guid>
		<description>ActiveRecord::Base.connection.execute(&quot;select count(*) from your_table_or_complicated_thing&quot;).fetch_row[0]

I mean, your not &quot;shit out of luck with ActiveRecord&quot; right? Its even all in one line for you (not counting the sql of course).</description>
		<content:encoded><![CDATA[<p>ActiveRecord::Base.connection.execute(&#8220;select count(*) from your_table_or_complicated_thing&#8221;).fetch_row[0]</p>
<p>I mean, your not &#8220;shit out of luck with ActiveRecord&#8221; right? Its even all in one line for you (not counting the sql of course).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alfredo Rico</title>
		<link>http://blog.rlucas.net/bugfix/svn_set_default_properties_like_keywords/comment-page-1/#comment-94</link>
		<dc:creator>Alfredo Rico</dc:creator>
		<pubDate>Sat, 17 Oct 2009 18:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlucas.net/wp/uncategorized/svn_set_default_properties_like_keywords/#comment-94</guid>
		<description>class  ActiveRecord::Base
  def self.select_all_sanitizado(arreglo)
    connection.select_all(sanitize_sql_array(arreglo))
  end
end</description>
		<content:encoded><![CDATA[<p>class  ActiveRecord::Base<br />
  def self.select_all_sanitizado(arreglo)<br />
    connection.select_all(sanitize_sql_array(arreglo))<br />
  end<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alfredo Rico</title>
		<link>http://blog.rlucas.net/bugfix/svn_set_default_properties_like_keywords/comment-page-1/#comment-93</link>
		<dc:creator>Alfredo Rico</dc:creator>
		<pubDate>Sat, 17 Oct 2009 18:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlucas.net/wp/uncategorized/svn_set_default_properties_like_keywords/#comment-93</guid>
		<description>Hi friend!.. I think there is a better way to do what you meant..

x = ActiveRecord::Base.connection.select_all( ActiveRecord::Base.send(&quot;sanitize_sql_array&quot;,[&quot;select foo from bar where name like = ?, var] ) )


Done!...</description>
		<content:encoded><![CDATA[<p>Hi friend!.. I think there is a better way to do what you meant..</p>
<p>x = ActiveRecord::Base.connection.select_all( ActiveRecord::Base.send(&#8220;sanitize_sql_array&#8221;,["select foo from bar where name like = ?, var] ) )</p>
<p>Done!&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xc</title>
		<link>http://blog.rlucas.net/bugfix/svn_set_default_properties_like_keywords/comment-page-1/#comment-80</link>
		<dc:creator>xc</dc:creator>
		<pubDate>Thu, 27 Aug 2009 19:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlucas.net/wp/uncategorized/svn_set_default_properties_like_keywords/#comment-80</guid>
		<description>Also apparently sanitize_sql is deprecated, sanitize_sql_array works instead. 

http://apidock.com/rails/ActiveRecord/Base/sanitize_sql/class</description>
		<content:encoded><![CDATA[<p>Also apparently sanitize_sql is deprecated, sanitize_sql_array works instead. </p>
<p><a href="http://apidock.com/rails/ActiveRecord/Base/sanitize_sql/class" rel="nofollow">http://apidock.com/rails/ActiveRecord/Base/sanitize_sql/class</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xc</title>
		<link>http://blog.rlucas.net/bugfix/svn_set_default_properties_like_keywords/comment-page-1/#comment-79</link>
		<dc:creator>xc</dc:creator>
		<pubDate>Thu, 27 Aug 2009 19:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlucas.net/wp/uncategorized/svn_set_default_properties_like_keywords/#comment-79</guid>
		<description>Thanks! I was looking for a way to do &quot;?&quot; queries like find_by_sql does with connection.select_all and this resolved it.</description>
		<content:encoded><![CDATA[<p>Thanks! I was looking for a way to do &#8220;?&#8221; queries like find_by_sql does with connection.select_all and this resolved it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

