* Support `fields model: [@nested, @model]` the same way as `form_with model: [@nested, @model]`. *Sean Doyle* * Infer HTTP verb `[method]` from a model or Array with model as the first argument to `button_to` when combined with a block: ```ruby button_to(Workshop.find(1)){ "Update" } #=>
button_to([ Workshop.find(1), Session.find(1) ]) { "Update" } #=> ``` *Sean Doyle* * Support passing a Symbol as the first argument to `FormBuilder#button`: ```ruby form.button(:draft, value: true) # => form.button(:draft, value: true) do content_tag(:strong, "Save as draft") end # => ``` *Sean Doyle* * Introduce the `field_name` view helper, along with the `FormBuilder#field_name` counterpart: ```ruby form_for @post do |f| f.field_tag :tag, name: f.field_name(:tag, multiple: true) # => end ``` *Sean Doyle* * Execute the `ActionView::Base.field_error_proc` within the context of the `ActionView::Base` instance: ```ruby config.action_view.field_error_proc = proc { |html| content_tag(:div, html, class: "field_with_errors") } ``` *Sean Doyle* * Add support for `button_to ..., authenticity_token: false` ```ruby button_to "Create", Post.new, authenticity_token: false # => button_to "Create", Post.new, authenticity_token: true # => button_to "Create", Post.new, authenticity_token: "secret" # => ``` *Sean Doyle* * Support rendering ` %> *Sean Doyle* * Change `ActionView::Helpers::UrlHelper#button_to` to *always* render a `