Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 5436ffa840f26116b14631d5efcd5d17f27f947b 1 parent 1facce6
@dhh dhh authored
View
2  actionpack/CHANGELOG
@@ -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]
View
2  actionpack/lib/action_view/helpers/active_record_helper.rb
@@ -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.
Something went wrong with that request. Please try again.