aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/3_2_release_notes.md
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-04-13 20:15:25 +0200
committerRobin Dupret <robin.dupret@gmail.com>2014-04-13 20:15:25 +0200
commit2c21e6adc330791adb229aed975b1d4f4527c77d (patch)
treea658632325e33a600bba73b3f8894c9c7b406561 /guides/source/3_2_release_notes.md
parent0bccde963c0b3e2ad65b2bdac9d144f40854ec90 (diff)
parent982a19edc932caa3d58394b0f7076a191eff5a54 (diff)
downloadrails-2c21e6adc330791adb229aed975b1d4f4527c77d.tar.gz
rails-2c21e6adc330791adb229aed975b1d4f4527c77d.tar.bz2
rails-2c21e6adc330791adb229aed975b1d4f4527c77d.zip
Merge pull request #14732 from JuanitoFatas/doc/patch1
[ci skip] Use plain underscore instead of "\_". [ci skip]
Diffstat (limited to 'guides/source/3_2_release_notes.md')
-rw-r--r--guides/source/3_2_release_notes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/3_2_release_notes.md b/guides/source/3_2_release_notes.md
index ce811a583b..cdcde67869 100644
--- a/guides/source/3_2_release_notes.md
+++ b/guides/source/3_2_release_notes.md
@@ -187,7 +187,7 @@ Action Pack
Rails will use `layouts/single_car` when a request comes in `:show` action, and use `layouts/application` (or `layouts/cars`, if exists) when a request comes in for any other actions.
-* `form\_for` is changed to use `#{action}\_#{as}` as the css class and id if `:as` option is provided. Earlier versions used `#{as}\_#{action}`.
+* `form_for` is changed to use `#{action}_#{as}` as the css class and id if `:as` option is provided. Earlier versions used `#{as}_#{action}`.
* `ActionController::ParamsWrapper` on Active Record models now only wrap `attr_accessible` attributes if they were set. If not, only the attributes returned by the class method `attribute_names` will be wrapped. This fixes the wrapping of nested attributes by adding them to `attr_accessible`.