aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/engine.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2012-08-08 16:35:59 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2012-08-08 16:36:46 -0500
commitb540f4c1b812453d680724527635eddbffb980c4 (patch)
tree495e3c1465a476e39d7ed9799f066f02177958e1 /railties/lib/rails/engine.rb
parentc0954a4802028976d59f3fec645c5784e1572e82 (diff)
downloadrails-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 'railties/lib/rails/engine.rb')
0 files changed, 0 insertions, 0 deletions