haml / haml-rails

let your Gemfile do the talking
MIT License
1.04k stars 169 forks source link

Deprecation warning on Rails 6.0.0.rc1 #157

Closed jaredmoody closed 5 years ago

jaredmoody commented 5 years ago
DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must
now accept two parameters, the view object and the source for the view object.
Change:
  >> Haml::Plugin.call(template)
To:
  >> Haml::Plugin.call(template, source)
jaredmoody commented 5 years ago

Sorry, wrong place.

mikelarkin commented 5 years ago

Where is the proper place then? I'm using this Gem and getting this warning (as well as failed specs)

jaredmoody commented 5 years ago

https://github.com/haml/haml/pull/1008