= private = protected
sanitize_to_id(name)
see http://www.w3.org/TR/html4/types.html#type-name
# File actionview/lib/action_view/helpers/form_tag_helper.rb, line 1021 def sanitize_to_id(name) name.to_s.delete("]").tr("^-a-zA-Z0-9:.", "_") end