Handle argument delegation for Ruby 3 (#1406)

This commit is contained in:
Gaëtan Masson 2021-02-05 01:16:33 +01:00 committed by GitHub
parent bf850fa043
commit e1d622c09d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ module Shoulda
request_params
end
context.__send__(verb, action, params)
context.__send__(verb, action, **params)
end
def serialized_attributes_for(model)