diff options
author | Wojciech Wnętrzak <w.wnetrzak@gmail.com> | 2015-02-12 22:05:43 +0100 |
---|---|---|
committer | Wojciech Wnętrzak <w.wnetrzak@gmail.com> | 2015-02-12 22:05:45 +0100 |
commit | 0817bb06f72bac456a7225645caf18ae9dc8c040 (patch) | |
tree | d5582f834b4f74aa99aa2d66e1657458545eff1d /activerecord/README.rdoc | |
parent | b03b09dc8660e26ed23a851ebda2bcbcb47d7d0a (diff) | |
download | rails-0817bb06f72bac456a7225645caf18ae9dc8c040.tar.gz rails-0817bb06f72bac456a7225645caf18ae9dc8c040.tar.bz2 rails-0817bb06f72bac456a7225645caf18ae9dc8c040.zip |
Do not overwrite secret token value when already present.
```
user = User.create(token: "custom-secure-token")
user.token # => "custom-secure-token"
```
Diffstat (limited to 'activerecord/README.rdoc')
0 files changed, 0 insertions, 0 deletions