Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "Exception: ActionView::Template::Error: wrong number of argument…
…s (2 for 1)" correctly The compatibility issue rails#41783 is caused by 08edf16 and abd27d5 to fix the wrong number of arguments error which is caused by d124f19 (Ruby 2.2 doesn't have `Base64.urlsafe_encode64(..., padding: false)` option). https://buildkite.com/rails/rails/builds/69289#5fba2577-5872-446a-af47-27c188850924/911-919 When I was fixing this error, I accidentally introduced a part of rails#18496 to 5-2-stable because I referred to the code in the master branch, and the new error occurred. https://buildkite.com/rails/rails/builds/69290#95836b97-b446-4d41-a3a5-a1da2149bad3/911-1095 In that time, I wasn't sure why the new error occurred. Since I supposed the master branch is correct, I fixed the failure tests one by one, referred to the test code in the master branch. As a result, rails#18496 was introduced to 5-2-stable without cf3736d. I've reverted 08edf16 and abd27d5 since the incompatible change was unintentional, and I've made correct fix for the wrong number of arguments error.
- Loading branch information