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
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
..
actionpack Added PartialIteration class used when rendering collections 2014-07-16 14:50:51 -03:00
blog_public
comments
custom_pattern
customers Added tests to render helper that expect render partial: @foo to 2014-02-12 17:40:52 +00:00
db_definitions
developers
digestor Variants in ActionView::Digestor 2014-03-04 15:02:58 +01:00
fun
functional_caching
games
good_customers
happy_path/render_action
helpers Remove unused AV helper fixtures from e10a2531 2013-09-14 10:30:17 -07:00
helpers_missing Move abstract's controller tests to AV 2013-08-25 11:40:11 +02:00
layout_tests/alt
layouts
mascots
multipart
override/test Move view_paths from AP to AV 2013-08-25 11:39:07 +02:00
override2/layouts/test Move view_paths from AP to AV 2013-08-25 11:39:07 +02:00
projects
public
replies
respond_to
scope/test
test Ensure LookupContext in Digestor selects correct variant 2014-03-09 08:47:17 +01:00
topics
translations/templates
_top_level_partial.html.erb
_top_level_partial_only.erb
companies.yml
company.rb Copy company test fixture to AV (fixes failing test) 2013-06-20 17:23:16 +02:00
developer.rb Unused classes in AV tests 2013-12-24 11:04:49 +09:00
developers.yml
developers_projects.yml
mascot.rb
mascots.yml
plain_text.raw
plain_text_with_characters.raw
project.rb
projects.yml
replies.yml
reply.rb
ruby_template.ruby
shared.html.erb
topic.rb
topics.yml
with_format.json.erb