How to create a scaffold with 2 database tables?

I’m just starting out with RoR and was wondering how to go about
creating a scaffold that needs to use 2 database tables.

Hi John,

The scaffold generator is really just for the simplest case. If you
want to do what you’re talking about, you’ll need to code your own