aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Buesing <gbuesing@gmail.com>2009-04-05 10:15:54 -0500
committerGeoff Buesing <gbuesing@gmail.com>2009-04-05 10:15:54 -0500
commit7685ea20b4915f907082a22028260d04024a200b (patch)
tree31756cb893fa4c8050d7c1a7c57b06c918a698f2
parentc00f2d25de640b8de1c8583474085f3836ee1768 (diff)
downloadrails-7685ea20b4915f907082a22028260d04024a200b.tar.gz
rails-7685ea20b4915f907082a22028260d04024a200b.tar.bz2
rails-7685ea20b4915f907082a22028260d04024a200b.zip
Hash::XML_TYPE_NAMES: no longer a need for a TimeWithZone entry; this class will now match "Time"
-rw-r--r--activesupport/lib/active_support/core_ext/hash/conversions.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/conversions.rb b/activesupport/lib/active_support/core_ext/hash/conversions.rb
index 10435975c5..f8a5e70eea 100644
--- a/activesupport/lib/active_support/core_ext/hash/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb
@@ -28,8 +28,7 @@ module ActiveSupport #:nodoc:
"FalseClass" => "boolean",
"Date" => "date",
"DateTime" => "datetime",
- "Time" => "datetime",
- "ActiveSupport::TimeWithZone" => "datetime"
+ "Time" => "datetime"
} unless defined?(XML_TYPE_NAMES)
XML_FORMATTING = {