Skip to content

Instantly share code, notes, and snippets.

@fourfour
Created February 4, 2014 18:50
Show Gist options
  • Save fourfour/8809852 to your computer and use it in GitHub Desktop.
Save fourfour/8809852 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:46:19 -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.1ms) INSERT INTO "tee_time_searches" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Tue, 04 Feb 2014 11:46:19 CST -06:00], ["updated_at", Tue, 04 Feb 2014 11:46:19 CST -06:00]]
SQL (1.0ms) 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:46:19 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", 247124], ["updated_at", Tue, 04 Feb 2014 11:46:19 CST -06:00]]
(1.5ms) COMMIT
Completed 202 Accepted in 13ms (Views: 0.2ms | ActiveRecord: 4.0ms)
Durable::TeeTimeSearch Load (0.7ms) SELECT "tee_time_searches".* FROM "tee_time_searches" WHERE "tee_time_searches"."id" = $1 LIMIT 1 [["id", 247124]]
Durable::TeeTimeSearch::Criteria Load (0.5ms) 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", 247124]]
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/247124?tick=1" for 127.0.0.1 at 2014-02-04 11:46:19 -0600
Processing by TeeTimeSearchController#show as JSON
Parameters: {"tick"=>"1", "id"=>"247124"}
Durable::TeeTimeSearch Load (0.9ms) SELECT "tee_time_searches".* FROM "tee_time_searches" WHERE "tee_time_searches"."complete" = 't' AND "tee_time_searches"."id" = 247124 LIMIT 1
Durable::TeeTimeSearch Load (0.9ms) SELECT "tee_time_searches".* FROM "tee_time_searches" WHERE "tee_time_searches"."id" = $1 LIMIT 1 [["id", "247124"]]
(3.1ms) SELECT f_geometry_column,coord_dimension,srid,type FROM geometry_columns WHERE f_table_name='tee_time_search_results'
Durable::TeeTimeSearch::Criteria Load (1.5ms) 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", 247124]]
Completed 202 Accepted in 89ms (Views: 0.2ms | ActiveRecord: 7.4ms)
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:46:20 GMT"
connection: "close"
content-length: "130268"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment