Hi

  Which version of gem r u using?
In controller you can do like
@user = User.paginate :page => params[:page], :per_page => 2
  and in view you can do
<%= will_paginate 
@user,:update=>'GeneralDiv',:params=>{:controller=>'userinfo',:action=>'showuser',:sd_id=>@sd_ticket},
 
:container => false %>

I dont know why you use :complete=>"Element.show('GeneralDiv');"

   Also pass the params (if any) to will_paginate in view..And restart 
your server also.

Sijo


-- 
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