-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draper is incompatible with Ruby 3 #884
Comments
Seeing the same warning coming from |
I am getting same warning with following Tech Stack
|
brian-kephart
changed the title
Ruby 2.7 keyword argument deprecation
Draper is incompatible with Ruby 3
Dec 27, 2020
Updated the issue title. The deprecations in Ruby 2.7 weren't fixed, so Draper doesn't work with 3.0. |
Addressed this in #894. |
Fixed in #885 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Similar to #869. My test suite spat this out:
The referenced method in ActionView does indeed take keyword arguments. However, the Draper method that causes the warning doesn't appear to be using keyword arguments:
draper/lib/draper/helper_proxy.rb
Line 32 in 3e7faa4
This appears to be a delegation issue as described here. I'm not well-up on delegation techniques or Draper usage, so I won't be submitting a PR for this myself. Hopefully someone else can shed some light on the issue.
The text was updated successfully, but these errors were encountered: