Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warning on Rails 6.0.0.rc1 #157

Closed
jaredmoody opened this issue Apr 26, 2019 · 3 comments
Closed

Deprecation warning on Rails 6.0.0.rc1 #157

jaredmoody opened this issue Apr 26, 2019 · 3 comments

Comments

@jaredmoody
Copy link

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
Copy link
Author

Sorry, wrong place.

@mikelarkin
Copy link

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

@jaredmoody
Copy link
Author

haml/haml#1008

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants