mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
require publicize_conversion_method to ensure to_date and to_datetime became public before redefining them (avoid warnings)
This commit is contained in:
committed by
Yehuda Katz
parent
a0a01d0c98
commit
e4b910f6a3
@@ -1,4 +1,5 @@
|
||||
require 'date'
|
||||
require 'active_support/core_ext/time/publicize_conversion_methods'
|
||||
require 'active_support/core_ext/time/calculations'
|
||||
|
||||
class String
|
||||
|
||||
Reference in New Issue
Block a user