Skip to content

Instantly share code, notes, and snippets.

@skayred
Created October 26, 2011 10:49
Show Gist options
  • Save skayred/1316016 to your computer and use it in GitHub Desktop.
Save skayred/1316016 to your computer and use it in GitHub Desktop.
16:48:34 web.1 | Started POST "/api/trip" for 192.168.192.7 at 2011-10-26 16:48:34 +0600
16:48:34 web.1 | Processing by Api::TripsController#create as HTML
16:48:34 web.1 | Parameters: {"from_address"=>"ул. Блюхера, 71", "from_latlng"=>{"lat"=>55.126259, "lng"=>61.365738}, "trip"=>{"from_address"=>"ул. Блюхера, 71", "from_latlng"=>{"lat"=>55.126259, "lng"=>61.365738}, "controller"=>"api/trips", "action"=>"create"}}
16:48:34 web.1 | WARNING: Can't verify CSRF token authenticity
16:48:34 web.1 | * Accept-Language: ru_RU
16:48:34 web.1 | * Locale set to 'ru'
16:48:34 web.1 | * Require login
16:48:34 web.1 | c8yQ2nyHnlWiKCqpbXRp
16:48:34 web.1 | MONGODB taxi_development['system.namespaces'].find({})
16:48:34 web.1 | MONGODB taxi_development['users'].find({:access_token=>"c8yQ2nyHnlWiKCqpbXRp"}).limit(-1).sort([[:_id, :asc]])
16:48:34 web.1 | MONGODB taxi_development['system.namespaces'].find({})
16:48:34 web.1 | MONGODB taxi_development['trips'].find({:passenger_id=>BSON::ObjectId('4ea7c66d31f1e4534700000c'), :rating_by_passenger=>nil, :status=>{"$nin"=>["cancelled_by_driver", "cancelled_by_passenger"]}}).limit(-1).sort([[:_id, :asc]])
16:48:34 web.1 | Completed 500 Internal Server Error in 145ms
16:48:34 web.1 |
16:48:34 web.1 | NoMethodError (undefined method `city' for #<Trip:0x00000007933710>):
16:48:34 web.1 | app/controllers/api/trips_controller.rb:72:in `create'
16:48:34 web.1 |
16:48:34 web.1 | Rendered vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
16:48:34 web.1 | Rendered vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
16:48:34 web.1 | Rendered vendor/bundle/ruby/1.9.1/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.6ms)
16:48:34 c2dm.1 | I, [2011-10-26T16:48:34.779538 #21340] INFO -- : load averages: 0.0 0.06 0.0 0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment