问题描述:

First sorry for my English;

For learning purpose I have create a blog with authentication ( I am using Devise), Now I want that user to be able to save other users posts so when they visit the Saved posts pages they will see posts saved, how can I do it

网友答案:

You can model the association

Business Logic

  • Users can have multiple posts
  • Users can save multiple posts
  • A Post can be saved by multiple users but have one owner
相关阅读:
Top