Sha256: ad87a1e4775d3a16d39ea09cc380953f5fbaa46b83ddae25f3ea9ed8e58080a6
Contents?: true
Size: 457 Bytes
Versions: 1
Compression:
Stored size: 457 Bytes
Contents
module Alberich class SessionEntity < ActiveRecord::Base attr_accessible :entity_id, :permission_session_id, :user_id, :entity, :user belongs_to :user belongs_to :entity belongs_to :permission_session validates_presence_of :user_id validates_presence_of :permission_session_id validates_presence_of :entity_id validates_uniqueness_of :entity_id, :scope => [:user_id, :permission_session_id] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alberich-0.2.0 | app/models/alberich/session_entity.rb |