class ActionView::RenderParser
def normalize_args(string, options_hash)
or
render(template: "foo", ...)
into either
render("foo", ...)
Convert
def normalize_args(string, options_hash) if options_hash { partial: string, locals: options_hash } else { partial: string } end end