diff options
Diffstat (limited to 'actionpack/lib/action_view/helpers/active_record_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/active_record_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/active_record_helper.rb b/actionpack/lib/action_view/helpers/active_record_helper.rb index a7bfb77db3..7a1aeff342 100644 --- a/actionpack/lib/action_view/helpers/active_record_helper.rb +++ b/actionpack/lib/action_view/helpers/active_record_helper.rb @@ -161,7 +161,7 @@ module ActionView to_input_field_tag(field_type, options) when :text to_text_area_tag(options) - when :integer, :float + when :integer, :float, :decimal to_input_field_tag("text", options) when :date to_date_select_tag(options) |