mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
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
This commit is contained in:
parent
1facce6c24
commit
5436ffa840
2 changed files with 3 additions and 1 deletions
|
@ -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 @@ module ActionView
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue