diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2012-08-08 16:35:59 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2012-08-08 16:36:46 -0500 |
commit | b540f4c1b812453d680724527635eddbffb980c4 (patch) | |
tree | 495e3c1465a476e39d7ed9799f066f02177958e1 /activemodel/MIT-LICENSE | |
parent | c0954a4802028976d59f3fec645c5784e1572e82 (diff) | |
download | rails-b540f4c1b812453d680724527635eddbffb980c4.tar.gz rails-b540f4c1b812453d680724527635eddbffb980c4.tar.bz2 rails-b540f4c1b812453d680724527635eddbffb980c4.zip |
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*
Diffstat (limited to 'activemodel/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions