Skip to content

Instantly share code, notes, and snippets.

@enricostano
Created August 21, 2012 17:51
Show Gist options
  • Save enricostano/3417849 to your computer and use it in GitHub Desktop.
Save enricostano/3417849 to your computer and use it in GitHub Desktop.
role model
class Role < ActiveRecord::Base
has_and_belongs_to_many :users
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment