Sha256: c4655232bb484fd83511a76c64d2831311e30860a6d763d8b3a98bf2a38d5cb5
Contents?: true
Size: 314 Bytes
Versions: 1
Compression:
Stored size: 314 Bytes
Contents
# Represents an assignment of a role to a user (assignee) in the system class RoleAssignment < ActiveRecord::Base belongs_to :role belongs_to :assignee, :polymorphic => true validates_presence_of :role_id, :assignee_id, :assignee_type end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
has_roles-0.0.2 | app/models/role_assignment.rb |