Group Homework for Week 4

0 views
Skip to first unread message

Scott Haines

unread,
Nov 30, 2010, 12:23:35 AM11/30/10
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
Reply all
Reply to author
Forward
0 new messages