Sha256: 6749c10b52ab8eea8416f1e1f57b2b1966ef37da27064bb8785bf4238d80be83

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

module ScCore
  class Role < ActiveRecord::Base
    has_many :user_roles, dependent: :destroy
    has_many :users, through: :user_roles
    accepts_nested_attributes_for :user_roles
    
    records_with_operator_on :create, :update
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sc_core-0.0.7 app/models/sc_core/role.rb