Flowdock
method

name_and_id_from_options

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: ActionView::Helpers::DateHelper
name_and_id_from_options(options, type) private

No documentation

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

Hide source
# File actionpack/lib/action_view/helpers/date_helper.rb, line 567
        def name_and_id_from_options(options, type)
          options[:name] = (options[:prefix] || DEFAULT_PREFIX) + (options[:discard_type] ? '' : "[#{type}]")
          options[:id] = options[:name].gsub(/([\[\(])|(\]\[)/, '_').gsub(/[\]\)]/, '')
        end
Register or log in to add new notes.