On Thu, Aug 13, 2009 at 4:03 AM, Wap Addon <rails-mailing-l...@andreas-s.net > wrote:
> > i can use <%= link_to_remote("MEMBER LIST",:update => "mcont", :url => > {:controller => :users, :action => :list }) %> this for user listing and > then it display record i want to do paging on this list file but it is > display one page when i click on second page this will no go to second > my controller > def list > #...@images = Image.paginate :page => params[:page], :per_page => 3 > @users = User.paginate :page => params[:page], :per_page => 3 > respond_to do |format| > format.html # index.html.erb > format.xml { render :xml => @users } > end > end > > in list.html.erb > <%= will_paginate @users%> Hi, have you taken a look at the following screencast: http://railscasts.com/episodes/174-pagination-with-ajax -Conrad > > -- > 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 -~----------~----~----~----~------~----~------~--~---