Since upgrading Rails from 5.1 to 5.2, form_with is not defaulting to remote: true, although it was in rails 5.1
How to default to remote true?
#config/initializers/form_with_remote.rb
Rails.application.config.action_view.form_with_generates_remote_forms = true
I don't understand why, because the default should be true... but it works