Hacker News new | ask | show | jobs
by pqdbr 2797 days ago
You can create your models anyway you want, but the “default” is by doing something like this:

rails g model Post user:references