Class: DailyFocus::CoachingNote
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- DailyFocus::CoachingNote
- Defined in:
- app/models/daily_focus/coaching_note.rb
Overview
A sales manager's standing coaching instruction for one rep, injected into
that rep's daily Sunny briefing (see DailyFocus::Prompt#coaching_note_section)
every day until the manager clears it. One row per employee.
Constant Summary
Constants included from Models::Schedulable
Models::Schedulable::SIMPLE_FORM_OPTIONS
Instance Attribute Summary collapse
- #body ⇒ void readonly
Belongs to collapse
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation
Methods included from Models::Schedulable
Methods included from Models::AfterCommittable
Methods included from Models::EventPublishable
Instance Attribute Details
#body ⇒ void (readonly)
This method returns an undefined value.
16 |
# File 'app/models/daily_focus/coaching_note.rb', line 16 validates :body, presence: true |
Instance Method Details
#employee ⇒ Party
12 |
# File 'app/models/daily_focus/coaching_note.rb', line 12 belongs_to :employee, inverse_of: :daily_focus_coaching_note |