Skip to content

Instantly share code, notes, and snippets.

@danielwestendorf
Created December 17, 2014 14:51
Show Gist options
  • Select an option

  • Save danielwestendorf/2c833c2c551bc641788b to your computer and use it in GitHub Desktop.

Select an option

Save danielwestendorf/2c833c2c551bc641788b to your computer and use it in GitHub Desktop.
class User < ActiveRecord::Base
include SimonSays::Roleable
has_roles :add, :edit, :delete
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment