Sha256: 38aa4f77d3d0b9eae0d8c5948391f536add15c6a38d6072099b46109c06b0d73

Contents?: true

Size: 225 Bytes

Versions: 4

Compression:

Stored size: 225 Bytes

Contents

class AssemblyObserver < ActiveRecord::Observer
  def after_create(assembly)
    Rails.logger.info "Queing up assembly #{assembly.assembly_url} (id ##{assembly.id})..."
    AssemblyProcessor.delay.process(assembly)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chili_videos-0.2.2 app/models/assembly_observer.rb
chili_videos-0.2.1 app/models/assembly_observer.rb
chili_videos-0.2.0 app/models/assembly_observer.rb
chili_videos-0.1.0 app/models/assembly_observer.rb