Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.85 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Why is the wrong action processing my .ajax request.
  2. <head>
  3. <title>Tab1</title>
  4. <%= stylesheet_link_tag :all %>
  5. <%= stylesheet_link_tag 'jquery-ui-1.8.16.custom.css' %>
  6. <%= javascript_include_tag :defaults %>
  7. <%= javascript_include_tag 'jquery.min.js' %>
  8. <%= javascript_include_tag 'jquery.min.js', 'jquery-ui.min.js' %>
  9. <%= csrf_meta_tag %>
  10. </head>
  11.        
  12. Started GET "/users/auth/?email=steve&password=[FILTERED]&_=1326063255777" for 24.11.242.181 at 2012-01-08 17:53:45 -0500
  13. Processing by UsersController#show as JS
  14. Parameters:   {"email"=>"steve", "password"=>"[FILTERED]", "_"=>"1326063255777", "id"=>"auth"}
  15. ^[[1m^[[36mUser Load (0.2ms)^[[0m  ^[[1mSELECT `users`.* FROM `users` WHERE `users`.`id` = 0 LIMIT 1^[[0m
  16. Completed 404 Not Found in 6ms
  17.  
  18. ActiveRecord::RecordNotFound (Couldn't find User with ID=auth):
  19. app/controllers/users_controller.rb:43:in `show'