Topic: two tables and one controller?

I'm brand new and I can work with one controller per table using the scaffold.  I've built the store and a blogging app several times now. 

However, I want to make Questions and have multiple Answers associated with each Question.  I have a table for Questions and a table for Answers, and have used the has_many and belongs_to declarations in the corresponding models and have foreign_key set up for Answers.  How do I start working with the views through one controller when I have two tables and not one?

Re: two tables and one controller?

ravvuinn wrote:

How do I start working with the views through one controller when I have two tables and not one?

By reading through these excellent tutorials by Ryan

http://railsforum.com/viewtopic.php?id=717

http://railsforum.com/viewtopic.php?id=1065

Re: two tables and one controller?

These are exactly what I was looking for.  Thanks for the response.