social networking events model

8 views
Skip to first unread message

fugee ohu

unread,
Nov 7, 2017, 11:42:51 AM11/7/17
to Ruby on Rails: Talk
Should I have a dedicated events table or have events be a type of post so there's only a Post model but no Event model ?

Colin Law

unread,
Nov 7, 2017, 12:07:25 PM11/7/17
to Ruby on Rails: Talk
On 7 November 2017 at 16:42, fugee ohu <fuge...@gmail.com> wrote:
> Should I have a dedicated events table or have events be a type of post so
> there's only a Post model but no Event model ?

It's up to you, whichever fits your requirements best.

Colin
Reply all
Reply to author
Forward
0 new messages