Skip to content

Instantly share code, notes, and snippets.

@vocino
Created September 20, 2010 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vocino/587428 to your computer and use it in GitHub Desktop.
Save vocino/587428 to your computer and use it in GitHub Desktop.
Started GET "/" for 127.0.0.1 at Mon Sep 20 00:36:25 -0400 2010
Processing by UsersController#new as HTML
Area Load (28.8ms) SELECT `areas`.* FROM `areas`
DEPRECATION WARNING: <% %> style block helpers are deprecated. Please use <%= %>. (called from _app_views_users_new_html_erb__1813113383_2182667200_0 at /Users/Travis/Development/Savor-Tonight/app/views/users/new.html.erb:2)
Rendered pages/_flash.html.erb (0.5ms)
Rendered users/new.html.erb within layouts/application (19.5ms)
Completed 200 OK in 154ms (Views: 26.0ms | ActiveRecord: 32.4ms)
Started POST "/users" for 127.0.0.1 at Mon Sep 20 00:36:39 -0400 2010
Processing by UsersController#create as JS
Parameters: {"xxxx"=>"8704", "nxx"=>"827", "authenticity_token"=>"8quRTDvmJKLDmtt0QGPWPdN11PQpGC8cxuy1uDWx8Fg=", "utf8"=>"✓", "checkall"=>"1", "area"=>{"miami"=>"tabindex1", "fort_lauderdale"=>"1", "west_palm_beach"=>"1"}, "email_address"=>"test@vocino.com", "npa"=>"561"}
Area Load (0.5ms) SELECT `areas`.* FROM `areas` WHERE (`areas`.`name` = 'Miami') LIMIT 1
Area Load (0.7ms) SELECT `areas`.* FROM `areas` WHERE (`areas`.`name` = 'Fort Lauderdale') LIMIT 1
Area Load (0.1ms) SELECT `areas`.* FROM `areas` WHERE (`areas`.`name` = 'West Palm Beach') LIMIT 1
SQL (0.2ms) BEGIN
SQL (0.1ms) ROLLBACK
Completed in 201ms
ActiveRecord::AssociationTypeMismatch (Area(#2182119280) expected, got NilClass(#2148404100)):
app/controllers/users_controller.rb:71:in `create'
Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (20.2ms)
Rendered /usr/local/lib/ruby/gems/1.8/gems/actionpack-3.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.5ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment