UncleGene / flay-actionpack

Flay your rails ERB
MIT License
4 stars 2 forks source link

`ActionView::Template::Handlers::ERB.call` has changed signature #2

Closed kwy95 closed 1 year ago

kwy95 commented 1 year ago

While attempting to use this gem on a project I kept receiving a wrong number of arguments error, upon ivestigation I suspect the culprit to be: https://github.com/UncleGene/flay-actionpack/blob/master/lib/flay_actionpack.rb#L15

This is because the function being called has been updated to use a different signature: https://github.com/rails/rails/blob/348e609da369c4a32cdcab51a78edcd0ad2942c1/actionview/lib/action_view/template/handlers/erb.rb#L57