diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2011-03-26 14:44:36 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-03-26 14:45:00 -0700 |
commit | f8a05ad297d637596d029b013bb65128ca0aa8bd (patch) | |
tree | 682e84f2417eeb4cca4492a8a56ec6f59e876df3 /actionpack/CHANGELOG | |
parent | dea3d2dd203fe2008ccfae6b6575da0b0001e466 (diff) | |
download | rails-f8a05ad297d637596d029b013bb65128ca0aa8bd.tar.gz rails-f8a05ad297d637596d029b013bb65128ca0aa8bd.tar.bz2 rails-f8a05ad297d637596d029b013bb65128ca0aa8bd.zip |
Allow FormHelper#form_for to specify the :method as a direct option instead of through the :html hash [DHH]
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index a8a4338630..cc19402243 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,9 @@ *Rails 3.1.0 (unreleased)* +* Allow FormHelper#form_for to specify the :method as a direct option instead of through the :html hash [DHH] + + form_for(@post, remote: true, method: :delete) instead of form_for(@post, remote: true, html: { method: :delete }) + * Make JavaScriptHelper#j() an alias for JavaScriptHelper#escape_javascript() -- note this then supersedes the Object#j() method that the JSON gem adds within templates using the JavaScriptHelper [DHH] * Sensitive query string parameters (specified in config.filter_parameters) will now be filtered out from the request paths in the log file. [Prem Sichanugrist, fxn] |