Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Provide support for decimal columns to form helpers. Closes #5672. [d…
…ave@pragprog.com]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
Marcel Molina committed Jul 13, 2006
1 parent d68fd78 commit c80c636
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*

* Provide support for decimal columns to form helpers. Closes #5672. [dave@pragprog.com]

* Update documentation for erb trim syntax. #5651 [matt@mattmargolis.net]

* Pass :id => nil or :class => nil to error_messages_for to supress that html attribute. #3586 [olivier_ansaldi@yahoo.com, sebastien@goetzilla.info]
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/active_record_helper.rb
Expand Up @@ -161,7 +161,7 @@ def to_tag(options = {})
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)
Expand Down

0 comments on commit c80c636

Please sign in to comment.