Add_user function not working Log Attached

I am following the depot tutorial that came with my agile rails book
and when I check my table the name shows up blank.

So I looked at the log and it isnt inserting it.

Processing LoginController#add_user (for 127.0.0.1 at 2006-10-07
23:03:16) [POST]
Session ID: 1e6ceb5ab77ad8a5bf5796f00e47cd65
Parameters: {“user”=>{“name”=>“andrew”, “password”=>“test”},
“commit”=>“Add User”, “action”=>“add_user”, “controller”=>“login”}
e[4;36;1mUser Columns (0.000000)e[0m e[0;1mSHOW FIELDS FROM
userse[0m
e[4;35;1mSQL (0.000000)e[0m e[0mBEGINe[0m
e[4;36;1mUser Load (0.000000)e[0m e[0;1mSELECT * FROM users WHERE
(users.name = ‘andrew’) LIMIT 1e[0m
e[4;35;1mSQL (0.000000)e[0m e[0mINSERT INTO users (name,
hashed_password) VALUES(’’,
‘4cd31aebf6b72d44a428c3bcb445cb9f8f21cd13’)e[0m
e[4;36;1mSQL (0.000000)e[0m e[0;1mCOMMITe[0m
Redirected to http://localhost:3000/login
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 302 Found
[http://localhost/login/add_user]

Processing LoginController#index (for 127.0.0.1 at 2006-10-07 23:03:16)
[GET]
Session ID: 1e6ceb5ab77ad8a5bf5796f00e47cd65
Parameters: {“action”=>“index”, “controller”=>“login”}

OmenKing wrote:

I am following the depot tutorial that came with my agile rails book
and when I check my table the name shows up blank.

Why not show us the code you’ve written

Fred

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs