Griffin Smith
|
21c0a1f301
|
Support :if and :unless in has_secure_token
Pass through :if and :unless options from has_secure_token to the
generated before_create callback
|
2016-01-09 14:49:00 -05:00 |
|
Wojciech Wnętrzak
|
0817bb06f7
|
Do not overwrite secret token value when already present.
```
user = User.create(token: "custom-secure-token")
user.token # => "custom-secure-token"
```
|
2015-02-12 22:05:45 +01:00 |
|
robertomiranda
|
47316feee0
|
Switch Secure Token generation to Base58
Update Secure Token Doc [ci skip]
remove require securerandom, core_ext/securerandom already do that ref 7e006057
|
2015-01-09 18:47:44 -05:00 |
|
Jon Atack
|
2f05036cdd
|
Clean up secure_token_test
|
2015-01-05 15:41:53 +01:00 |
|
robertomiranda
|
5a58ba3366
|
Add has_secure_token to Active Record
Update SecureToken Docs
Add Changelog entry for has_secure_token [ci skip]
|
2015-01-04 11:31:37 -05:00 |
|