Sha256: 7babc9e7e307143e4609f05e4c618121c2b8839d1c4bf0afbe279274339b7b62

Contents?: true

Size: 354 Bytes

Versions: 27

Compression:

Stored size: 354 Bytes

Contents

module Admin
  class Company < ActiveRecord::Base
    include Carnival::ModelHelper
    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

27 entries across 27 versions & 1 rubygems

Version Path
carnival-0.0.59 test/dummy/app/models/admin/company.rb
carnival-0.0.58 test/dummy/app/models/admin/company.rb
carnival-0.0.57 test/dummy/app/models/admin/company.rb
carnival-0.0.56 test/dummy/app/models/admin/company.rb
carnival-0.0.55 test/dummy/app/models/admin/company.rb
carnival-0.0.54 test/dummy/app/models/admin/company.rb
carnival-0.0.53 test/dummy/app/models/admin/company.rb
carnival-0.0.52 test/dummy/app/models/admin/company.rb
carnival-0.0.51 test/dummy/app/models/admin/company.rb
carnival-0.0.50 test/dummy/app/models/admin/company.rb
carnival-0.0.49 test/dummy/app/models/admin/company.rb
carnival-0.0.48 test/dummy/app/models/admin/company.rb
carnival-0.0.47 test/dummy/app/models/admin/company.rb
carnival-0.0.45 test/dummy/app/models/admin/company.rb
carnival-0.0.44 test/dummy/app/models/admin/company.rb
carnival-0.0.43 test/dummy/app/models/admin/company.rb
carnival-0.0.42 test/dummy/app/models/admin/company.rb
carnival-0.0.41 test/dummy/app/models/admin/company.rb
carnival-0.0.40 test/dummy/app/models/admin/company.rb
carnival-0.0.39 test/dummy/app/models/admin/company.rb