Update weapon_awakening.rb
- Removes redefined explicit associations
This commit is contained in:
parent
f1590ab981
commit
241393661c
1 changed files with 0 additions and 8 deletions
|
|
@ -3,12 +3,4 @@
|
||||||
class WeaponAwakening < ApplicationRecord
|
class WeaponAwakening < ApplicationRecord
|
||||||
belongs_to :weapon
|
belongs_to :weapon
|
||||||
belongs_to :awakening
|
belongs_to :awakening
|
||||||
|
|
||||||
def weapon
|
|
||||||
Weapon.find(weapon_id)
|
|
||||||
end
|
|
||||||
|
|
||||||
def awakening
|
|
||||||
Awakening.find(awakening_id)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue