add global reputations page
This commit is contained in:
@@ -11,5 +11,6 @@ class WowReputation < ApplicationRecord
|
||||
validates :name, presence: true
|
||||
validates :reputation_id, presence: true, uniqueness: true
|
||||
|
||||
scope :meta_reputations, -> { where(meta_wow_reputation: nil) }
|
||||
scope :meta_reputations, -> { where(description: nil) }
|
||||
scope :non_meta_reputations, -> { where.not(description: nil) }
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user