Sha256: 9713cd0218b5b54ecd43913d1c2fdb4aa43a384ace6d465879e92d09237640c3

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 Bytes

Contents

## work_effort type associations - standard for associations between work_efforts

class WorkEffortTypeAssociation < ActiveRecord::Base
  # attr_accessible :title, :body
  attr_protected :created_at, :updated_at

  belongs_to :work_effort_from_type, :class_name => "WorkEffort", :foreign_key => "work_effort_type_id_from"
  belongs_to :work_effort_to_type, :class_name => "WorkEffort", :foreign_key => "work_effort_type_id_to"

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
erp_work_effort-4.2.0 app/models/work_effort_type_association.rb
erp_work_effort-4.0.0 app/models/work_effort_type_association.rb