<?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: Simple Pagination with Rails</title>
	<atom:link href="http://wojodesign.com/simple-pagination-with-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://wojodesign.com/simple-pagination-with-rails/</link>
	<description>Web Design and Development Blog</description>
	<lastBuildDate>Fri, 03 Feb 2012 10:57:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Wangqin29</title>
		<link>http://wojodesign.com/simple-pagination-with-rails/#comment-3951</link>
		<dc:creator>Wangqin29</dc:creator>
		<pubDate>Wed, 02 Nov 2011 07:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewojogroup.com/?p=510#comment-3951</guid>
		<description>=-8i9</description>
		<content:encoded><![CDATA[<p>=-8i9</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://wojodesign.com/simple-pagination-with-rails/#comment-3912</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 25 Aug 2011 09:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewojogroup.com/?p=510#comment-3912</guid>
		<description>     My dear friends, do you want to befashionable? Just come in, please!
     We are international trade that specializes in the True Religion Jeans. The latest styles of True Religion Jeans are on large sales now. The originator of ture religion is the Levi’s Company. People all like the fashion jeans and jeans became more and more popular. Our products are authentic quality with original box. Many different shapes and styles will fit you. Discount True Religion Jeans will cost you less money. So, please don’t hesitate, just contact us for details to get the Cheap Religion Jeans! We will be your reliable business partner! 
     Welcome to our website: == http://www.fortruereligionjeans.com == Thank you!</description>
		<content:encoded><![CDATA[<p>My dear friends, do you want to befashionable? Just come in, please!<br />
     We are international trade that specializes in the True Religion Jeans. The latest styles of True Religion Jeans are on large sales now. The originator of ture religion is the Levi’s Company. People all like the fashion jeans and jeans became more and more popular. Our products are authentic quality with original box. Many different shapes and styles will fit you. Discount True Religion Jeans will cost you less money. So, please don’t hesitate, just contact us for details to get the Cheap Religion Jeans! We will be your reliable business partner!<br />
     Welcome to our website: == <a href="http://www.fortruereligionjeans.com" rel="nofollow">http://www.fortruereligionjeans.com</a> == Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://wojodesign.com/simple-pagination-with-rails/#comment-3913</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 25 Aug 2011 09:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewojogroup.com/?p=510#comment-3913</guid>
		<description>     My dear friends, do you want to befashionable? Just come in, please!
     We are international trade that specializes in the True Religion Jeans. The latest styles of True Religion Jeans are on large sales now. The originator of ture religion is the Levi’s Company. People all like the fashion jeans and jeans became more and more popular. Our products are authentic quality with original box. Many different shapes and styles will fit you. Discount True Religion Jeans will cost you less money. So, please don’t hesitate, just contact us for details to get the Cheap Religion Jeans! We will be your reliable business partner! 
     Welcome to our website: == http://www.fortruereligionjeans.com == Thank you!</description>
		<content:encoded><![CDATA[<p>My dear friends, do you want to befashionable? Just come in, please!<br />
     We are international trade that specializes in the True Religion Jeans. The latest styles of True Religion Jeans are on large sales now. The originator of ture religion is the Levi’s Company. People all like the fashion jeans and jeans became more and more popular. Our products are authentic quality with original box. Many different shapes and styles will fit you. Discount True Religion Jeans will cost you less money. So, please don’t hesitate, just contact us for details to get the Cheap Religion Jeans! We will be your reliable business partner!<br />
     Welcome to our website: == <a href="http://www.fortruereligionjeans.com" rel="nofollow">http://www.fortruereligionjeans.com</a> == Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barbara16</title>
		<link>http://wojodesign.com/simple-pagination-with-rails/#comment-560</link>
		<dc:creator>Barbara16</dc:creator>
		<pubDate>Thu, 22 Oct 2009 21:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewojogroup.com/?p=510#comment-560</guid>
		<description>It&#039;s obviously really expensive, but if you get funding, it&#039;s a great place. ,</description>
		<content:encoded><![CDATA[<p>It&#8217;s obviously really expensive, but if you get funding, it&#8217;s a great place. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mf</title>
		<link>http://wojodesign.com/simple-pagination-with-rails/#comment-559</link>
		<dc:creator>mf</dc:creator>
		<pubDate>Thu, 13 Aug 2009 18:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewojogroup.com/?p=510#comment-559</guid>
		<description>I needed a simple solution to paginage an array of results returned from an xml feed. This solution worked perfectly w/out needing to use any plugin, etc., in my rail app. Nice job!</description>
		<content:encoded><![CDATA[<p>I needed a simple solution to paginage an array of results returned from an xml feed. This solution worked perfectly w/out needing to use any plugin, etc., in my rail app. Nice job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srivatsav</title>
		<link>http://wojodesign.com/simple-pagination-with-rails/#comment-558</link>
		<dc:creator>srivatsav</dc:creator>
		<pubDate>Tue, 19 May 2009 08:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewojogroup.com/?p=510#comment-558</guid>
		<description>I am using will_paginate but i could not remove the page numbers. I do not want the page numbers. how to do that?</description>
		<content:encoded><![CDATA[<p>I am using will_paginate but i could not remove the page numbers. I do not want the page numbers. how to do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gk</title>
		<link>http://wojodesign.com/simple-pagination-with-rails/#comment-557</link>
		<dc:creator>gk</dc:creator>
		<pubDate>Fri, 08 May 2009 16:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewojogroup.com/?p=510#comment-557</guid>
		<description>I&#039;m sorry to say this, but this is not exactly a good example for pagination or ruby programming in general. If you really want to roll your own solution, you should at least try to keep your views clean and simple and move this conditional code into a helper.

But why don&#039;t you use what&#039;s already there? will_paginate is a nice and simple solution for pagination. In your controller, you could write &#039;@page = @videos.paginate :per_page =&gt; 10, :page =&gt; params[:page]&#039;

In your view, use the pagination_helper like this:
&#039;&#039; This will render the pagigation links, and there are a lot of options to customize it.

Concerning limit and offset: Using those is an absolute must to get reasonable performance. And, best of all: will_paginate uses them if you paginate active_record queries automatically!</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry to say this, but this is not exactly a good example for pagination or ruby programming in general. If you really want to roll your own solution, you should at least try to keep your views clean and simple and move this conditional code into a helper.</p>
<p>But why don&#8217;t you use what&#8217;s already there? will_paginate is a nice and simple solution for pagination. In your controller, you could write &#8216;@page = @videos.paginate :per_page =&gt; 10, :page =&gt; params[:page]&#8216;</p>
<p>In your view, use the pagination_helper like this:<br />
&#8221; This will render the pagigation links, and there are a lot of options to customize it.</p>
<p>Concerning limit and offset: Using those is an absolute must to get reasonable performance. And, best of all: will_paginate uses them if you paginate active_record queries automatically!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: random8r</title>
		<link>http://wojodesign.com/simple-pagination-with-rails/#comment-556</link>
		<dc:creator>random8r</dc:creator>
		<pubDate>Tue, 05 May 2009 14:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.thewojogroup.com/?p=510#comment-556</guid>
		<description>I noticed you&#039;ve added that you recommend using limit and offset... but I still stand by what I said... paginator is a better choice. (IMHO). More flexible, and not that much more code. More RUBY-like.</description>
		<content:encoded><![CDATA[<p>I noticed you&#8217;ve added that you recommend using limit and offset&#8230; but I still stand by what I said&#8230; paginator is a better choice. (IMHO). More flexible, and not that much more code. More RUBY-like.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

