<?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: 动态组合named_scope</title>
	<atom:link href="http://www.robinlu.com/blog/archives/402/feed" rel="self" type="application/rss+xml" />
	<link>http://www.robinlu.com/blog/archives/402</link>
	<description>Robin Lu&#039;s weblog</description>
	<lastBuildDate>Thu, 02 Jun 2011 06:41:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: cquaker</title>
		<link>http://www.robinlu.com/blog/archives/402/comment-page-1#comment-64724</link>
		<dc:creator>cquaker</dc:creator>
		<pubDate>Wed, 17 Jun 2009 14:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/?p=402#comment-64724</guid>
		<description>searchlogic 可以动态组合named scope 
http://github.com/binarylogic/searchlogic/tree/master

User.username_like(&quot;bjohnson&quot;).age_greater_than(20).ascend_by_username
search = User.search
search.username_like                          
search.age_gt = 2                               
search.id_gt(10).email_begins_with(&quot;bjohnson&quot;)    
search.all</description>
		<content:encoded><![CDATA[<p>searchlogic 可以动态组合named scope<br />
<a href="http://github.com/binarylogic/searchlogic/tree/master" rel="nofollow">http://github.com/binarylogic/searchlogic/tree/master</a></p>
<p>User.username_like(&#8220;bjohnson&#8221;).age_greater_than(20).ascend_by_username<br />
search = User.search<br />
search.username_like<br />
search.age_gt = 2<br />
search.id_gt(10).email_begins_with(&#8220;bjohnson&#8221;)<br />
search.all</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin Lu</title>
		<link>http://www.robinlu.com/blog/archives/402/comment-page-1#comment-63228</link>
		<dc:creator>Robin Lu</dc:creator>
		<pubDate>Thu, 23 Apr 2009 10:53:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/?p=402#comment-63228</guid>
		<description>dynamic scope是动态生成named scope。
这个是动态组合named scope。两回事。</description>
		<content:encoded><![CDATA[<p>dynamic scope是动态生成named scope。<br />
这个是动态组合named scope。两回事。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: genki</title>
		<link>http://www.robinlu.com/blog/archives/402/comment-page-1#comment-63227</link>
		<dc:creator>genki</dc:creator>
		<pubDate>Thu, 23 Apr 2009 08:37:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/?p=402#comment-63227</guid>
		<description>这个功能rails 2.3不是提供了吗？“ dynamic scope”.
Article.scoped_by_published(true).scoped_by_user_id(1)</description>
		<content:encoded><![CDATA[<p>这个功能rails 2.3不是提供了吗？“ dynamic scope”.<br />
Article.scoped_by_published(true).scoped_by_user_id(1)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

