Skip to content
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

Fix Cell::RailsExtensions::ViewModel#call with keyword args #73

Closed
wants to merge 1 commit into from

Conversation

taketo1113
Copy link
Contributor

…::RailsExtensions::ViewModel#call with keyword args
@apotonick
Copy link
Member

I think we need to introduce different implementations for Ruby < 2.7, I will send you a link how we usually do it if I can find it 😆

@taketo1113
Copy link
Contributor Author

@apotonick The CI error of Ruby < 2.7 is caused by cells gem <= 4.5.0 which does not include support Ruby <2.7 and after.
trailblazer/cells@88796e3

If cells gems release the new version, ci will pass tests.
(And I fixed another cache error which is caused by cells gem.)
trailblazer/cells#507

@AlfonsoUceda
Copy link
Collaborator

The right syntax cells supports is to use options as parameter and then access to it as a hash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ruby 3.0 ActionView::Template::Error: wrong number of arguments error with keyword args
3 participants