Skip to content

Instantly share code, notes, and snippets.

@apotema
Created November 2, 2012 02:26
Show Gist options
  • Save apotema/3998318 to your computer and use it in GitHub Desktop.
Save apotema/3998318 to your computer and use it in GitHub Desktop.
Connecting to database specified by database.yml
 (0.2ms) BEGIN
 (0.2ms) SAVEPOINT active_record_1
User Exists (0.9ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_0@example.com' LIMIT 1
SQL (3.5ms) INSERT INTO "users" ("admin", "created_at", "disabled", "email", "latitude", "longitude", "name", "password_digest", "score", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["admin", true], ["created_at", Fri, 02 Nov 2012 00:25:26 BRST -02:00], ["disabled", nil], ["email", "user_0@example.com"], ["latitude", 1.1], ["longitude", 1.1], ["name", "user_name_0"], ["password_digest", "$2a$10$lX66IDibk4YndXHWUnPsTOga2JKVZ7OZ8C9XCHrWzOAjG92/ztEZC"], ["score", 0], ["updated_at", Fri, 02 Nov 2012 00:25:26 BRST -02:00]]
 (0.3ms) RELEASE SAVEPOINT active_record_1
 (0.5ms) SAVEPOINT active_record_1
User Exists (0.7ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_1@example.com' LIMIT 1
SQL (0.5ms) INSERT INTO "users" ("admin", "created_at", "disabled", "email", "latitude", "longitude", "name", "password_digest", "score", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["admin", false], ["created_at", Fri, 02 Nov 2012 00:25:26 BRST -02:00], ["disabled", nil], ["email", "user_1@example.com"], ["latitude", 1.11], ["longitude", 1.11], ["name", "user_name_1"], ["password_digest", "$2a$10$englL27kpvnC.jU1SvAXhuvhGl87.XwMebs6QhxDWl4NIoBr9cH6."], ["score", 0], ["updated_at", Fri, 02 Nov 2012 00:25:26 BRST -02:00]]
 (0.3ms) RELEASE SAVEPOINT active_record_1
 (0.2ms) SAVEPOINT active_record_1
User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_2@example.com' LIMIT 1
SQL (0.6ms) INSERT INTO "users" ("admin", "created_at", "disabled", "email", "latitude", "longitude", "name", "password_digest", "score", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["admin", nil], ["created_at", Fri, 02 Nov 2012 00:25:26 BRST -02:00], ["disabled", nil], ["email", "user_2@example.com"], ["latitude", 1.12], ["longitude", 1.12], ["name", "user_name_2"], ["password_digest", "$2a$10$1nFosM/vGnjqnvAFuF.0OOLqRu.8JYWZpBsuM8MIc2bQCUZ.3mc9u"], ["score", 0], ["updated_at", Fri, 02 Nov 2012 00:25:26 BRST -02:00]]
 (0.2ms) RELEASE SAVEPOINT active_record_1
 (0.2ms) SAVEPOINT active_record_1
User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_3@example.com' LIMIT 1
SQL (0.5ms) INSERT INTO "users" ("admin", "created_at", "disabled", "email", "latitude", "longitude", "name", "password_digest", "score", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["admin", nil], ["created_at", Fri, 02 Nov 2012 00:25:26 BRST -02:00], ["disabled", nil], ["email", "user_3@example.com"], ["latitude", 1.1300000000000001], ["longitude", 1.1300000000000001], ["name", "user_name_3"], ["password_digest", "$2a$10$iuO9uG9Rl9bftQemjqhFJekvSWkO0WndnKdWTXdjwLBpmGLTFoMda"], ["score", 0], ["updated_at", Fri, 02 Nov 2012 00:25:26 BRST -02:00]]
 (0.2ms) RELEASE SAVEPOINT active_record_1
 (0.3ms) SAVEPOINT active_record_1
User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_4@example.com' LIMIT 1
SQL (0.4ms) INSERT INTO "users" ("admin", "created_at", "disabled", "email", "latitude", "longitude", "name", "password_digest", "score", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["admin", nil], ["created_at", Fri, 02 Nov 2012 00:25:27 BRST -02:00], ["disabled", nil], ["email", "user_4@example.com"], ["latitude", 1.1400000000000001], ["longitude", 1.1400000000000001], ["name", "user_name_4"], ["password_digest", "$2a$10$I3o67liHPmbmG8P9SYCrpO.T5pQNAEcXPlpW2csMpTc3hQvoh6fDO"], ["score", 0], ["updated_at", Fri, 02 Nov 2012 00:25:27 BRST -02:00]]
 (0.1ms) RELEASE SAVEPOINT active_record_1
 (0.3ms) SAVEPOINT active_record_1
User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_5@example.com' LIMIT 1
SQL (0.5ms) INSERT INTO "users" ("admin", "created_at", "disabled", "email", "latitude", "longitude", "name", "password_digest", "score", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["admin", nil], ["created_at", Fri, 02 Nov 2012 00:25:27 BRST -02:00], ["disabled", nil], ["email", "user_5@example.com"], ["latitude", 1.1500000000000001], ["longitude", 1.1500000000000001], ["name", "user_name_5"], ["password_digest", "$2a$10$KPbdXnlst9x8IRwqd/uMLeTupHzhfHvB32q11ibQHf22GqQ2CjdM6"], ["score", 0], ["updated_at", Fri, 02 Nov 2012 00:25:27 BRST -02:00]]
 (0.2ms) RELEASE SAVEPOINT active_record_1
 (0.2ms) SAVEPOINT active_record_1
User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'user_6@example.com' LIMIT 1
SQL (0.4ms) INSERT INTO "users" ("admin", "created_at", "disabled", "email", "latitude", "longitude", "name", "password_digest", "score", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["admin", nil], ["created_at", Fri, 02 Nov 2012 00:25:27 BRST -02:00], ["disabled", nil], ["email", "user_6@example.com"], ["latitude", 1.1600000000000001], ["longitude", 1.1600000000000001], ["name", "user_name_6"], ["password_digest", "$2a$10$GjF8sjkJC49K5YAS.FofMOawxw.lPmXSSkhkoGhYy9yuKvzp2dpbW"], ["score", 0], ["updated_at", Fri, 02 Nov 2012 00:25:27 BRST -02:00]]
 (0.1ms) RELEASE SAVEPOINT active_record_1
Started GET "/session/login" for 127.0.0.1 at 2012-11-02 00:25:30 -0200
Processing by SessionsController#login_form as HTML
Rendered sessions/login_form.html.haml within layouts/application (3.8ms)
Completed 200 OK in 33ms (Views: 31.9ms | ActiveRecord: 0.0ms)
Started GET "/favicon.ico" for 127.0.0.1 at 2012-11-02 00:25:30 -0200
Started POST "/session/login" for 127.0.0.1 at 2012-11-02 00:25:31 -0200
Processing by SessionsController#login as HTML
Parameters: {"utf8"=>"✓", "email"=>"user_0@example.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'user_0@example.com' LIMIT 1
Rendered sessions/login_form.html.haml within layouts/application (1.1ms)
Completed 200 OK in 10ms (Views: 2.7ms | ActiveRecord: 5.1ms)
Started GET "/users/2431/edit" for 127.0.0.1 at 2012-11-02 00:25:31 -0200
Processing by UsersController#edit as HTML
Parameters: {"id"=>"2431"}
User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", "2431"]]
Completed 500 Internal Server Error in 8ms
 (0.5ms) ROLLBACK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment