Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yuki24
Copy link
Member

@yuki24 yuki24 commented Apr 12, 2019

addresses #909, #925 and #989

I could finally took the time to look into this, and it doesn't seem to be very difficult to deprecate the #current_page method. The rationale here is that it always returns the same value as params[:page] (or whatever is specified through the :param_name option) and there is no need to re-compute the current page.

  • Add support for a nested :param_name option (e.g. needs to look at params[:user][:page] when the :param_name is user[page])
  • Look for gems that depend on scope#current_page (ActiveAdmin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants