aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-05-01 14:59:18 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2015-05-01 14:59:18 +0200
commit76bb6cb7225dcc700276bbb022452ecacf1290d2 (patch)
treea4d54a54419304d48d228ac09b37b6ad222ebc29 /activerecord
parente38dd7bfa4360e241eadf0cf44abdf86ea33a393 (diff)
parent6541fef8dec0d4b85b4eea134e9cbeff02f5325f (diff)
downloadrails-76bb6cb7225dcc700276bbb022452ecacf1290d2.tar.gz
rails-76bb6cb7225dcc700276bbb022452ecacf1290d2.tar.bz2
rails-76bb6cb7225dcc700276bbb022452ecacf1290d2.zip
Merge pull request #19970 from robertomiranda/patch-3
Update documentation to contain a 24 char token [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/secure_token.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/secure_token.rb b/activerecord/lib/active_record/secure_token.rb
index a3023a0cb4..ca11853da7 100644
--- a/activerecord/lib/active_record/secure_token.rb
+++ b/activerecord/lib/active_record/secure_token.rb
@@ -13,7 +13,7 @@ module ActiveRecord
#
# user = User.new
# user.save
- # user.token # => "4kUgL2pdQMSCQtjE"
+ # user.token # => "pX27zsMN2ViQKta1bGfLmVJE"
# user.auth_token # => "77TMHrHJFvFDwodq8w7Ev2m7"
# user.regenerate_token # => true
# user.regenerate_auth_token # => true