Sha256: 857bc474a26d4fff96be5027c68afc1881af1a9e7ea844e1d54f388202500555

Contents?: true

Size: 233 Bytes

Versions: 3

Compression:

Stored size: 233 Bytes

Contents

module Rbacan
    class UserRole < ApplicationRecord
        self.table_name = Rbacan.user_role_table
        belongs_to :role, class_name: Rbacan.role_class
        belongs_to :user, class_name: Rbacan.permittable_class
    end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbacan-0.1.2 app/models/rbacan/user_role.rb
rbacan-0.1.1 app/models/rbacan/user_role.rb
rbacan-0.1.0 app/models/rbacan/user_role.rb