Edit key should create before create, not save
This commit is contained in:
parent
e45dabf39a
commit
6b24970c54
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class Party < ApplicationRecord
|
||||||
has_many :favorites
|
has_many :favorites
|
||||||
|
|
||||||
before_create :set_shortcode
|
before_create :set_shortcode
|
||||||
before_save :set_edit_key
|
before_create :set_edit_key
|
||||||
|
|
||||||
##### Amoeba configuration
|
##### Amoeba configuration
|
||||||
amoeba do
|
amoeba do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue