me again...
I need show 10 or 20 or 50 results number of results per page with a select options in my list of posts using will_paginate plugin
Can you help me p
To set a class wide Default
class Post < ActiveRecord::Base def self.per_page 25 end end
Or on a query by query basis use the per_page in your call
class Post 25, :conditions => ["published = ?", true]) end end