diff options
Diffstat (limited to 'activesupport/lib/active_support/json')
-rw-r--r-- | activesupport/lib/active_support/json/variable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/json/variable.rb b/activesupport/lib/active_support/json/variable.rb index 42e25fbdb3..d69dab6408 100644 --- a/activesupport/lib/active_support/json/variable.rb +++ b/activesupport/lib/active_support/json/variable.rb @@ -7,7 +7,7 @@ module ActiveSupport def initialize(*args) message = 'ActiveSupport::JSON::Variable is deprecated and will be removed in Rails 4.1. ' \ 'For your own custom JSON literals, define #as_json and #encode_json yourself.' - ActiveSupport::Deprecation.warn(message, caller) + ActiveSupport::Deprecation.warn message super end |