form_with(local

2022-05-02 rails

To make normal(http post) form, need to add local parameter.

form_with(model: foo, local: true) do |f|