Commit e049e66db2ed474062d5b9e6428924372854aeb2

Authored by Antonio Terceiro
1 parent 6733d04c

ActionItem862: removing duplicated to_default_s

See.
http://dev.rubyonrails.org/changeset/8705
vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb
@@ -8,7 +8,7 @@ module ActiveSupport #:nodoc: @@ -8,7 +8,7 @@ module ActiveSupport #:nodoc:
8 alias_method :to_datetime_default_s, :to_s 8 alias_method :to_datetime_default_s, :to_s
9 alias_method :to_s, :to_formatted_s 9 alias_method :to_s, :to_formatted_s
10 alias_method :default_inspect, :inspect 10 alias_method :default_inspect, :inspect
11 - alias_method :to_default_s, :to_s unless (instance_methods(false) & [:to_s, 'to_s']).empty? 11 + #alias_method :to_default_s, :to_s unless (instance_methods(false) & [:to_s, 'to_s']).empty?
12 12
13 # Ruby 1.9 has DateTime#to_time which internally relies on Time. We define our own #to_time which allows 13 # Ruby 1.9 has DateTime#to_time which internally relies on Time. We define our own #to_time which allows
14 # DateTimes outside the range of what can be created with Time. 14 # DateTimes outside the range of what can be created with Time.