diff options
Diffstat (limited to 'activesupport/lib/active_support/duration.rb')
-rw-r--r-- | activesupport/lib/active_support/duration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/duration.rb b/activesupport/lib/active_support/duration.rb index 82b38e79b5..ff51b49dcf 100644 --- a/activesupport/lib/active_support/duration.rb +++ b/activesupport/lib/active_support/duration.rb @@ -82,7 +82,7 @@ module ActiveSupport t.advance(type => sign * number) end else - raise ArgumentError, "expected a time or date, got #{time.inspect}" + raise ::ArgumentError, "expected a time or date, got #{time.inspect}" end end end |