-
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
ArgumentError using helpers with Ruby 3 #906
Comments
Using the current version of Draper from RubyGems results in errors like these. Support for Ruby 3 kwargs was added to git, but has not been released yet. Try installing directly from Github and see if the issue disappears. # Gemfile
gem 'draper', github: 'drapergem/draper' @codebycliff is there anything blocking a new minor/patch release for Ruby 3 support? |
Yeah, it works, thanks! Waiting for the release for ruby 3 support! :) |
See #902 |
@CaioFML v4.0.2 has been released, so I think we can close this issue. |
Hello guys, I upgraded my Ruby for 3.0 from 2.7 and I'm having some troubles.
I have this helper in application_helper.rb:
And when I call this method h.format_datetime with format like:
I receive:
But it works if I extract to a private method in draper, any thoughts?
The text was updated successfully, but these errors were encountered: