aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-03-11 01:37:33 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-03-11 01:37:33 -0300
commitc82b3a8104c20f2f46a12159a8d1f7782944bf80 (patch)
tree77af6d17469561828ff89e16c8c78de5a00dd5ed /activesupport/lib/active_support
parent1ba3401e7c1a4d05969d56ed9d0c9215de2fc0c5 (diff)
downloadrails-c82b3a8104c20f2f46a12159a8d1f7782944bf80.tar.gz
rails-c82b3a8104c20f2f46a12159a8d1f7782944bf80.tar.bz2
rails-c82b3a8104c20f2f46a12159a8d1f7782944bf80.zip
Add missing require to try
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r--activesupport/lib/active_support/core_ext/date_and_time/calculations.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb b/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
index 2de0d19a7e..4da7fdd159 100644
--- a/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
+++ b/activesupport/lib/active_support/core_ext/date_and_time/calculations.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/object/try'
+
module DateAndTime
module Calculations
DAYS_INTO_WEEK = {