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
- `check_parameters` kwargs was added to the `current_page?` method, the implementation was assuming only hashes responds to `delete`. This was causing issues when `current_page?` was called with a Active Model object
- ref rails#27549
- Fixesrails#28846
Steps to reproduce
link_to_unless_current
in Rails 5.1.0.rc2:Expected behavior
url_for
to determine the path to compare againstActual behavior
Full stack trace: https://gist.github.com/jbhannah/fd3fef8e2a8a341d8b29fc5f772ea5a6
System configuration
Rails version: 5.1.0.rc2
Ruby version: 2.4.1
The text was updated successfully, but these errors were encountered: