Sha256: a990a6f8ac88a0c26a8a50d6d7d2c3c5b1003c80eed24670337fa73800dd2593

Contents?: true

Size: 795 Bytes

Versions: 11

Compression:

Stored size: 795 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

  ActiveSupport.run_load_hooks(:fat_free_crm_account_opportunity, self)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fat_free_crm-0.13.6 app/models/entities/account_opportunity.rb
fat_free_crm-0.13.5 app/models/entities/account_opportunity.rb
fat_free_crm-0.13.4 app/models/entities/account_opportunity.rb
fat_free_crm-0.13.3 app/models/entities/account_opportunity.rb
fat_free_crm-0.13.2 app/models/entities/account_opportunity.rb
fat_free_crm-0.12.3 app/models/entities/account_opportunity.rb
fat_free_crm-0.12.2 app/models/entities/account_opportunity.rb
fat_free_crm-0.13.1 app/models/entities/account_opportunity.rb
fat_free_crm-0.12.1 app/models/entities/account_opportunity.rb
fat_free_crm-0.13.0 app/models/entities/account_opportunity.rb
fat_free_crm-0.12.0 app/models/entities/account_opportunity.rb