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 in Rails 6 #1

Open
markhallen opened this issue Sep 11, 2019 · 1 comment · May be fixed by #2
Open

DEPRECATION WARNING in Rails 6 #1

markhallen opened this issue Sep 11, 2019 · 1 comment · May be fixed by #2

Comments

@markhallen
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:
  >> KramdownRails::TemplateHandler.call(template)
To:
  >> KramdownRails::TemplateHandler.call(template, source)
 (called from <top (required)> at /rails-app-dir/config/application.rb:7)
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:
  >> KramdownRails::TemplateHandler.call(template)
To:
  >> KramdownRails::TemplateHandler.call(template, source)
 (called from <top (required)> at /rails-app-dir/config/application.rb:7)
Loading development environment (Rails 6.0.0)
@markhallen
Copy link
Author

@chrisroberts Can create a PR for this?

Myrronth added a commit to future-coop/vanilla-bean-kramdown-rails that referenced this issue Nov 7, 2019
Myrronth added a commit to future-coop/vanilla-bean-kramdown-rails that referenced this issue Nov 7, 2019
@Myrronth Myrronth linked a pull request Nov 7, 2019 that will close this issue
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 a pull request may close this issue.

1 participant