Skip to content

Instantly share code, notes, and snippets.

@fourfour
Created February 4, 2014 18:51
Show Gist options
  • Save fourfour/8809865 to your computer and use it in GitHub Desktop.
Save fourfour/8809865 to your computer and use it in GitHub Desktop.
Started GET "//tee_times?loadingBar=true&tee_time_search_criteria%5Blocation%5D=goleta,+ca&tee_time_search_criteria%5Btee_time%5D=2014-02-08T14:00:00.000Z" for 127.0.0.1 at 2014-02-04 11:52:13 -0600
Processing by TeeTimesController#index as JSON
Parameters: {"loadingBar"=>"true", "tee_time_search_criteria"=>{"location"=>"goleta, ca", "tee_time"=>"2014-02-08T14:00:00.000Z"}}
(0.3ms) BEGIN
SQL (1.0ms) INSERT INTO "tee_time_searches" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Feb 2014 11:52:13 CST -06:00], ["updated_at", Tue, 04 Feb 2014 11:52:13 CST -06:00]]
SQL (1.1ms) INSERT INTO "tee_time_search_criteria" ("created_at", "featured_deals", "golf_course", "location", "radius", "tee_time", "tee_time_search_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Tue, 04 Feb 2014 11:52:13 CST -06:00], ["featured_deals", 1], ["golf_course", nil], ["location", "goleta, ca"], ["radius", 30], ["tee_time", Sat, 08 Feb 2014 08:00:00 CST -06:00], ["tee_time_search_id", 247125], ["updated_at", Tue, 04 Feb 2014 11:52:13 CST -06:00]]
(3.2ms) COMMIT
Completed 202 Accepted in 15ms (Views: 0.1ms | ActiveRecord: 5.5ms)
Durable::TeeTimeSearch Load (0.6ms) SELECT "tee_time_searches".* FROM "tee_time_searches" WHERE "tee_time_searches"."id" = $1 LIMIT 1 [["id", 247125]]
Durable::TeeTimeSearch::Criteria Load (0.6ms) SELECT "tee_time_search_criteria".* FROM "tee_time_search_criteria" WHERE "tee_time_search_criteria"."tee_time_search_id" = $1 ORDER BY "tee_time_search_criteria"."id" ASC LIMIT 1 [["tee_time_search_id", 247125]]
post https://mobile.gnsvc.com/V1.1/TeeTimesAPIRest.svc/searchTeeTimes
User-Agent: "Faraday v0.8.8"
Content-Type: "application/json"
Started GET "/tee_time_search?tick=1" for 127.0.0.1 at 2014-02-04 11:52:13 -0600
Processing by TeeTimeSearchController#new as JSON
Parameters: {"tick"=>"1"}
Rendered tee_time_search/new.json.jbuilder (0.4ms)
Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 0.0ms)
200
cache-control: "private"
content-type: "application/xml; charset=utf-8"
server: "Microsoft-IIS/7.5"
x-aspnet-version: "2.0.50727"
x-powered-by: "ASP.NET"
date: "Tue, 04 Feb 2014 17:52:13 GMT"
connection: "close"
content-length: "130268"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment