Class: GoalPinnedMessage

Inherits:
ApplicationRecord show all
Defined in:
app/models/goal_pinned_message.rb

Overview

Join record linking a Goal to a PinnedMessage. Many-to-many: one message can be pinned to multiple Goals, and one Goal can reference multiple pins. When the last Goal referencing a pin completes, the pin is released.