Created
February 3, 2014 18:36
-
-
Save fourfour/8789621 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
tarted POST "/accounts?loading=true" for 127.0.0.1 at 2014-02-03 12:30:05 -0600 | |
Processing by Api::AccountsController#create as JSON | |
Parameters: {"account"=>{"first_name"=>"Eric", "last_name"=>"Goodenough", "UserName"=>"fourfour", "email"=>"[email protected]", "PhoneNumber"=>"805450256", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "Gender"=>"Male", "BirthDate"=>"1977-06-12T05:00:00.000Z", "EMailAddress"=>"[email protected]", "Password"=>"[FILTERED]", "Password_confirmation"=>"[FILTERED]", "source"=>"web-client"}, "loading"=>"true"} | |
Unpermitted parameters: UserName, PhoneNumber, Gender, BirthDate, EMailAddress, Password, Password_confirmation | |
(0.3ms) BEGIN | |
User Exists (0.7ms) SELECT 1 AS one FROM "users" WHERE LOWER("users"."email") = LOWER('[email protected]') LIMIT 1 | |
SQL (1.4ms) INSERT INTO "users" ("api_token", "created_at", "email", "encrypted_password", "first_name", "last_name", "source", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["api_token", "cb4265c3189a8e92d7890eee4fa4537a6381f3f0"], ["created_at", Mon, 03 Feb 2014 12:30:05 CST -06:00], ["email", "[email protected]"], ["encrypted_password", "$2a$10$lmszwieq1Pn/AbQVjYody.qYPWEpKuRloVGIK5idtq.34mn8qT93O"], ["first_name", "Eric"], ["last_name", "Goodenough"], ["source", "web-client"], ["updated_at", Mon, 03 Feb 2014 12:30:05 CST -06:00]] | |
Durable::Profile Load (1.3ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."user_id" = $1 ORDER BY "profiles"."id" ASC LIMIT 1 [["user_id", 3067]] | |
SQL (1.1ms) INSERT INTO "profiles" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Mon, 03 Feb 2014 12:30:05 CST -06:00], ["updated_at", Mon, 03 Feb 2014 12:30:05 CST -06:00], ["user_id", 3067]] | |
(0.6ms) COMMIT | |
Rendered api/accounts/create.json.jbuilder (0.9ms) | |
Completed 201 Created in 100ms (Views: 7.7ms | ActiveRecord: 5.3ms) | |
Started POST "/golf_now/sign_up?loading=true" for 127.0.0.1 at 2014-02-03 12:30:05 -0600 | |
Processing by Users::GolfNowAccountController#create as JSON | |
Parameters: {"golf_now_account"=>{"first_name"=>"Eric", "last_name"=>"Goodenough", "UserName"=>"fourfour", "email"=>"[email protected]", "PhoneNumber"=>"805450256", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "Gender"=>"Male", "BirthDate"=>"1977-06-12T05:00:00.000Z", "EMailAddress"=>"[email protected]", "Password"=>"[FILTERED]", "Password_confirmation"=>"[FILTERED]", "source"=>"web-client"}, "loading"=>"true"} | |
User Load (3.0ms) SELECT "users".* FROM "users" WHERE "users"."api_token" = 'cb4265c3189a8e92d7890eee4fa4537a6381f3f0' ORDER BY "users"."id" ASC LIMIT 1 | |
post https://mobile.gnsvc.com/V1.1/TeeTimesAPIRest.svc/createCustomer | |
User-Agent: "Faraday v0.8.8" | |
Content-Type: "application/json" | |
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: "Mon, 03 Feb 2014 18:30:04 GMT" | |
connection: "close" | |
content-length: "822" | |
{"event"=>"GolfCenter.GolfNow.Request", "time"=>"2014-02-03T12:30:06-06:00", "data"=>{"endpoint"=>"createCustomer", "params"=>{"username"=>"fourfour", "password"=>"[FILTERED]", "emailAddress"=>"[email protected]", "firstName"=>"Eric", "lastName"=>"Goodenough", "maleFlag"=>"false", "dateOfBirth"=>"06/12/1977", "address1"=>"7794ff3d022593491b8f70edd241cdd9", "city"=>"ecfeefecfbbfaffaccaidfbaabbacifc", "stateProvince"=>"IA", "postalCode"=>"00000", "countryCode"=>"US", "phoneNumber"=>"805450256", "sendEmail"=>"false", "ownerAuthToken"=>"de0d0507-0e48-47ce-9dea-55476e33fd7e"}, "response"=>{"status"=>{"Result"=>"Failure", "MessageCode"=>"E_ERROR_CREATING_CUSTOMER", "Message"=>"Unable to create the customer.Username already exists"}, "headers"=>{"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"=>"Mon, 03 Feb 2014 18:30:04 GMT", "connection"=>"close", "content-length"=>"822"}, "body"=>{"Response"=>{"Status"=>{"Result"=>"Failure", "MessageCode"=>"E_ERROR_CREATING_CUSTOMER", "Message"=>"Unable to create the customer.Username already exists"}, "Customer"=>{"CustomerID"=>"", "Salutation"=>"", "FirstName"=>"", "LastName"=>"", "Address1"=>"", "Address2"=>"", "City"=>"", "StateProv"=>"", "Country"=>"", "PostalCode"=>"", "PhoneNumber"=>"", "EMailAddress"=>"", "HTMLFlag"=>"false", "Password"=>"[FILTERED]", "MinimumDiscount"=>"0", "MinimumPlayers"=>"0", "Gender"=>"", "BirthDate"=>"0001-01-01T00:00:00", "CreditCardSaveFlag"=>"false", "EmailValidated"=>"false", "BillingFullName"=>"", "BillingAddress1"=>"", "BillingAddress2"=>"", "BillingCity"=>"", "BillingState"=>"", "BillingPostalCode"=>"", "BillingCountryCode"=>"", "CreditCardType"=>"", "CreditCardNumber"=>"", "CreditCardExpirationDate"=>"0001-01-01T00:00:00", "CreditCardCVVCode"=>"", "LoyaltyYtdReservations"=>"0", "LoyaltyIsFrequentGolfer"=>"false", "LoyaltyTierLevel"=>"", "LoyaltyFreeOnlineFees"=>"false"}}}}}} | |
post https://mobile.gnsvc.com/V1.1/TeeTimesAPIRest.svc/loginCustomer | |
User-Agent: "Faraday v0.8.8" | |
Content-Type: "application/json" | |
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: "Mon, 03 Feb 2014 18:30:04 GMT" | |
connection: "close" | |
content-length: "774" | |
{"event"=>"GolfCenter.GolfNow.Request", "time"=>"2014-02-03T12:30:07-06:00", "data"=>{"endpoint"=>"loginCustomer", "params"=>{"emailAddress"=>"[email protected]", "password"=>"[FILTERED]", "ownerAuthToken"=>"de0d0507-0e48-47ce-9dea-55476e33fd7e"}, "response"=>{"status"=>{"Result"=>"Failure", "MessageCode"=>"E_INVALID_CUSTOMER_CREDENTIALS", "Message"=>""}, "headers"=>{"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"=>"Mon, 03 Feb 2014 18:30:04 GMT", "connection"=>"close", "content-length"=>"774"}, "body"=>{"Response"=>{"Status"=>{"Result"=>"Failure", "MessageCode"=>"E_INVALID_CUSTOMER_CREDENTIALS", "Message"=>""}, "Customer"=>{"CustomerID"=>"", "Salutation"=>"", "FirstName"=>"", "LastName"=>"", "Address1"=>"", "Address2"=>"", "City"=>"", "StateProv"=>"", "Country"=>"", "PostalCode"=>"", "PhoneNumber"=>"", "EMailAddress"=>"", "HTMLFlag"=>"false", "Password"=>"[FILTERED]", "MinimumDiscount"=>"0", "MinimumPlayers"=>"0", "Gender"=>"", "BirthDate"=>"0001-01-01T00:00:00", "CreditCardSaveFlag"=>"false", "EmailValidated"=>"false", "BillingFullName"=>"", "BillingAddress1"=>"", "BillingAddress2"=>"", "BillingCity"=>"", "BillingState"=>"", "BillingPostalCode"=>"", "BillingCountryCode"=>"", "CreditCardType"=>"", "CreditCardNumber"=>"", "CreditCardExpirationDate"=>"0001-01-01T00:00:00", "CreditCardCVVCode"=>"", "LoyaltyYtdReservations"=>"0", "LoyaltyIsFrequentGolfer"=>"false", "LoyaltyTierLevel"=>"", "LoyaltyFreeOnlineFees"=>"false"}}}}}} | |
(0.2ms) BEGIN | |
(3.4ms) SELECT f_geometry_column,coord_dimension,srid,type FROM geometry_columns WHERE f_table_name='devices' | |
Durable::Device Load (2.5ms) SELECT "devices".* FROM "devices" WHERE "devices"."user_id" = $1 [["user_id", 3067]] | |
Durable::Profile Load (1.7ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."user_id" = $1 ORDER BY "profiles"."id" ASC LIMIT 1 [["user_id", 3067]] | |
SQL (0.7ms) DELETE FROM "profiles" WHERE "profiles"."id" = $1 [["id", 3098]] | |
SQL (0.5ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 3067]] | |
(0.4ms) COMMIT | |
Completed 422 Unprocessable Entity in 1475ms (Views: 0.4ms | ActiveRecord: 23.2ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment