Flowdock
method

hidden_field

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: CollectionCheckBoxes
hidden_field() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/tags/collection_check_boxes.rb, line 43
        def hidden_field
          hidden_name = @html_options[:name]

          hidden_name ||= if @options.has_key?(:index)
            "#{tag_name_with_index(@options[:index])}[]"
          else
            "#{tag_name}[]"
          end

          @template_object.hidden_field_tag(hidden_name, "", id: nil)
        end
Register or log in to add new notes.