Sha256: 855114641c0855b4b5e9909e774afb9e09653184e7f94bfe0f8a3feacd253ad6

Contents?: true

Size: 174 Bytes

Versions: 33

Compression:

Stored size: 174 Bytes

Contents

class Employee < ActiveRecord::Base
  belongs_to :office
  belongs_to :reportee, :class_name => "Employee"
  has_many :customers, :foreign_key => "sales_rep_employee_id"
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
directiverecord-0.1.32 test/application/app/models/employee.rb
directiverecord-0.1.31 test/application/app/models/employee.rb
directiverecord-0.1.30 test/application/app/models/employee.rb
directiverecord-0.1.29 test/application/app/models/employee.rb
directiverecord-0.1.28 test/application/app/models/employee.rb
directiverecord-0.1.27 test/application/app/models/employee.rb
directiverecord-0.1.26 test/application/app/models/employee.rb
directiverecord-0.1.25 test/application/app/models/employee.rb
directiverecord-0.1.24 test/application/app/models/employee.rb
directiverecord-0.1.23 test/application/app/models/employee.rb
directiverecord-0.1.22 test/application/app/models/employee.rb
directiverecord-0.1.21 test/application/app/models/employee.rb
directiverecord-0.1.20 test/application/app/models/employee.rb
directiverecord-0.1.19 test/application/app/models/employee.rb
directiverecord-0.1.18 test/application/app/models/employee.rb
directiverecord-0.1.17 test/application/app/models/employee.rb
directiverecord-0.1.16 test/application/app/models/employee.rb
directiverecord-0.1.15 test/application/app/models/employee.rb
directiverecord-0.1.14 test/application/app/models/employee.rb
directiverecord-0.1.13 test/application/app/models/employee.rb