Sha256: 07be420134d532c0306c520fdfeff4311f5fe7600f441d904a44cad37fc39ae0
Contents?: true
Size: 919 Bytes
Versions: 8
Compression:
Stored size: 919 Bytes
Contents
# frozen_string_literal: true # 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_contacts # # id :integer not null, primary key # account_id :integer # contact_id :integer # deleted_at :datetime # created_at :datetime # updated_at :datetime # class AccountContact < ActiveRecord::Base belongs_to :account, counter_cache: :contacts_count belongs_to :contact has_paper_trail class_name: 'Version', meta: { related: :contact }, ignore: %i[id created_at updated_at contact_id] validates_presence_of :account_id ActiveSupport.run_load_hooks(:fat_free_crm_account_contact, self) end
Version data entries
8 entries across 8 versions & 1 rubygems