Right from the will_paginate RDOCs..

:per_page — defaults to CurrentModel.per_page (which is 30 if not 
overridden)

I thought by placing in the variable for numteams = 20 and applying that 
to the per_page it would override it...

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to