Module: Taskable

Extended by:
ActiveSupport::Concern
Included in:
ProductEnjoyment, ProductLink, ProductLinkage, ProductLocalization, ProductMembership, ProductMovement, ProductOwnership, ProductPhase
Defined in:
app/models/concerns/taskable.rb

Instance Method Summary collapse

Instance Method Details

#ensure_originator_typeObject


21
22
23
# File 'app/models/concerns/taskable.rb', line 21

def ensure_originator_type
  self.originator_type = originator.class.base_class.name if originator
end