Allow data attributes to be set as a first-level option for form_for, so you...
Allow data attributes to be set as a first-level option for form_for, so you can write `form_for @record, data: { behavior: 'autosave' }` instead of `form_for @record, html: { data: { behavior: 'autosave' } }` *DHH*
Showing
想要评论请 注册 或 登录