takeshinoda/thinreports-rails

DEPRECATION WARNING: Single arity template handlers are deprecated

Closed this issue · 2 comments

Hi,

When I updated my Rails application to Rails 6.0.3.2 and tested it, following messages was shown:

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:
  >> ThinreportsRails::TemplateHandler.call(template)
To:
  >> ThinreportsRails::TemplateHandler.call(template, source)

This issue appears to have been resolved at #18.

Oh, sorry to bother you...