Skip to content

st-granat/has_role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

has_role

Useful role methods for Rails User model

Install

Install gem:

gem "has_role"

Migration:

create_table :users do |t|
  ...
  t.string :role
  ...

user.rb:

has_role

About

Useful role methods for Rails User model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages