From a7d9f0f119e8556f50e014e56fe571a02b419487 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 21 Mar 2010 21:09:48 -0300 Subject: [PATCH] avoid active_support/core_ext/time/conversions.rb warnings [#4250 state:resolved] --- Gemfile | 2 ++ .../active_support/core_ext/time/conversions.rb | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Gemfile b/Gemfile index a51c560..b40916b 100644 --- a/Gemfile +++ b/Gemfile @@ -19,6 +19,8 @@ group :test do gem "mysql", ">= 2.8.1" end +gem "system_timer" + # AP gem "rack-test", "0.5.3", :require => 'rack/test' gem "RedCloth", ">= 4.2.2" diff --git a/activesupport/lib/active_support/core_ext/time/conversions.rb b/activesupport/lib/active_support/core_ext/time/conversions.rb index 6d9c080..86103eb 100644 --- a/activesupport/lib/active_support/core_ext/time/conversions.rb +++ b/activesupport/lib/active_support/core_ext/time/conversions.rb @@ -1,4 +1,5 @@ require 'active_support/inflector' +require 'active_support/core_ext/time/publicize_conversion_methods' require 'active_support/values/time_zone' class Time -- 1.7.0