Scott Haines
unread,Nov 30, 2010, 12:23:35 AM11/30/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dojo-ruby-on-rails
Take the models we built out for the group lessons.
1. User
2. UserProfile
3. Review
4. Comment
Now create an entrance page (main_controller), index,
From this entrance point, create the following.
1. Login Page (needs a User saved in the Database)
For the Login page we will be keeping track of sessions.
The syntax for Ruby on Rails syntax is session[:symbol_name].
ex. session[:username] = "joe"
Now every controller can take a peek at this username.
2. New User (creates a new User)
3. Review page (Create a new Review -> needs to have a User logged in)
4. Create Comments (on each Review, can be added through a Form)
5. Get creative, have fun and we will meet next week.
- Scott