-
Notifications
You must be signed in to change notification settings - Fork 0
License
ripan/acts_as_verified
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ActsAsVerified ============== Step 1 : Install Plugin ruby script/plugin install [email protected]:ripan/acts_as_verified.git Step 2 : Generate Migration ruby script/generate acts_as_verified_migration Step 3 : Add to model acts_as_verified Example ======= MODEL @client = Client.find(params[:id]) To get the verification status @client.verification_status To set the verification status @client.set_as_verified To check the verification status @client.is_verified? <%= client.verification_status %> <%= link_to 'Mark as verified', {:controller => 'clients', :action => 'mark_as_verified', :id => client.id} %> Copyright (c) 2011 [ripan], released under the MIT license
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published