Skip to content

DEPRECATION WARNING in Rails 6 #1

@markhallen

Description

@markhallen
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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions