log of error

Started GET "/auth/facebook" for 127.0.0.1 at 2011-03-21 22:28:45 -0700


Started GET "/auth/facebook/callback?code=f45aa7c3bec43f6bbcd10669-697955353%7ClZYBURqDmCRE6z5P9WbmF7wAfRw" for 127.0.0.1 at 2011-03-21 22:28:46 -0700
  Processing by AuthenticationsController#create as HTML
  Parameters: {"code"=>"f45aa7c3bec43f6bbcd10669-697955353|lZYBURqDmCRE6z5P9WbmF7wAfRw", "provider"=>"facebook"}
  SQL (0.2ms)   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'

  Authentication Load (0.3ms)  SELECT "authentications".* FROM "authentications" WHERE ("authentications"."provider" = 'facebook') AND ("authentications"."uid" = '697955353') LIMIT 1
  User Load (0.4ms)  SELECT "users"."id" FROM "users" WHERE (LOWER("users"."email") = LOWER('[email protected]')) LIMIT 1
  SQL (0.5ms)  INSERT INTO "users" ("avatar", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "name", "password_salt", "remember_created_at", "remember_token", "reset_password_token", "rpx_indentifier", "sign_in_count", "updated_at", "username") VALUES (NULL, '2011-03-22 05:28:47.162184', NULL, NULL, '[email protected]', '', NULL, NULL, NULL, '', NULL, NULL, NULL, NULL, 0, '2011-03-22 05:28:47.162184', NULL)
  SQL (0.1ms)  INSERT INTO "authentications" ("created_at", "provider", "token", "uid", "updated_at", "user_id") VALUES ('2011-03-22 05:28:47.182959', 'facebook', '201406749886213|f45aa7c3bec43f6bbcd10669-697955353|h-6n0Jcc-cmH1O6JUEouKi1i1-I', '697955353', '2011-03-22 05:28:47.182959', 151)
Completed   in 228ms

NoMethodError (undefined method `id' for "/":String):
  app/controllers/authentications_controller.rb:22:in `create'

Rendered /Users/ihal/.rvm/gems/ruby-1.9.2-p136@rails3gemset/gems/actionpack-3.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
Rendered /Users/ihal/.rvm/gems/ruby-1.9.2-p136@rails3gemset/gems/actionpack-3.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (516.2ms)
Rendered /Users/ihal/.rvm/gems/ruby-1.9.2-p136@rails3gemset/gems/actionpack-3.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (564.4ms)