<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Ernie Miller</title>
	
	<link>http://erniemiller.org</link>
	<description>No, I don't work in NYC, DC, or the valley, and I'm cool with that.</description>
	<lastBuildDate>Fri, 11 May 2012 02:15:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/erniemiller-comments" /><feedburner:info uri="erniemiller-comments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Ransack has a new maintainer! by Blairsull</title>
		<link>http://feedproxy.google.com/~r/erniemiller-comments/~3/uN5AKHbBO4o/</link>
		<dc:creator>Blairsull</dc:creator>
		<pubDate>Fri, 11 May 2012 02:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://erniemiller.org/?p=1055#comment-1059</guid>
		<description>Couple questions. Pretty sure this is the wrong place to ask, but I'm gonna let'em rip. 

What would it look like if you were to create a new Where that would act as does the between example unless only one of the array elements were !blank. In that case it would act as either a gte or a lte depending on which element in the array was blank.

I tried using a conditional to check the array and assign the predicate based on the presence of the one or the other array parameters, but couldn't get it working.

Also, when using money-rails, how would I search on a 'monetized' field. Can I include the money gem somewhere in meta_search or Ransack and then add a new type like Money::dollars?

Not really sure where to start there, may just be easier to create a field in the database that mirrors the monetized field specifically for searching.

Sorry to jump the thread, please point me to the right place for the discussion.

Thanks,</description>
		<content:encoded><![CDATA[<p>Couple questions. Pretty sure this is the wrong place to ask, but I&#8217;m gonna let&#8217;em rip. </p>
<p>What would it look like if you were to create a new Where that would act as does the between example unless only one of the array elements were !blank. In that case it would act as either a gte or a lte depending on which element in the array was blank.</p>
<p>I tried using a conditional to check the array and assign the predicate based on the presence of the one or the other array parameters, but couldn&#8217;t get it working.</p>
<p>Also, when using money-rails, how would I search on a &#8216;monetized&#8217; field. Can I include the money gem somewhere in meta_search or Ransack and then add a new type like Money::dollars?</p>
<p>Not really sure where to start there, may just be easier to create a field in the database that mirrors the monetized field specifically for searching.</p>
<p>Sorry to jump the thread, please point me to the right place for the discussion.</p>
<p>Thanks,</p>
<img src="http://feeds.feedburner.com/~r/erniemiller-comments/~4/uN5AKHbBO4o" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://erniemiller.org/2012/03/28/ransack-has-a-new-maintainer/comment-page-1/#comment-1059</feedburner:origLink></item>
	<item>
		<title>Comment on Squeel 1.0 Released! by Dom</title>
		<link>http://feedproxy.google.com/~r/erniemiller-comments/~3/Mi03OssSjRI/</link>
		<dc:creator>Dom</dc:creator>
		<pubDate>Wed, 09 May 2012 03:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://erniemiller.org/?p=1065#comment-1058</guid>
		<description>Thanks Ernie, great work with Squeel. I've been using it for a while and love it.</description>
		<content:encoded><![CDATA[<p>Thanks Ernie, great work with Squeel. I&#8217;ve been using it for a while and love it.</p>
<img src="http://feeds.feedburner.com/~r/erniemiller-comments/~4/Mi03OssSjRI" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://erniemiller.org/2012/04/23/squeel-1-0-released/comment-page-1/#comment-1058</feedburner:origLink></item>
	<item>
		<title>Comment on When to use alias_method_chain by phantomwhale</title>
		<link>http://feedproxy.google.com/~r/erniemiller-comments/~3/s-KF08sVc4Q/</link>
		<dc:creator>phantomwhale</dc:creator>
		<pubDate>Mon, 07 May 2012 00:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://erniemiller.org/?p=771#comment-1057</guid>
		<description>Just learning this today, and this post helped crystallise the state of play for me. Thanks !</description>
		<content:encoded><![CDATA[<p>Just learning this today, and this post helped crystallise the state of play for me. Thanks !</p>
<img src="http://feeds.feedburner.com/~r/erniemiller-comments/~4/s-KF08sVc4Q" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://erniemiller.org/2011/02/03/when-to-use-alias_method_chain/comment-page-1/#comment-1057</feedburner:origLink></item>
	<item>
		<title>Comment on When to use alias_method_chain by Gregory Tomei</title>
		<link>http://feedproxy.google.com/~r/erniemiller-comments/~3/fScm1-xP5Dw/</link>
		<dc:creator>Gregory Tomei</dc:creator>
		<pubDate>Wed, 02 May 2012 02:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://erniemiller.org/?p=771#comment-1055</guid>
		<description>very helpful. thanks!</description>
		<content:encoded><![CDATA[<p>very helpful. thanks!</p>
<img src="http://feeds.feedburner.com/~r/erniemiller-comments/~4/fScm1-xP5Dw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://erniemiller.org/2011/02/03/when-to-use-alias_method_chain/comment-page-1/#comment-1055</feedburner:origLink></item>
	<item>
		<title>Comment on Squeel 1.0 Released! by Alex</title>
		<link>http://feedproxy.google.com/~r/erniemiller-comments/~3/V_WEfV4k_8Q/</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 23 Apr 2012 18:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://erniemiller.org/?p=1065#comment-1051</guid>
		<description>So nice to have no SQL statements in the code!

Thank you for all the work you put into it!</description>
		<content:encoded><![CDATA[<p>So nice to have no SQL statements in the code!</p>
<p>Thank you for all the work you put into it!</p>
<img src="http://feeds.feedburner.com/~r/erniemiller-comments/~4/V_WEfV4k_8Q" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://erniemiller.org/2012/04/23/squeel-1-0-released/comment-page-1/#comment-1051</feedburner:origLink></item>
	<item>
		<title>Comment on Squeel 1.0 Released! by Ernie Miller</title>
		<link>http://feedproxy.google.com/~r/erniemiller-comments/~3/DQn2ghLrfRw/</link>
		<dc:creator>Ernie Miller</dc:creator>
		<pubDate>Mon, 23 Apr 2012 13:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://erniemiller.org/?p=1065#comment-1050</guid>
		<description>Awesome! Glad to hear it! :)</description>
		<content:encoded><![CDATA[<p>Awesome! Glad to hear it! :)</p>
<img src="http://feeds.feedburner.com/~r/erniemiller-comments/~4/DQn2ghLrfRw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://erniemiller.org/2012/04/23/squeel-1-0-released/comment-page-1/#comment-1050</feedburner:origLink></item>
	<item>
		<title>Comment on Squeel 1.0 Released! by Ernie Miller</title>
		<link>http://feedproxy.google.com/~r/erniemiller-comments/~3/1QUtebI22yA/</link>
		<dc:creator>Ernie Miller</dc:creator>
		<pubDate>Mon, 23 Apr 2012 13:47:00 +0000</pubDate>
		<guid isPermaLink="false">http://erniemiller.org/?p=1065#comment-1049</guid>
		<description>Yes.</description>
		<content:encoded><![CDATA[<p>Yes.</p>
<img src="http://feeds.feedburner.com/~r/erniemiller-comments/~4/1QUtebI22yA" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://erniemiller.org/2012/04/23/squeel-1-0-released/comment-page-1/#comment-1049</feedburner:origLink></item>
	<item>
		<title>Comment on Squeel 1.0 Released! by Chris</title>
		<link>http://feedproxy.google.com/~r/erniemiller-comments/~3/0aGzufaiWgY/</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 23 Apr 2012 13:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://erniemiller.org/?p=1065#comment-1048</guid>
		<description>Is it possible to use the normal ActiveRecord joins syntax ( :house=&gt;[:people, :dogs] ) instead of the squeel syntax?  </description>
		<content:encoded><![CDATA[<p>Is it possible to use the normal ActiveRecord joins syntax ( :house=&gt;[:people, :dogs] ) instead of the squeel syntax?  </p>
<img src="http://feeds.feedburner.com/~r/erniemiller-comments/~4/0aGzufaiWgY" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://erniemiller.org/2012/04/23/squeel-1-0-released/comment-page-1/#comment-1048</feedburner:origLink></item>
	<item>
		<title>Comment on Squeel 1.0 Released! by Mikael Bjorkman</title>
		<link>http://feedproxy.google.com/~r/erniemiller-comments/~3/QiapUlvq8Oo/</link>
		<dc:creator>Mikael Bjorkman</dc:creator>
		<pubDate>Mon, 23 Apr 2012 13:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://erniemiller.org/?p=1065#comment-1047</guid>
		<description>Thanks for all you hard work! Our team really loves this gem.</description>
		<content:encoded><![CDATA[<p>Thanks for all you hard work! Our team really loves this gem.</p>
<img src="http://feeds.feedburner.com/~r/erniemiller-comments/~4/QiapUlvq8Oo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://erniemiller.org/2012/04/23/squeel-1-0-released/comment-page-1/#comment-1047</feedburner:origLink></item>
	<item>
		<title>Comment on Squeel 1.0 Released! by Ernie Miller</title>
		<link>http://feedproxy.google.com/~r/erniemiller-comments/~3/hOHHsZ_zwpQ/</link>
		<dc:creator>Ernie Miller</dc:creator>
		<pubDate>Mon, 23 Apr 2012 12:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://erniemiller.org/?p=1065#comment-1046</guid>
		<description>Chris,

Best way to see is to give it a try and find out. You can also read the README at https://github.com/ernie/squeel !</description>
		<content:encoded><![CDATA[<p>Chris,</p>
<p>Best way to see is to give it a try and find out. You can also read the README at <a href="https://github.com/ernie/squeel" rel="nofollow">https://github.com/ernie/squeel</a> !</p>
<img src="http://feeds.feedburner.com/~r/erniemiller-comments/~4/hOHHsZ_zwpQ" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://erniemiller.org/2012/04/23/squeel-1-0-released/comment-page-1/#comment-1046</feedburner:origLink></item>
</channel>
</rss>

