aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/deprecated/performance_test.rb
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-02-13 22:48:47 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-02-13 22:48:48 -0200
commita10ed70999935cf86bd9a170ce3d4748631968ca (patch)
tree2ad22cf0f1c6654192b170c726ff4ea9abf3848d /actionpack/lib/action_controller/deprecated/performance_test.rb
parent11d1bdc09e91f1d77c36b7afeef912de0b94f331 (diff)
downloadrails-a10ed70999935cf86bd9a170ce3d4748631968ca.tar.gz
rails-a10ed70999935cf86bd9a170ce3d4748631968ca.tar.bz2
rails-a10ed70999935cf86bd9a170ce3d4748631968ca.zip
Allow collection helpers with block to access current object in the collection
This gives a lot more flexibility to the user, for instance to generate a collection of check boxes and labels, allowing to add custom classes or data-* attributes to the label/check_box using another object attribute. This basically mimics options_for_select functionality that accepts a third option for each item to generate html attributes for each option.
Diffstat (limited to 'actionpack/lib/action_controller/deprecated/performance_test.rb')
0 files changed, 0 insertions, 0 deletions