Hello I am using will_paginte plugin on two objects on a same page. Like on stackoverflow. There is a profile page on which there is a pagination on two things QUestions an
You can specify a :param_name
option to tell will_paginate the name of the parameter to use for the page number within URLs (the default is :page
). So you could do:
<%= will_paginate @questions, :param_name => 'questions_page' %>
<%= will_paginate @answers, :param_name => 'answers_page' %>