<?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>duck_punching &#187; make_resourceful_with_pagination</title>
	<atom:link href="http://duckpunching.com/topics/plugins/make_resourceful_with_pagination/feed" rel="self" type="application/rss+xml" />
	<link>http://duckpunching.com</link>
	<description>Ruby, Rails and tech. No ducks were harmed in the making of this blog.</description>
	<lastBuildDate>Thu, 24 Jun 2010 07:12:53 +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>Pagination for make_resourceful</title>
		<link>http://duckpunching.com/pagination-for-make_resourceful</link>
		<comments>http://duckpunching.com/pagination-for-make_resourceful#comments</comments>
		<pubDate>Thu, 25 Sep 2008 23:08:17 +0000</pubDate>
		<dc:creator>Adam</dc:creator>
				<category><![CDATA[make_resourceful_with_pagination]]></category>
		<category><![CDATA[m_r]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://duckpunching.com/?p=61</guid>
		<description><![CDATA[Hampton Catlin the creator of make_resourceful has let his thoughts on pagination known and in summary he is not a fan. Hence there is no DRY way to add pagination to m_r without overriding the defaults methods repeatedly. I am not so anti pagination and often find it mildly useful. But mostly my clients want [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://hamptoncatlin.com/">Hampton Catlin</a> the creator of <a href="http://github.com/hcatlin/make_resourceful/tree/master">make_resourceful</a> has let his thoughts on pagination known and in summary he is not a fan. Hence there is no DRY way to add pagination to m_r without overriding the defaults methods repeatedly.</p>
<p>I am not so anti pagination and often find it mildly useful. But mostly my clients want it regardless. So I have abtracted my pagination solution for m_r into a plugin called funnily enough <a href="http://github.com/adzap/make_resourceful_with_pagination">make_resourceful_with_pagination</a>. Now it may sound like a fork of m_r but it is in fact an <a href="http://errtheblog.com/posts/67-evil-twin-plugin">&#8220;evil-twin&#8221;</a> plugin, which is a plugin pattern invented by Chris Wanstrath of GitHub. So basically you need to install both m_r and my plugin.</p>
<p>It works with will_paginate by default but should also work with paginating_find or any pagination that acts on the model. You just need to tweak the global options. It won&#8217;t work with classic pagination, but frankly I don&#8217;t see the appeal of that anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://duckpunching.com/pagination-for-make_resourceful/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
