Permalink
Browse files

require publicize_conversion_method to ensure to_date and to_datetime…

… became public before redefining them (avoid warnings)
  • Loading branch information...
1 parent a0a01d0 commit e4b910f6a37fa0eb02b0545e7320cfe4d7ff2c04 @spastorino spastorino committed with Yehuda Katz Feb 19, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 activesupport/lib/active_support/core_ext/string/conversions.rb
View
1 activesupport/lib/active_support/core_ext/string/conversions.rb
@@ -1,4 +1,5 @@
require 'date'
+require 'active_support/core_ext/time/publicize_conversion_methods'
require 'active_support/core_ext/time/calculations'
class String

0 comments on commit e4b910f

Please sign in to comment.