DEPRECATION WARNING: Single arity template handlers are deprecated
Closed this issue · 2 comments
bsdmad commented
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)
bsdmad commented
Oh, sorry to bother you...