9 lines
191 B
Ruby
9 lines
191 B
Ruby
|
class DossierUpdateSearchTermsJob < ApplicationJob
|
||
|
discard_on ActiveRecord::RecordNotFound
|
||
|
|
||
|
def perform(dossier)
|
||
|
dossier.update_search_terms
|
||
|
dossier.save!(touch: false)
|
||
|
end
|
||
|
end
|