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
Unfortunately, we had this old gem in a application, which we upgraded from 5.2 to 6.0.
Due to the same issue described in rspec/rspec-rails#2086 we monkey patched coffee-views to make it work again. Feel free to implement it, if you need it.
# Monkey patch for rails 6.# The fix was adopted from the fix by rspec.# https://github.com/rspec/rspec-rails/issues/2086# https://github.com/rails/rails/commit/28f88e0074f473f58c2d3fd54cb3daff81027c12#diff-562906215bf781788ec5aaf37e958cb8# https://github.com/yury/coffee-views/blob/master/lib/coffee_views/rails.rb#L29CoffeeViews::Rails::TemplateHandler.class_evaldodefself.call(template)source=compile_coffee(template.source)template.instance_variable_set:@source,sourceerb_handler.call(template,_source=source)endend
The text was updated successfully, but these errors were encountered:
Unfortunately, we had this old gem in a application, which we upgraded from 5.2 to 6.0.
Due to the same issue described in rspec/rspec-rails#2086 we monkey patched coffee-views to make it work again. Feel free to implement it, if you need it.
The text was updated successfully, but these errors were encountered: