diff options
-rw-r--r-- | app/models/character.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/character.rb b/app/models/character.rb index f0705f9..26671f3 100644 --- a/app/models/character.rb +++ b/app/models/character.rb @@ -19,8 +19,8 @@ class Character < ApplicationRecord attribute :wounds, :integer, default: 0 - enum offensive_style: [:balanced, :precise, :brutal] - enum defensive_style: [:centered, :elusive, :protective] + enum offensive_style: [:balanced, :precise, :brutal], _default: "balanced" + enum defensive_style: [:centered, :elusive, :protective], _default: "centered" after_create :create_skills, :set_combat_styles after_create { Hearth.create(character: self) } |