mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 19:48:48 +01:00
this way we can stay closer to the defaults of has_many_polymorphs thus making upgrading easier
25 lines
No EOL
436 B
YAML
25 lines
No EOL
436 B
YAML
# Todo 1 should be tagged with foo and bar
|
|
foo_bar1:
|
|
id: 1
|
|
tag_id: 1
|
|
taggable_id: 1 # Call Bill Gates
|
|
taggable_type: Todo
|
|
|
|
foo_bar2:
|
|
id: 2
|
|
tag_id: 2
|
|
taggable_id: 1 # Call Bill Gates
|
|
taggable_type: Todo
|
|
|
|
# Todo 2 should be tagged with foo
|
|
foo1:
|
|
id: 3
|
|
tag_id: 1
|
|
taggable_id: 2 # Call dinosaur exterminator
|
|
taggable_type: Todo
|
|
|
|
foo2:
|
|
id: 4
|
|
tag_id: 1
|
|
taggable_id: 3 # Buy milk - completed
|
|
taggable_type: Todo |