diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-08-18 21:50:59 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-08-18 21:50:59 -0700 |
commit | b08241859f02d1c951516f0f31b73158aa2380b9 (patch) | |
tree | 4091da1db07bea80d387b4c2ee4f70bbc620a4ba /guides | |
parent | 96b58bb927ffa964b97e3768f3dc37379373e408 (diff) | |
download | rails-b08241859f02d1c951516f0f31b73158aa2380b9.tar.gz rails-b08241859f02d1c951516f0f31b73158aa2380b9.tar.bz2 rails-b08241859f02d1c951516f0f31b73158aa2380b9.zip |
Sync Action View release notes [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/4_2_release_notes.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md index bf6d387145..4ed9fad1e5 100644 --- a/guides/source/4_2_release_notes.md +++ b/guides/source/4_2_release_notes.md @@ -244,6 +244,12 @@ Please refer to the [Changelog][action-view] for detailed changes. ### Notable changes +* Introduced a `#{partial_name}_iteration` special local variable for use with + partials that are rendered with a collection. It provides the access to the + current state of the iteration via the `#index`, `#size`, `#first?` and + `#last?` methods. + ([Pull Request](https://github.com/rails/rails/pull/7698)) + * The form helpers no longer generate a `<div>` element with inline CSS around the hidden fields. ([Pull Request](https://github.com/rails/rails/pull/14738)) |