Sha256: eed924672b83eedccd0b514b23fec1e4f8e001de1c24749b540025ab535d5050
Contents?: true
Size: 350 Bytes
Versions: 2
Compression:
Stored size: 350 Bytes
Contents
module Admin class Company < ActiveRecord::Base include AssociationCommon self.table_name = "companies" belongs_to :country belongs_to :state belongs_to :city has_many :professional_experiences has_many :people, :through => :professional_experiences has_many :jobs, :through => :professional_experiences end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
carnival-0.0.11 | test/dummy/app/models/admin/company.rb |
carnival-0.0.10 | test/dummy/app/models/admin/company.rb |