3 4 5 6
# File 'app/worker/audioencoder.rb', line 3 def self.perform(audio_id) audio = Audio.find(audio_id) Audio.file.reprocess! end