redgetan / view_inspect

DOM source location finder for Rails
MIT License
20 stars 1 forks source link

Incompatible with Rails 5 in combination with Haml 5 #1

Open rene-demonsters opened 5 years ago

rene-demonsters commented 5 years ago

During the upgrade of one of our projects we've found that view_inspect is incompatible with Rails 5 in combination with Haml 5. (The readme of this gem only states rails 3 and 4 anyway). For future reference, the issues we were running into were: https://github.com/haml/haml/issues/1003

fffx commented 3 years ago

Rails has similar function now .annotate_template_file_names annotates HTML output with template file names, haml support this since 5.2.2 https://github.com/haml/haml/releases/tag/v5.2.2