You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It raises the error of ActionView::Template::Error: wrong number of arguments when exec Cell::RailsExtensions::ViewModel#call with keyword args in ruby 3.0.
I created #73 to fix Cell::RailsExtensions::ViewModel#call with keyword args.
but it fail test because it need to release the commit trailblazer/cells@88796e3 of cells gem.
It raises the error of
ActionView::Template::Error: wrong number of arguments
when execCell::RailsExtensions::ViewModel#call
with keyword args in ruby 3.0.Steps to reproduce
ref: taketo1113@f7a9c66
Expected behavior
It will render
with_title
cell with keyword args.Actual behavior
It raises the below error.
It can't get
with_title
args of keyword args inSongCell#with_title
.Because
Cell::RailsExtensions::ViewModel#call
does not support keyword args.It seems it is able to fix the args of
Cell::RailsExtensions::ViewModel#call
.https://github.com/trailblazer/cells-rails/blob/master/lib/cell/rails.rb#L55
System configuration
The text was updated successfully, but these errors were encountered: