The user is logged in. So it's redirecting me to the root url with the 
message "You are already signed in".

So I go to create new user form, I click Create User, and then redirects 
me to the root url "You are already signed in".

This is my log:

Started GET "/users/new" for 127.0.0.1 at Thu Jul 14 13:21:18 -0500 2011
  Processing by UsersController#new as HTML
  User Load (0.4ms)  SELECT "users".* FROM "users" WHERE "users"."id" = 
2 LIMIT 1
Rendered users/_form.html.erb (14.8ms)
  Role Load (0.3ms)  SELECT "roles".* FROM "roles" WHERE "roles"."id" = 
3 LIMIT 1
Rendered users/new.html.erb within layouts/application (52.3ms)
Completed 200 OK in 208ms (Views: 59.4ms | ActiveRecord: 0.8ms)

Started POST "/users" for 127.0.0.1 at Thu Jul 14 13:21:25 -0500 2011
  Processing by Users::RegistrationsController#create as HTML
  Parameters: {"commit"=>"Create User", 
"authenticity_token"=>"LhvatktCSdtm03HE4tHMrsAar3tb3y/vbmT7x2Vh5I8=", 
"utf8"=>"✓", "user"=>{"title"=>"", 
"password_confirmation"=>"[FILTERED]", "username"=>"", "last_name"=>"", 
"password"=>"[FILTERED]", "first_name"=>"", "email"=>""}}
  User Load (0.6ms)  SELECT "users".* FROM "users" WHERE "users"."id" = 
2 LIMIT 1
Redirected to http://localhost:3000/
Completed 302 Found in 74ms

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to