Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Web Browser


Nice job! Now when you fill in the signup form and submit it, the data is sent to the Rails app via a POST request. The request hits the User controller's create action. The create action saves the data, creates a new session, and redirects to the albums page.

How is a new session created? Sessions are stored as key/value pairs. In the create action, the line

session[:user_id] =

creates a new session by taking the value and assigning it to the key :user_id.

Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.