Sha256: 2df663665e42d6171ea1e9345330183bf38afd3b81856cf7193b25f7ce48a713

Contents?: true

Size: 219 Bytes

Versions: 17

Compression:

Stored size: 219 Bytes

Contents

# encoding: utf-8
class Company < ActiveRecord::Base
  has_many :customer_projects, class_name: 'Project', foreign_key: 'customer_id'
  has_many :supplier_projects, class_name: 'Project', foreign_key: 'supplier_id'
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
wice_grid-7.1.4 spec/support/test_app/app/models/company.rb
wice_grid-7.1.3 spec/support/test_app/app/models/company.rb
wice_grid-7.1.2 spec/support/test_app/app/models/company.rb
wice_grid-7.1.1 spec/support/test_app/app/models/company.rb
wice_grid-7.1.0 spec/support/test_app/app/models/company.rb
wice_grid-6.1.3 spec/support/test_app/app/models/company.rb
wice_grid-6.1.2 spec/support/test_app/app/models/company.rb
wice_grid-6.1.1 spec/support/test_app/app/models/company.rb
wice_grid-6.1.0 spec/support/test_app/app/models/company.rb
pwice_grid-7.0.0 spec/support/test_app/app/models/company.rb
pwice_grid-6.1.2 spec/support/test_app/app/models/company.rb
pwice_grid-6.1.1 spec/support/test_app/app/models/company.rb
pwice_grid-6.1.0 spec/support/test_app/app/models/company.rb
pwice_grid-5.0.2 spec/support/test_app/app/models/company.rb
pwice_grid-5.0.1 spec/support/test_app/app/models/company.rb
pwice_grid-5.0.0 spec/support/test_app/app/models/company.rb
wice_grid-4.1.0 spec/support/test_app/app/models/company.rb