profiles_controller.rb

Path: app/controllers/profiles_controller.rb
Last Update: Sun Jan 06 21:30:25 -0500 2008

This controller is called "Profiles" instead of "Users" even though we are manipulating a User object.

The rational is we need a controller that the user can interact with where all actions refer to the current user. This is different from an applications own needs to have a controller to manage multiple users (say for an admin interface or social networking app).

Therefore we have used the term Profile because it seems more descriptive and doesn‘t conflict with a UsersController that the app might have itself.

[Validate]