Displaying 1 result from an estimated 1 matches for "right_pages".
2006 Apr 23
2
pass the params please
...rying to paginate and keep the params from my ''find'' without making
it a fully blown method.
my params are
[:right][:name]
[:right][:controller]
[:right][:action]
view code is relatively simple pagination stuff...
<%= link_to ''Next page'', {
:page => @right_pages.current.next,
:params => params
} if @right_pages.current.next %>
If I do it like shown above, my params are nameactioncontrollerclients
and that obviously doesn''t work.
If I do it like
:params[:right] => params[:right]
that returns an error
:params => params[:rig...