add some test and things
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class RpWorld < ApplicationRecord
|
||||
belongs_to :user
|
||||
alias_attribute :owner, :user
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowCharacterPlayRpWorld < ApplicationRecord
|
||||
belongs_to :wow_character
|
||||
belongs_to :rp_world
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowCovenant < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name, :description
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowCovenantProgress < ApplicationRecord
|
||||
belongs_to :wow_character
|
||||
belongs_to :wow_covenant
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowCreature < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowCreatureFamily < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowCreatureType < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowItem < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowItemClass < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowItemInventoryType < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowItemQuality < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowItemSubClass < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :display_name, :verbose_name
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class WowSpell < ApplicationRecord
|
||||
extend Mobility
|
||||
translates :name, :description
|
||||
|
||||
Reference in New Issue
Block a user