Sha256: 4fdc7de7d97c63328c7334a74f16699bc92642a92ab7b2c2504e38e9b7ff43ec
Contents?: true
Size: 320 Bytes
Versions: 3
Compression:
Stored size: 320 Bytes
Contents
class AssetAssignment < ActiveRecord::Base belongs_to :organization belongs_to :asset belongs_to :employee belongs_to :assigned_by, :class_name => "User" # Assignmnt details for email def self.get_assginment(assignment ,user_id) self.find_by_id_and_assigned_by_id(assignment ,user_id) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pshq_engine-0.1.6 | app/models/asset_assignment.rb |
pshq_engine-0.1.5 | app/models/asset_assignment.rb |
pshq_engine-0.0.1 | app/models/asset_assignment.rb |