Fix resque job failing
This commit is contained in:
parent
a62d3789bc
commit
58fc35c540
|
@ -2,7 +2,7 @@ module EmptyMetadata
|
|||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
after_create :create_empty_metadata
|
||||
after_commit :create_empty_metadata, on: :create
|
||||
end
|
||||
|
||||
def create_empty_metadata
|
||||
|
|
Loading…
Reference in New Issue