Class: GoalPinnedEvent
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- GoalPinnedEvent
- Defined in:
- app/models/goal_pinned_event.rb
Overview
Join record linking a Goal to a PinnedEvent. Many-to-many: one event 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.