8aa99e34b4
Instead of delegating. With a polymorphic relationship, relying on a certain attribute implies doing things like aliasing "mentioner" to "creator" or similar.
21 lines
460 B
YAML
21 lines
460 B
YAML
logo_published_kevin:
|
|
user: kevin
|
|
source: logo_published (Event)
|
|
resource: logo (Card)
|
|
created_at: <%= 1.week.ago %>
|
|
creator: david
|
|
|
|
logo_assignment_kevin:
|
|
user: kevin
|
|
source: logo_assignment_km (Event)
|
|
resource: logo (Card)
|
|
created_at: <%= 1.week.ago %>
|
|
creator: david
|
|
|
|
layout_commented_kevin:
|
|
user: kevin
|
|
source: layout_commented (Event)
|
|
resource: layout_overflowing_david (Comment)
|
|
created_at: <%= 1.week.ago %>
|
|
creator: david
|