Commit e049e66db2ed474062d5b9e6428924372854aeb2
1 parent
6733d04c
Exists in
master
and in
28 other branches
ActionItem862: removing duplicated to_default_s
See. http://dev.rubyonrails.org/changeset/8705
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb
... | ... | @@ -8,7 +8,7 @@ module ActiveSupport #:nodoc: |
8 | 8 | alias_method :to_datetime_default_s, :to_s |
9 | 9 | alias_method :to_s, :to_formatted_s |
10 | 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 | 13 | # Ruby 1.9 has DateTime#to_time which internally relies on Time. We define our own #to_time which allows |
14 | 14 | # DateTimes outside the range of what can be created with Time. | ... | ... |