Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Make tags a first class citizen #73

Open
scytherswings opened this issue May 20, 2018 · 1 comment
Open

Make tags a first class citizen #73

scytherswings opened this issue May 20, 2018 · 1 comment

Comments

@scytherswings
Copy link
Contributor

scytherswings commented May 20, 2018

We should have a concept of taggables.
A tag is in actuality a key which is unique
tags have_many values, which are also unique in the scope of the tag's key
tag values will be json possibly so we can have more advanced structures, though a string might suffice.

So here's the commands to generate this structure in pesudocode.

rails g scaffold tag key:string
rails g model taggable_tag tag:references taggable:references{polymorphic}

@scytherswings
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant