lib/formular/elements.rb
def form_encoded_name
        return unless path

        options[:multiple] || options[:collection] ? super + '[]' : super
      end
# only append the [] to name if part of a collection, or the multiple option is set
only append the [] to name if part of a collection, or the multiple option is set
only append the [] to name if part of a collection or the multiple option is set
def form_encoded_name
        return unless path
        options[:multiple] || options[:collection] ? super + '[]' : super
      end
def form_encoded_name return unless path options [ :multiple ] || options [ :collection ] ? super + '[]' : super end
only append the [] to name if part of a collection, or the multiple option is set
only append the [] to name if part of a collection or the multiple option is set