diff --git a/app/models/party.rb b/app/models/party.rb index a988c27..fda7ef1 100644 --- a/app/models/party.rb +++ b/app/models/party.rb @@ -62,7 +62,7 @@ class Party < ApplicationRecord has_many :favorites before_create :set_shortcode - before_save :set_edit_key + before_create :set_edit_key ##### Amoeba configuration amoeba do