Sha256: 948d046e885aec739a7979de9b26b33147f30a8ca1e121bf0db1455c59a984f2

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 Bytes

Contents

class EmployeeHeirarchy < ActiveRecord::Base

scope :employees,  lambda {|employee_id| {:conditions => ['employee_id = ?',employee_id] }}
scope :managers, lambda {|manager_id| {:conditions => ['manager_id = ?',manager_id] }}

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multiinsert-0.0.1 app/models/employee_heirarchy.rb