aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/secure_token.rb
diff options
context:
space:
mode:
authorRoberto Miranda <rjmaltamar@gmail.com>2015-05-01 07:23:59 -0500
committerRoberto Miranda <rjmaltamar@gmail.com>2015-05-01 07:23:59 -0500
commit6541fef8dec0d4b85b4eea134e9cbeff02f5325f (patch)
treea4d54a54419304d48d228ac09b37b6ad222ebc29 /activerecord/lib/active_record/secure_token.rb
parente38dd7bfa4360e241eadf0cf44abdf86ea33a393 (diff)
downloadrails-6541fef8dec0d4b85b4eea134e9cbeff02f5325f.tar.gz
rails-6541fef8dec0d4b85b4eea134e9cbeff02f5325f.tar.bz2
rails-6541fef8dec0d4b85b4eea134e9cbeff02f5325f.zip
Update documentation to contain a 24 char token [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/secure_token.rb')
-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