diff options
Diffstat (limited to 'actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb b/actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb index d8f7a1fff6..ae27c4e6da 100644 --- a/actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb +++ b/actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb @@ -5,9 +5,7 @@ module ActionView delegate :check_box, :label, :to => :@template_object def render - rendered_collection = render_collection( - @method_name, @collection, @value_method, @text_method, @options, @html_options - ) do |value, text, default_html_options| + rendered_collection = render_collection do |value, text, default_html_options| default_html_options[:multiple] = true if block_given? |