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
Each post can have multiple tags and each tag can also exist in several posts.
Clicking on a tag will take your readers to all posts tagged with that term.
When creating a post, the user can enter its tags.
The text was updated successfully, but these errors were encountered:
Do you wish to add a new tag(s) column to the existing "Post" model as a SQL Array or define a whole new model for Tags and then relate posts to those tags? @farhadmpr
Do you wish to add a new tag(s) column to the existing "Post" model as a SQL Array or define a whole new model for Tags and then relate posts to those tags? @farhadmpr
I want to have new model for tags.
Post and tag models have many to many relationship.
Each post can have multiple tags and each tag can also exist in several posts.
Clicking on a tag will take your readers to all posts tagged with that term.
When creating a post, the user can enter its tags.
The text was updated successfully, but these errors were encountered: