aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-07 19:39:38 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-08-07 19:39:38 -0300
commit82fe1160510c48a52bf06da235ddd65e1ad3b525 (patch)
treea883c5a422bd238f667827946910e77dd0ecbe27 /activesupport/lib/active_support/json
parent83f2ffcf4388f08e1b15d58b66fff1dfad9e99ef (diff)
downloadrails-82fe1160510c48a52bf06da235ddd65e1ad3b525.tar.gz
rails-82fe1160510c48a52bf06da235ddd65e1ad3b525.tar.bz2
rails-82fe1160510c48a52bf06da235ddd65e1ad3b525.zip
Fix the deprecation horizon. [ci skip]
Diffstat (limited to 'activesupport/lib/active_support/json')
-rw-r--r--activesupport/lib/active_support/json/variable.rb2
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 17b709decc..8af661a795 100644
--- a/activesupport/lib/active_support/json/variable.rb
+++ b/activesupport/lib/active_support/json/variable.rb
@@ -5,7 +5,7 @@ module ActiveSupport
# 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