Skip to content

Instantly share code, notes, and snippets.

@Harrisonl
Created March 10, 2015 04:50
Show Gist options
  • Save Harrisonl/0189631a177d28353000 to your computer and use it in GitHub Desktop.
Save Harrisonl/0189631a177d28353000 to your computer and use it in GitHub Desktop.
User Creationg Error
Parameters: {"utf8"=>"✓", "authenticity_token"=>"5107GfscRkAvndwPHh8c28Qp1fLerclg1gj28uXbVWs=", "user"=>{"email"=>"bigtest@example.com", "password"=>"[FILTERED]", "full_name"=>"Big Test"}, "invitation_token"=>"", "date"=>{"month"=>"7", "year"=>"2018"}, "stripeToken"=>"tok_15efB4FypFkD9EmnhefCFXdz"}
User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'bigtest@example.com' LIMIT 1
(0.2ms) BEGIN
CACHE (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'bigtest@example.com' LIMIT 1
SQL (0.4ms) INSERT INTO "users" ("created_at", "customer_token", "email", "full_name", "password_digest", "token", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["created_at", "2015-03-10 04:41:12.602079"], ["customer_token", "cus_5qLsuR7eSAXqH6"], ["email", "bigtest@example.com"], ["full_name", "Big Test"], ["password_digest", "$2a$10$8pOt/X.Y.7D08i5XKdY/8uSyHCVQ.ZY7XwrNCO.FPHUlm2IXZ98A2"], ["token", "3lKuRnQWBjE7wPDv32U4xw"], ["updated_at", "2015-03-10 04:41:12.602079"]]
(0.5ms) COMMIT
Rendered app_mailer/send_welcome_email.html.haml (0.1ms)
AppMailer#send_welcome_email: processed outbound mail in 39.8ms
Sent mail to bigtest@example.com (6.8ms)
Date: Tue, 10 Mar 2015 15:41:12 +1100
From: info@myflix.com
To: bigtest@example.com
Message-ID: <54fe75e8ab9f4_303f3ffaf9865be4427f@Harrisons-Mac-mini.local.mail>
Subject: Welcome to Myflix
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE html>
<html lang='en-US'>
<body>
<p>Welcome to Mylfix, Big Test</p>
</body>
</html>
Redirected to http://localhost:3000/sign_in
Completed 302 Found in 1675ms (ActiveRecord: 1.5ms)
Started POST "/users" for 127.0.0.1 at 2015-03-10 15:41:12 +1100
Processing by UsersController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"5107GfscRkAvndwPHh8c28Qp1fLerclg1gj28uXbVWs=", "user"=>{"email"=>"bigtest@example.com", "password"=>"[FILTERED]", "full_name"=>"Big Test"}, "invitation_token"=>"", "date"=>{"month"=>"7", "year"=>"2018"}, "stripeToken"=>"tok_15efB4FypFkD9EmnpXwzS1zc"}
User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'bigtest@example.com' LIMIT 1
Rendered users/new.html.haml within layouts/application (5.4ms)
Rendered shared/_header.html.haml (0.2ms)
Rendered shared/_messages.html.haml (0.1ms)
Completed 200 OK in 85ms (Views: 18.1ms | ActiveRecord: 0.3ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment