Sha256: 9d640b296278fcf4cb2761ab17aa71eb12c03687b60b4d0d8cb4d1d544aab2be

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

# == Schema Information
#
# Table name: projects
#
#  id          :integer          not null, primary key
#  name        :string(255)
#  description :text
#  employee_id :integer
#  created_at  :datetime
#  updated_at  :datetime
#

class Project < ActiveRecord::Base
  belongs_to :employee, inverse_of: :projects
  has_many :tasks, inverse_of: :project
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
basepack-0.1.0 spec/dummy_app/app/models/project.rb
basepack-0.0.2 spec/dummy_app/app/models/project.rb