rubocop autofix
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class ApplicationRecord < ActiveRecord::Base
|
||||
self.abstract_class = true
|
||||
end
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class LearnedWowPetAbility < ApplicationRecord
|
||||
belongs_to :wow_pet
|
||||
belongs_to :wow_pet_ability
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class UserObtainWowMount < ApplicationRecord
|
||||
belongs_to :user
|
||||
belongs_to :wow_mount
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class UserObtainWowPet < ApplicationRecord
|
||||
belongs_to :user
|
||||
belongs_to :wow_pet
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowCharacter < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :translated_faction, :translated_gender
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowCharacterMedium < ApplicationRecord
|
||||
belongs_to :wow_character
|
||||
end
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowCharacterTitle < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name, :male_name, :female_name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowClass < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name, :power_type, :male_name, :female_name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowMount < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name, :description, :translated_faction, :translated_source
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowPet < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name, :translated_battle_pet_type, :description, :translated_source_type
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowPetAbility < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name, :translated_battle_pet_type
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowRace < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name, :translated_faction, :male_name, :female_name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowRealm < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name, :category, :realm_type
|
||||
|
||||
Reference in New Issue
Block a user