Where can I find a good Rails newbie-friendly reference about generating rails models with foreign key relationships?
I've found some pages indicating that you should add has_
many and belongs_
to to the relevant models to specify these relationships, but haven't seen any instructions for getting the scaffolds to generate the correct controller and view code that would reflect these relationships.