You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will_paginate 3.0.pre2 provided previous_page and next_page methods on the object returned from .paginate(:page => params[:page]). These were useful to check if I wanted to alter other parts of the view when a next/prev page was available. Now in 3.0.0 they are gone. It looks like this is a result of handing back the ActiveRecord::Relation rather than a WillPaginate::Collection. Can I get these methods back?
The text was updated successfully, but these errors were encountered:
will_paginate 3.0.pre2 provided previous_page and next_page methods on the object returned from .paginate(:page => params[:page]). These were useful to check if I wanted to alter other parts of the view when a next/prev page was available. Now in 3.0.0 they are gone. It looks like this is a result of handing back the ActiveRecord::Relation rather than a WillPaginate::Collection. Can I get these methods back?
The text was updated successfully, but these errors were encountered: