Sha256: b85203a911488809db1057171e531e0fc930fbb3ef3553d5e236285fc32c8b6a

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

# == Schema Information
#
# Table name: roles_users
#
#  operator_id   :integer
#  role_id       :integer
#  created_at    :datetime         not null
#  updated_at    :datetime         not null
#  operator_type :string(255)      default("User")
#

class RoleUser < ActiveRecord::Base
  self.table_name = 'roles_users'
  belongs_to :operator, :polymorphic => true
  belongs_to :role
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rdcms-1.0.28 app/models/role_user.rb
rdcms-1.0.27 app/models/role_user.rb
rdcms-1.0.26 app/models/role_user.rb