Sha256: 8765f977a021dd2a3dd57b4b8e1e2300dcaaf3475748efb2d78896d55487c876

Contents?: true

Size: 282 Bytes

Versions: 27

Compression:

Stored size: 282 Bytes

Contents

module Admin
  class Job < ActiveRecord::Base
    include Carnival::ModelHelper
    self.table_name = "jobs"

    has_many :professional_experiences
    has_many :companies, :through => :professional_experiences
    has_many :people, :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/job.rb
carnival-0.0.58 test/dummy/app/models/admin/job.rb
carnival-0.0.57 test/dummy/app/models/admin/job.rb
carnival-0.0.56 test/dummy/app/models/admin/job.rb
carnival-0.0.55 test/dummy/app/models/admin/job.rb
carnival-0.0.54 test/dummy/app/models/admin/job.rb
carnival-0.0.53 test/dummy/app/models/admin/job.rb
carnival-0.0.52 test/dummy/app/models/admin/job.rb
carnival-0.0.51 test/dummy/app/models/admin/job.rb
carnival-0.0.50 test/dummy/app/models/admin/job.rb
carnival-0.0.49 test/dummy/app/models/admin/job.rb
carnival-0.0.48 test/dummy/app/models/admin/job.rb
carnival-0.0.47 test/dummy/app/models/admin/job.rb
carnival-0.0.45 test/dummy/app/models/admin/job.rb
carnival-0.0.44 test/dummy/app/models/admin/job.rb
carnival-0.0.43 test/dummy/app/models/admin/job.rb
carnival-0.0.42 test/dummy/app/models/admin/job.rb
carnival-0.0.41 test/dummy/app/models/admin/job.rb
carnival-0.0.40 test/dummy/app/models/admin/job.rb
carnival-0.0.39 test/dummy/app/models/admin/job.rb