8 lines
162 B
Ruby
8 lines
162 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AccountRole < ApplicationRecord
|
|
belongs_to :account
|
|
belongs_to :role
|
|
|
|
scope :active, -> { where(deleted_at: nil) }
|
|
end
|