1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib
localhostdotdev b2b2f70f1f Fix arity warning for template handlers
Mainly to help with knowning which template is reponsible for the
warning.

handler.class # => Class

handler.to_s # => Coffee::Rails::TemplateHandler

Before:

Change:
  >> Class#call(template)
To:
  >> Class#call(template, source)

After:

Change:
  >> Coffee::Rails::TemplateHandler.call(template)
To:
  >> Coffee::Rails::TemplateHandler.call(template, source)
2019-04-04 19:13:46 +02:00
..
action_view Fix arity warning for template handlers 2019-04-04 19:13:46 +02:00
action_view.rb Only clear template caches in dev after changes (#35629) 2019-04-01 21:22:57 +02:00