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

Single arity template handlers are deprecated in Rails 6.0 #61

Open
Alexey1100 opened this issue Oct 20, 2019 · 0 comments
Open

Single arity template handlers are deprecated in Rails 6.0 #61

Alexey1100 opened this issue Oct 20, 2019 · 0 comments

Comments

@Alexey1100
Copy link

Getting following deprecation warning when using fortitude with Rails 6.0.0

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:
  >> #<Fortitude::Rails::TemplateHandler:0x000055c7f4ffcc58>.call(template, block)
To:
  >> #<Fortitude::Rails::TemplateHandler:0x000055c7f4ffcc58>.call(template, block, source)
 (called from <top (required)> at config/application.rb:7)
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

1 participant