Class: Promiscuous::Subscriber::ActiveRecord

Inherits:
Base
  • Object
show all
Includes:
AMQP, Attributes, Class, Model, Upsert
Defined in:
lib/promiscuous/subscriber/active_record.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Class Method Summary collapse

Methods included from Upsert

#fetch

Methods included from Model

#destroy_instance, #fetch, #fetch_existing, #fetch_new, #process, #process_attributes?, #save_instance

Methods included from AMQP

subscriber_from

Methods included from Attributes

#process, #process_attributes?

Methods included from Class

#instance

Methods inherited from Base

#initialize, #payload, #process, #should_update_parent?, subscribe, #subscribe_options

Constructor Details

This class inherits a constructor from Promiscuous::Subscriber::Base

Class Method Details

.missing_record_exceptionObject



8
9
10
# File 'lib/promiscuous/subscriber/active_record.rb', line 8

def self.missing_record_exception
  ActiveRecord::RecordNotFound
end