Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1d3ff0e0ad
Fetching contributors…

Cannot retrieve contributors at this time

file 6 lines (5 sloc) 0.122 kb
1 2 3 4 5 6
class User < ActiveRecord::Base
  serialize :roles

  has_many :user_roles
  has_many :roles, :through => :user_roles
end
Something went wrong with that request. Please try again.