Flowdock
method

to_number_field_tag

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: ActionView::Helpers::InstanceTag

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

to_number_field_tag(field_type, options = {}) public

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/form_helper.rb, line 1047
      def to_number_field_tag(field_type, options = {})
        options = options.stringify_keys
        options['size'] ||= nil

        if range = options.delete("in") || options.delete("within")
          options.update("min" => range.min, "max" => range.max)
        end
        to_input_field_tag(field_type, options)
      end
Register or log in to add new notes.