-
-
Save leemcalilly/cc2a71bef9a1e14fc5e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started POST "/checkouts" for 127.0.0.1 at 2013-07-03 16:02:30 -0400 | |
Processing by CheckoutsController#create as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"/SevzYcZYmJcyVB4lS9ry49n7rZ/SKokTnILsyrq5F4=", "checkout"=>{"job"=>"Bartender", "employee_ids"=>"3", "shift"=>"Brunch", "date(1i)"=>"2013", "date(2i)"=>"7", "date(3i)"=>"3", "hours"=>"6", "sales"=>"0.00", "tips"=>"0.00", "owed"=>"0.00", "collected"=>"0.00", "notes"=>""}, "commit"=>"Create Checkout"} | |
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]] | |
Employee Load (23.6ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = $1 LIMIT 1 [["id", 3]] | |
(0.2ms) BEGIN | |
(0.2ms) ROLLBACK | |
Completed 500 Internal Server Error in 205ms | |
NoMethodError (undefined method `employee' for #<Checkout:0x007fe54d266ee0>): | |
app/controllers/checkouts_controller.rb:36:in `block in create' | |
app/controllers/checkouts_controller.rb:35:in `create' | |
Rendered /Users/lee/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms) | |
Rendered /Users/lee/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms) | |
Rendered /Users/lee/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) | |
Rendered /Users/lee/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (35.9ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment