Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the deprecation horizon. [ci skip]

  • Loading branch information...
commit 82fe1160510c48a52bf06da235ddd65e1ad3b525 1 parent 83f2ffc
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/lib/active_support/json/variable.rb
View
2  activesupport/lib/active_support/json/variable.rb
@@ -5,7 +5,7 @@ module JSON
# Deprecated: A string that returns itself as its JSON-encoded form.
class Variable < String
def initialize(*args)
- ActiveSupport::Deprecation.warn 'ActiveSupport::JSON::Variable is deprecated and will be removed in Rails 4.0. ' \
+ ActiveSupport::Deprecation.warn '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.'
super
end
Please sign in to comment.
Something went wrong with that request. Please try again.