This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
ActiveRecord random string generator for AR attributes - perfect for authorization keys and api ids
License
DYE/HasRandomized
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
HasRandomized ============= HasRandomized provides a simple method to generate a random key attribute. Instance methods for resetting and validating the uniqueness of the key are dynamically generated for each attribute. Example ======= class User < ActiveRecord::Base has_randomized :authentication_id, :method => :hex, :length => 16 end Copyright (c) 2010 Adam Cuppy of Define: Your Edge, released under the MIT license
About
ActiveRecord random string generator for AR attributes - perfect for authorization keys and api ids
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published