Permalink
Browse files

Treat timestamps like datetimes for scaffolding purposes (closes #3388)…

… [Maik Schmidt]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3457 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 1facce6 commit 5436ffa840f26116b14631d5efcd5d17f27f947b @dhh dhh committed Jan 21, 2006
Showing with 3 additions and 1 deletion.
  1. +2 −0 actionpack/CHANGELOG
  2. +1 −1 actionpack/lib/action_view/helpers/active_record_helper.rb
View
@@ -1,5 +1,7 @@
*SVN*
+* Treat timestamps like datetimes for scaffolding purposes #3388 [Maik Schmidt]
+
* Fix IE bug with link_to "something", :post => true #3443 [Justin Palmer]
* Extract Test::Unit::TestCase test process behavior into an ActionController::TestProcess module. [Sam Stephenson]
@@ -141,7 +141,7 @@ def to_tag(options = {})
to_input_field_tag("text", options)
when :date
to_date_select_tag(options)
- when :datetime
+ when :datetime, :timestamp
to_datetime_select_tag(options)
when :boolean
to_boolean_select_tag(options)

0 comments on commit 5436ffa

Please sign in to comment.