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

Fix deprecation warnings on Rails 6 #39

Merged
merged 1 commit into from May 22, 2019
Merged

Fix deprecation warnings on Rails 6 #39

merged 1 commit into from May 22, 2019

Conversation

tatey
Copy link
Contributor

@tatey tatey commented May 22, 2019

Rails 6 RC1 changed the way handlers are called in rails/rails@28f88e0074. It looks like we should prefer using the second source argument when it's given. There are similar patches in in Haml and Temple.

This patch will maintain backwards compatibility with earlier versions of Rails. All tests are passing ✅. Let me know if there's anything else I can do to help. I'm open to any feedback you have.

This maintains backwards compatibility with earlier versions of Rails.
@tatey
Copy link
Contributor Author

tatey commented May 22, 2019

Thank you! 🎉

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

Successfully merging this pull request may close these issues.

None yet

2 participants