You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
We should have a concept of taggables.
A tag is in actuality a key which is unique
tags have_manyvalues, 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}
The text was updated successfully, but these errors were encountered:
We should have a concept of taggables.
A
tag
is in actuality akey
which is uniquetags
have_many
values
, which are also unique in the scope of the tag'skey
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}
The text was updated successfully, but these errors were encountered: