Rails - Where should this code go to stay true to MVC design?
问题 I'm new to Rails, and working my way through a couple of books, coding small test projects as I go. My latest dev app is a question and answer program. The idea is to have a database table full of questions. A user will bring up the web app and be presented with the first question. User enters answer into a form, and if it is correct, he gets the next question. Pretty simple. So, I've used generate scaffold to create a questions table and a users table. This works well - I can navigate to the