Permalink
Browse files

Merge pull request #8896 from NARKOZ/patch-5

remove_possible_method -> remove_method
  • Loading branch information...
2 parents 39a88f6 + c6897b7 commit 7738222173e547ed92c6f85a64ececb766825cf3 @rafaelfranca rafaelfranca committed Jan 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/core_ext/date/conversions.rb
@@ -17,10 +17,10 @@ class Date
}
# Ruby 1.9 has Date#to_time which converts to localtime only.
- remove_possible_method :to_time
+ remove_method :to_time
# Ruby 1.9 has Date#xmlschema which converts to a string without the time component.
- remove_possible_method :xmlschema
+ remove_method :xmlschema
# Convert to a formatted string. See DATE_FORMATS for predefined formats.
#

0 comments on commit 7738222

Please sign in to comment.