Wap Addon wrote:
> hello all,
> 
> any one known how to do paging in ror

there is a wonderful plugin called "will_paginate".  Installation is 
simple,

1. copy the plugin to your plugin folder.
2. use - require "will_paginate" in your environment.rb

start using it in your view like this

view:
-----
for c in @collection

end

<% will_paginate @collection %>

-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to