diff options
-rw-r--r-- | actionpack/CHANGELOG | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/helpers/active_record_helper.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 820990a69e..633d33a52e 100644 --- a/actionpack/CHANGELOG +++ b/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] diff --git a/actionpack/lib/action_view/helpers/active_record_helper.rb b/actionpack/lib/action_view/helpers/active_record_helper.rb index dccae1db41..828aebf790 100644 --- a/actionpack/lib/action_view/helpers/active_record_helper.rb +++ b/actionpack/lib/action_view/helpers/active_record_helper.rb @@ -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) |