After updating to Rails 6.1 I found that all my form_with helpers were broken. After some hunting I uncover
config.action_view.form_with_generates_remote_forms: false is now the default setting.
Just so I understand (still a Rails beginner), I now have to add “local: false” to all my form_with helpers (or change the config default setting to true) in order to get ‘data-remote: true’ enabled on my forms? Seeking some clarification because the Rails 6.1 API docs seems at odds with this:
:local - By default form submits are remote and unobtrusive XHRs. Disable remote submits with local: true.