# File lib/delayed/serialization/active_record.rb, line 5 def self.yaml_new(klass, tag, val) klass.unscoped.find(val['attributes'][klass.primary_key]) rescue ActiveRecord::RecordNotFound raise Delayed::DeserializationError, "ActiveRecord::RecordNotFound, class: #{klass} , primary key: #{val['attributes'][klass.primary_key]} " end
Generated with the Darkfish Rdoc Generator 2.