From e049e66db2ed474062d5b9e6428924372854aeb2 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 2 Jan 2009 19:08:19 -0300 Subject: [PATCH] ActionItem862: removing duplicated to_default_s --- vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb b/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb index 2ebaf39..76c892e 100644 --- a/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +++ b/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb @@ -8,7 +8,7 @@ module ActiveSupport #:nodoc: alias_method :to_datetime_default_s, :to_s alias_method :to_s, :to_formatted_s alias_method :default_inspect, :inspect - alias_method :to_default_s, :to_s unless (instance_methods(false) & [:to_s, 'to_s']).empty? + #alias_method :to_default_s, :to_s unless (instance_methods(false) & [:to_s, 'to_s']).empty? # Ruby 1.9 has DateTime#to_time which internally relies on Time. We define our own #to_time which allows # DateTimes outside the range of what can be created with Time. -- libgit2 0.21.2