Sha256: 55d9fc13f80548f894831a090b1294351ce867cc66fbb8804ec231239e89e426

Contents?: true

Size: 817 Bytes

Versions: 15

Compression:

Stored size: 817 Bytes

Contents

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
# == Schema Information
#
# Table name: account_opportunities
#
#  id             :integer         not null, primary key
#  account_id     :integer
#  opportunity_id :integer
#  deleted_at     :datetime
#  created_at     :datetime
#  updated_at     :datetime
#

class AccountOpportunity < ActiveRecord::Base
  belongs_to :account
  belongs_to :opportunity
  validates_presence_of :account_id, :opportunity_id

  has_paper_trail class_name: 'Version'

  ActiveSupport.run_load_hooks(:fat_free_crm_account_opportunity, self)
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
fat_free_crm-0.14.2 app/models/entities/account_opportunity.rb
fat_free_crm-0.15.2 app/models/entities/account_opportunity.rb
fat_free_crm-0.16.4 app/models/entities/account_opportunity.rb
fat_free_crm-0.14.1 app/models/entities/account_opportunity.rb
fat_free_crm-0.15.1 app/models/entities/account_opportunity.rb
fat_free_crm-0.16.3 app/models/entities/account_opportunity.rb
fat_free_crm-0.16.2 app/models/entities/account_opportunity.rb
fat_free_crm-0.16.1 app/models/entities/account_opportunity.rb
fat_free_crm-0.16.0 app/models/entities/account_opportunity.rb
fat_free_crm-0.15.0 app/models/entities/account_opportunity.rb
fat_free_crm-0.15.0.beta.2 app/models/entities/account_opportunity.rb
fat_free_crm-0.15.0.beta app/models/entities/account_opportunity.rb
fat_free_crm-0.14.0 app/models/entities/account_opportunity.rb
reduced_fat_crm-0.15.0.beta app/models/entities/account_opportunity.rb
reduced_fat_crm-0.14.0 app/models/entities/account_opportunity.rb