aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2014-08-18 21:50:59 -0700
committerGodfrey Chan <godfreykfc@gmail.com>2014-08-18 21:50:59 -0700
commitb08241859f02d1c951516f0f31b73158aa2380b9 (patch)
tree4091da1db07bea80d387b4c2ee4f70bbc620a4ba /guides
parent96b58bb927ffa964b97e3768f3dc37379373e408 (diff)
downloadrails-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.md6
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))