1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib/action_view
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
..
helpers Merge pull request #16161 from jpawlyn/master 2014-07-15 09:32:01 +01:00
locale Move actionpack/lib/action_view* into actionview/lib 2013-06-20 17:23:15 +02:00
renderer Added PartialIteration class used when rendering collections 2014-07-16 14:50:51 -03:00
tasks Fix cache_digest rake tasks 2014-06-10 13:52:36 +02:00
template Add unregister_template_handler to prevent leaks. 2014-06-12 18:49:40 +08:00
testing Add variants to Template class 2014-03-14 13:18:14 +01:00
vendor Merge branch 'master' of github.com:lifo/docrails 2013-12-20 00:10:30 +05:30
base.rb Builder source code is still available on github [ci skip] 2014-06-13 10:12:20 -07:00
buffers.rb Move actionpack/lib/action_view* into actionview/lib 2013-06-20 17:23:15 +02:00
context.rb Move actionpack/lib/action_view* into actionview/lib 2013-06-20 17:23:15 +02:00
dependency_tracker.rb Avoid scanning multiple render calls as a single match. 2014-01-09 20:37:00 -02:00
digestor.rb Log digest as :debug instead of :info 2014-07-15 14:18:32 +10:00
flows.rb Comment typo 2013-06-25 14:34:51 -04:00
gem_version.rb Introduce Rails.gem_version 2014-03-05 12:37:38 -05:00
helpers.rb Make ActionView::Tags loading tread safe 2013-12-02 20:27:50 -02:00
layouts.rb Introduce render :html for render HTML string 2014-02-18 12:08:36 -05:00
log_subscriber.rb Drop one more string allocation 2013-11-09 18:28:32 -02:00
lookup_context.rb Typo, grammar and textual changes [ci skip] 2014-05-03 11:11:19 +05:30
model_naming.rb Move actionpack/lib/action_view* into actionview/lib 2013-06-20 17:23:15 +02:00
path_set.rb Move actionpack/lib/action_view* into actionview/lib 2013-06-20 17:23:15 +02:00
railtie.rb Remove the explicit order set for the initializer 2013-12-05 16:37:10 -02:00
record_identifier.rb Move actionpack/lib/action_view* into actionview/lib 2013-06-20 17:23:15 +02:00
rendering.rb documentation fix 2014-05-24 23:18:29 +05:30
routing_url_for.rb use the helper method builder to construct helper methods 2014-05-12 15:54:45 -07:00
template.rb Add variants to Template class 2014-03-14 13:18:14 +01:00
test_case.rb Fix subscriptions not being unsubscribed. 2014-04-14 08:44:47 -07:00
version.rb Introduce Rails.gem_version 2014-03-05 12:37:38 -05:00
view_paths.rb We need an explicit return 2014-05-14 14:28:54 -03:00