aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/secure_token.rb
Commit message (Collapse)AuthorAgeFilesLines
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-4/+4
| | | | | | | | | | | | | | | | | | | The focus of this change is to make the API more accessible. References to method and classes should be linked to make it easy to navigate around. This patch makes exzessiv use of `rdoc-ref:` to provide more readable docs. This makes it possible to document `ActiveRecord::Base#save` even though the method is within a separate module `ActiveRecord::Persistence`. The goal here is to bring the API closer to the actual code that you would write. This commit only deals with Active Record. The other gems will be updated accordingly but in different commits. The pass through Active Record is not completely finished yet. A follow up commit will change the spots I haven't yet had the time to update. /cc @fxn
* Update documentation to contain a 24 char token [ci skip]Roberto Miranda2015-05-011-1/+1
|
* Fix #has_secure_token documentation [ci skip]Tim Liner2015-02-201-2/+2
| | | | | It's actually #validates_uniqueness_of that can generate a race condition rather than #validates_presence_of.
* Do not overwrite secret token value when already present.Wojciech Wnętrzak2015-02-121-2/+1
| | | | | | | ``` user = User.create(token: "custom-secure-token") user.token # => "custom-secure-token" ```
* Fix Typo SecureToken for schema sample [ci skip]Jeroen K.2015-01-151-1/+1
|
* Fix Typo SecureToken [ci skip]Roberto Miranda2015-01-101-1/+1
|
* Switch Secure Token generation to Base58robertomiranda2015-01-091-18/+8
| | | | | | Update Secure Token Doc [ci skip] remove require securerandom, core_ext/securerandom already do that ref 7e006057
* Add has_secure_token to Active Recordrobertomiranda2015-01-041-0/+49
Update SecureToken Docs Add Changelog entry for has_secure_token [ci skip]