diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-05-01 14:59:18 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-05-01 14:59:18 +0200 |
commit | 76bb6cb7225dcc700276bbb022452ecacf1290d2 (patch) | |
tree | a4d54a54419304d48d228ac09b37b6ad222ebc29 /activerecord | |
parent | e38dd7bfa4360e241eadf0cf44abdf86ea33a393 (diff) | |
parent | 6541fef8dec0d4b85b4eea134e9cbeff02f5325f (diff) | |
download | rails-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.rb | 2 |
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 |