halfdan / piwik-ruby-tracking

A Ruby Gem that allows you to add the Piwik Tracking Code to Sinatra, Padrinorb and Rails
MIT License
52 stars 33 forks source link

`piwik_tracking_tag` broken on Rails 6.1 #27

Closed ragesoss closed 2 years ago

ragesoss commented 3 years ago

When using the piwik_tracking_tag helper on Rails 6.1, Rails now throws an error:

render file: should be given the absolute path to a file.

Support for relative paths was removed in 6.1 after being deprecated in 6.0: https://github.com/rails/rails/commit/2759addf2c01b1f490676ac68422b6f3b07a05d1#diff-c9e9eb8abbc69bf02a393ef81272c391f2ba4476dce59ae8389dae4e08f41a87