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
customers
fun/games
good_customers
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
test Added PartialIteration class used when rendering collections 2014-07-16 14:50:51 -03:00
hello.html
shared.html.erb