Methods
I
Attributes
[RW] partial_rendered_times
Instance Public methods
index()
# File actionpack/test/controller/caching_test.rb, line 378
def index
  @customers = [Customer.new('david', params[:id] || 1)]
end
index_explicit_render_in_controller()
# File actionpack/test/controller/caching_test.rb, line 387
def index_explicit_render_in_controller
  @customers = [Customer.new('david', 1)]
  render partial: 'customers/customer', collection: @customers, cached: true
end
index_ordered()
# File actionpack/test/controller/caching_test.rb, line 382
def index_ordered
  @customers = [Customer.new('david', 1), Customer.new('david', 2), Customer.new('david', 3)]
  render 'index'
end
index_with_comment()
# File actionpack/test/controller/caching_test.rb, line 392
def index_with_comment
  @customers = [Customer.new('david', 1)]
  render partial: 'customers/commented_customer', collection: @customers, as: :customer, cached: true
end