mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
6 lines
181 B
Ruby
6 lines
181 B
Ruby
class Role < ActiveRecord::Base
|
|
has_many :users
|
|
# rubocop: disable Rails/HasAndBelongsToMany
|
|
has_and_belongs_to_many :rights
|
|
# rubocop: enbale Rails/HasAndBelongsToMany
|
|
end
|