Fix resque job failing

This commit is contained in:
DuratarskeyK 2016-05-03 15:33:40 +04:00
parent a62d3789bc
commit 58fc35c540
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ module EmptyMetadata
extend ActiveSupport::Concern extend ActiveSupport::Concern
included do included do
after_create :create_empty_metadata after_commit :create_empty_metadata, on: :create
end end
def create_empty_metadata def create_empty_metadata