I'm learning RoR, I've read some tutorials (railstutorial for the first one), but I've a problem to define the logic layout of the my first simple website.
The structure is:
When you go to mysite.com you see a welcome page with the signup form or the link for login. If you signup or you login into the site, you are at mysite.com/dashboard and you see a list of your messages. You can go to mysite.com/$username and you see a page with a form where you can write a message for the $username.
Stop. That's it. It's very simple, I know, but is for learning.
The problem is this: I'm new to MVC paradigm and I don't know how structure the logic layout of my app. Of course there'll two models: User and Message. But for controllers? And which functions in any controllers? Should I use scaffolding? Please give me a help, I'm very confused. Thank you.