1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/test/fixtures/actionpack
Joel Junström 1f5b360466 Added PartialIteration class used when rendering collections
The iteration object is available as the local variable
"template_name_iteration" when rendering partials with collections.

It gives access to the +size+ of the collection beeing iterated over,
the current +index+ and two convinicence methods +first?+ and +last?+

"template_name_counter" variable is kept but is deprecated.

[Joel Junström + Lucas Uyezu]
2014-07-16 14:50:51 -03:00
..
bad_customers Move render_test to AV 2013-08-25 11:39:13 +02:00
customers Move render_test to AV 2013-08-25 11:39:13 +02:00
fun/games Move render_test to AV 2013-08-25 11:39:13 +02:00
good_customers Move render_test to AV 2013-08-25 11:39:13 +02:00
layout_tests Move remaining layouts tests to AV 2013-08-25 11:39:14 +02:00
layouts Move remaining layouts tests to AV 2013-08-25 11:39:14 +02:00
quiz/questions Move render_test to AV 2013-08-25 11:39:13 +02:00
test Added PartialIteration class used when rendering collections 2014-07-16 14:50:51 -03:00
hello.html Move render_test to AV 2013-08-25 11:39:13 +02:00
shared.html.erb Move render_test to AV 2013-08-25 11:39:13 +02:00