Sha256: 82d09624790fa2cec753d2b1a8291a79c4d62627721a5761231b792121b151c2

Contents?: true

Size: 238 Bytes

Versions: 7

Compression:

Stored size: 238 Bytes

Contents

Party.class_eval do

  has_many :from_communication_events, :class_name => 'CommunicationEvent', :foreign_key => 'party_id_from'
  has_many :to_communication_events, :class_name => 'CommunicationEvent', :foreign_key => 'party_id_to'

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
erp_communication_events-4.0.0 app/models/extensions/party.rb
erp_communication_events-3.1.0 app/models/extensions/party.rb
erp_communication_events-3.0.4 app/models/extensions/party.rb
erp_communication_events-3.0.3 app/models/extensions/party.rb
erp_communication_events-3.0.2 app/models/extensions/party.rb
erp_communication_events-3.0.1 app/models/extensions/party.rb
erp_communication_events-3.0.0 app/models/extensions/party.rb