add everything to manage reputations
This commit is contained in:
9
app/models/wow_reputation_tier_level.rb
Normal file
9
app/models/wow_reputation_tier_level.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class WowReputationTierLevel < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name
|
||||
|
||||
belongs_to :wow_reputation_tier
|
||||
|
||||
validates :name, presence: true
|
||||
validates :order, presence: true, uniqueness: { scope: :wow_reputation_tier }
|
||||
end
|
||||
Reference in New Issue
Block a user