Closed maxtilford closed 4 years ago
:wave: I've checked out your PR and it works fine for me. @mkhairi is there anything we can do to push this into a release? Need help? Happy to verify in older Rails versions if needed :)
Thank you 🙏
Changed my Gemfile to:
gem "materialize-sass", github: "mkhairi/materialize-sass", ref: "6536812"
and the deprecation notices are gone! 🧙
Including the gem in a Rails 6 app results in the following error message:
This change uses ActiveSupport's onload hook in order to ensure that the materialize helpers are added to the newly loaded ActionController::Base, whenever a reload occurs.
Fixes #192