authlogic_facebook_shim 0.3.3 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/Gemfile.lock +113 -0
- data/README.rdoc +8 -1
- data/Rakefile +39 -20
- data/authlogic_facebook_shim.gemspec +22 -19
- data/lib/authlogic_facebook_shim/adapters/koala_adapter.rb +12 -9
- data/lib/authlogic_facebook_shim/railtie.rb +19 -0
- data/lib/authlogic_facebook_shim/session/adapter.rb +23 -0
- data/lib/authlogic_facebook_shim/session/config.rb +1 -1
- data/lib/authlogic_facebook_shim/session/facebook.rb +3 -4
- data/lib/authlogic_facebook_shim/session.rb +4 -0
- data/lib/authlogic_facebook_shim/version.rb +3 -0
- data/lib/authlogic_facebook_shim.rb +6 -9
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/{rails_root → dummy}/app/models/user.rb +1 -0
- data/test/{rails_root → dummy}/app/models/user_session.rb +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +49 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +6 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +27 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/{rails_root → dummy}/config/facebook.yml +0 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +2 -0
- data/test/dummy/config.ru +4 -0
- data/test/{rails_root → dummy}/db/migrate/20101217000008_create_users.rb +0 -0
- data/test/{rails_root → dummy}/db/seeds.rb +0 -0
- data/test/dummy/log/test.log +1386 -0
- data/test/test_helper.rb +20 -20
- data/test/units/adapters/koala_adapter_test.rb +202 -146
- data/test/units/session/config_test.rb +110 -108
- data/test/units/session/facebook_test.rb +175 -156
- metadata +123 -155
- data/VERSION +0 -1
- data/test/rails_root/app/controllers/application_controller.rb +0 -10
- data/test/rails_root/app/helpers/application_helper.rb +0 -3
- data/test/rails_root/config/boot.rb +0 -110
- data/test/rails_root/config/database.yml +0 -10
- data/test/rails_root/config/environment.rb +0 -31
- data/test/rails_root/config/environments/development.rb +0 -0
- data/test/rails_root/config/environments/test.rb +0 -0
- data/test/rails_root/config/initializers/authlogic_facebook_koala.rb +0 -5
- data/test/rails_root/config/initializers/new_rails_defaults.rb +0 -21
- data/test/rails_root/config/initializers/session_store.rb +0 -15
- data/test/rails_root/config/locales/en.yml +0 -5
- data/test/rails_root/config/routes.rb +0 -43
- data/test/rails_root/log/test.log +0 -1137
- data/test/rails_root/script/console +0 -3
- data/test/rails_root/script/dbconsole +0 -3
- data/test/rails_root/script/generate +0 -3
@@ -1,1137 +0,0 @@
|
|
1
|
-
# Logfile created on Wed Jan 05 01:40:52 +0000 2011 [4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
2
|
-
FROM sqlite_master
|
3
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
|
-
[0m
|
5
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
6
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7
|
-
[4;35;1mSQL (7.2ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
8
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
9
|
-
FROM sqlite_master
|
10
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
11
|
-
[0m
|
12
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
13
|
-
Migrating to CreateUsers (20101217000008)
|
14
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
15
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
16
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
17
|
-
FROM sqlite_master
|
18
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
19
|
-
[0m
|
20
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
21
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
22
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
23
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
24
|
-
FROM sqlite_master
|
25
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
26
|
-
[0m
|
27
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
28
|
-
Migrating to CreateUsers (20101217000008)
|
29
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
30
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
31
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
32
|
-
FROM sqlite_master
|
33
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
34
|
-
[0m
|
35
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
36
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
37
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
38
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
39
|
-
FROM sqlite_master
|
40
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
41
|
-
[0m
|
42
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
43
|
-
Migrating to CreateUsers (20101217000008)
|
44
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
45
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
46
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '72a56332b80ccce18b13e24b0e193383419b63c3fb1798474d1d2fbc49e0e0c640d9eb328ea3949cfdbe9f4984ef51132dc821dcafe82291d6a7f9654578fdd0') LIMIT 1[0m
|
47
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'o1TkjpoSNbRglu_Nny9i') LIMIT 1[0m
|
48
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 01:47:31', 'o1TkjpoSNbRglu_Nny9i', NULL, NULL, 't', '2011-01-05 01:47:31', 'kbKVu_fzl3zAdkaKqm8k', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '72a56332b80ccce18b13e24b0e193383419b63c3fb1798474d1d2fbc49e0e0c640d9eb328ea3949cfdbe9f4984ef51132dc821dcafe82291d6a7f9654578fdd0', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
49
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
50
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 01:47:31', "perishable_token" = 'eBX7IHdAgmkD1NuYf6ks', "last_request_at" = '2011-01-05 01:47:31', "lock_version" = 1, "current_login_at" = '2011-01-05 01:47:31'
|
51
|
-
WHERE id = 1
|
52
|
-
AND "lock_version" = 0
|
53
|
-
[0m
|
54
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'ba949a3c116ccf90e278370aefe8d198b1c44b06d330d2785965d6d06932eab5e5d04a11eba78793981ce99709e040638af0187b94d0e02d5d348527c6403fe9') LIMIT 1[0m
|
55
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'QBTbe977IaKzGNEmbGeT') LIMIT 1[0m
|
56
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 01:47:31', 'QBTbe977IaKzGNEmbGeT', NULL, NULL, 't', '2011-01-05 01:47:31', 'EdnvXXaE3DgvItlwrQTE', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, 'ba949a3c116ccf90e278370aefe8d198b1c44b06d330d2785965d6d06932eab5e5d04a11eba78793981ce99709e040638af0187b94d0e02d5d348527c6403fe9', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
57
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
58
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 01:47:31', "perishable_token" = 'yfo9QWt0wyoR9cyueALR', "last_request_at" = '2011-01-05 01:47:31', "lock_version" = 1, "current_login_at" = '2011-01-05 01:47:31'
|
59
|
-
WHERE id = 2
|
60
|
-
AND "lock_version" = 0
|
61
|
-
[0m
|
62
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 01:47:31', NULL, NULL, NULL, 't', '2011-01-05 01:47:31', 'o9xqKY8m8w5YJNW6sAl4', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
63
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
64
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 01:47:31', "perishable_token" = 'P0kwHxl3Vx33kfdJnDeG', "last_request_at" = '2011-01-05 01:47:31', "lock_version" = 1, "current_login_at" = '2011-01-05 01:47:31'
|
65
|
-
WHERE id = 3
|
66
|
-
AND "lock_version" = 0
|
67
|
-
[0m
|
68
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 01:47:31', NULL, NULL, NULL, 't', '2011-01-05 01:47:31', 'bIvjHnDDx6lWoACx4RDq', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
69
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
70
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 01:47:31', "perishable_token" = 'RkxnsBc6tZx5cUseox5f', "last_request_at" = '2011-01-05 01:47:31', "lock_version" = 1, "current_login_at" = '2011-01-05 01:47:31'
|
71
|
-
WHERE id = 4
|
72
|
-
AND "lock_version" = 0
|
73
|
-
[0m
|
74
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
75
|
-
FROM sqlite_master
|
76
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
77
|
-
[0m
|
78
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
79
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
80
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
81
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
82
|
-
FROM sqlite_master
|
83
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
84
|
-
[0m
|
85
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
86
|
-
Migrating to CreateUsers (20101217000008)
|
87
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
88
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
89
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '2339319a4fd4b9e6aeb8aedd56dc78fdb960edcd9591edada9623f8494f29684aa1057a2279c68ef2f532e222fbf1584e2355f739405084910737239e6f6faac') LIMIT 1[0m
|
90
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'x9trgkKYah_VHQOaSbq9') LIMIT 1[0m
|
91
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 02:49:27', 'x9trgkKYah_VHQOaSbq9', NULL, NULL, 't', '2011-01-05 02:49:27', 'Xh4yvJBdbhgKKgOxBpbQ', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '2339319a4fd4b9e6aeb8aedd56dc78fdb960edcd9591edada9623f8494f29684aa1057a2279c68ef2f532e222fbf1584e2355f739405084910737239e6f6faac', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
92
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
93
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 02:49:27', "perishable_token" = '5jXBntUCMDJKgvCOcd6y', "last_request_at" = '2011-01-05 02:49:27', "lock_version" = 1, "current_login_at" = '2011-01-05 02:49:27'
|
94
|
-
WHERE id = 1
|
95
|
-
AND "lock_version" = 0
|
96
|
-
[0m
|
97
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'e13ed14d0711ed4f29218cdb9546b92aff7c89a83826f8b2368df24d5fb0fdb033401a1e670bb67ba686c171fdfeeb4203a87223de46c899a9ea7a706a249043') LIMIT 1[0m
|
98
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'aFx5vHL_bbNpu7KfP9Sh') LIMIT 1[0m
|
99
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 02:49:27', 'aFx5vHL_bbNpu7KfP9Sh', NULL, NULL, 't', '2011-01-05 02:49:27', 'lPEBVK4Axjveuiw2x8dB', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, 'e13ed14d0711ed4f29218cdb9546b92aff7c89a83826f8b2368df24d5fb0fdb033401a1e670bb67ba686c171fdfeeb4203a87223de46c899a9ea7a706a249043', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
100
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
101
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 02:49:27', "perishable_token" = 'Rui7XLyC1M8Vm0zlkAku', "last_request_at" = '2011-01-05 02:49:27', "lock_version" = 1, "current_login_at" = '2011-01-05 02:49:27'
|
102
|
-
WHERE id = 2
|
103
|
-
AND "lock_version" = 0
|
104
|
-
[0m
|
105
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 02:49:27', NULL, NULL, NULL, 't', '2011-01-05 02:49:27', 'kTXskzxx7WsMS61XcW6D', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
106
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
107
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 02:49:27', "perishable_token" = 'lwlqmU2qDSSOjGqNTd5a', "last_request_at" = '2011-01-05 02:49:27', "lock_version" = 1, "current_login_at" = '2011-01-05 02:49:27'
|
108
|
-
WHERE id = 3
|
109
|
-
AND "lock_version" = 0
|
110
|
-
[0m
|
111
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 02:49:27', NULL, NULL, NULL, 't', '2011-01-05 02:49:27', 'Lz2QOBzhZOXHtHdjL9bs', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
112
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
113
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 02:49:27', "perishable_token" = 'AV6UlHvtzrat83rWOY3Y', "last_request_at" = '2011-01-05 02:49:27', "lock_version" = 1, "current_login_at" = '2011-01-05 02:49:27'
|
114
|
-
WHERE id = 4
|
115
|
-
AND "lock_version" = 0
|
116
|
-
[0m
|
117
|
-
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
118
|
-
FROM sqlite_master
|
119
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
120
|
-
[0m
|
121
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
122
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
123
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
124
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
125
|
-
FROM sqlite_master
|
126
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
127
|
-
[0m
|
128
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
129
|
-
Migrating to CreateUsers (20101217000008)
|
130
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
131
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
132
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'fcb5d9b05abae3defaf0a0d573341370376b1b5b34114634ab148b2db6477b86f32c092d289c4d76359ea0e9052374659a0bfeb59c656e9558c75c89ad634850') LIMIT 1[0m
|
133
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'Jk4t2D8xIVzr-drf1g9D') LIMIT 1[0m
|
134
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 02:56:52', 'Jk4t2D8xIVzr-drf1g9D', NULL, NULL, 't', '2011-01-05 02:56:52', 'YEqFCrp4ZlmtuDyIBoa2', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, 'fcb5d9b05abae3defaf0a0d573341370376b1b5b34114634ab148b2db6477b86f32c092d289c4d76359ea0e9052374659a0bfeb59c656e9558c75c89ad634850', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
135
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
136
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 02:56:52', "perishable_token" = 'viIYjwY-It_i3eudsN2D', "last_request_at" = '2011-01-05 02:56:52', "lock_version" = 1, "current_login_at" = '2011-01-05 02:56:52'
|
137
|
-
WHERE id = 1
|
138
|
-
AND "lock_version" = 0
|
139
|
-
[0m
|
140
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'fd0682ff46cc5f1d729924b839c32a0f94454562bc15b4cec105c48908eeca8673c70cb6449efc916b0eedb51c155714a9d1b0ed00ccd1cae1219565ee810fd3') LIMIT 1[0m
|
141
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'J6zUBKnQNklM79gLDds5') LIMIT 1[0m
|
142
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 02:56:52', 'J6zUBKnQNklM79gLDds5', NULL, NULL, 't', '2011-01-05 02:56:52', 'lQ5EWLf3AvmiNZuCWmF3', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, 'fd0682ff46cc5f1d729924b839c32a0f94454562bc15b4cec105c48908eeca8673c70cb6449efc916b0eedb51c155714a9d1b0ed00ccd1cae1219565ee810fd3', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
143
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
144
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 02:56:52', "perishable_token" = '4xCFZCZTyEJkuncNmwe2', "last_request_at" = '2011-01-05 02:56:52', "lock_version" = 1, "current_login_at" = '2011-01-05 02:56:52'
|
145
|
-
WHERE id = 2
|
146
|
-
AND "lock_version" = 0
|
147
|
-
[0m
|
148
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 02:56:53', NULL, NULL, NULL, 't', '2011-01-05 02:56:53', 'QPUSDFsbQNvlzmiKsMdQ', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
149
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
150
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 02:56:53', "perishable_token" = 'zM5_WranpRa5tV_xGpOn', "last_request_at" = '2011-01-05 02:56:53', "lock_version" = 1, "current_login_at" = '2011-01-05 02:56:53'
|
151
|
-
WHERE id = 3
|
152
|
-
AND "lock_version" = 0
|
153
|
-
[0m
|
154
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-01-05 02:56:53', NULL, NULL, NULL, 't', '2011-01-05 02:56:53', 'c342yHUJlfrSqwKLL_I8', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
155
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
156
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-01-05 02:56:53', "perishable_token" = 'R35njl1Msiul4-GbHuQD', "last_request_at" = '2011-01-05 02:56:53', "lock_version" = 1, "current_login_at" = '2011-01-05 02:56:53'
|
157
|
-
WHERE id = 4
|
158
|
-
AND "lock_version" = 0
|
159
|
-
[0m
|
160
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
161
|
-
FROM sqlite_master
|
162
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
163
|
-
[0m
|
164
|
-
[4;35;1mSQL (0.2ms)[0m [0mselect sqlite_version(*)[0m
|
165
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
166
|
-
[4;35;1mSQL (24.3ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
167
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
168
|
-
FROM sqlite_master
|
169
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
170
|
-
[0m
|
171
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
172
|
-
Migrating to CreateUsers (20101217000008)
|
173
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
174
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
175
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '1c200f6444bed1c541c2eb3763dda02b71113d0ed27102b5d6f3fb5cac0ac345d8e48d81427dad29a662366ee83d7ac64104f66067b242648f62fc11e47b87d0') LIMIT 1[0m
|
176
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'g8AV1hZ9PjNlUw29pAAp') LIMIT 1[0m
|
177
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '00f0a6c30caffea49b2c729984ce2edbf1e1dd5165c5edb7692b18ef72da72034ca35d867305976166064c9ff5db38f5994857bb8d985e1ee28ef783f458fe2e') LIMIT 1[0m
|
178
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'q6gsLvrykUnLR5zrz-8k') LIMIT 1[0m
|
179
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
180
|
-
FROM sqlite_master
|
181
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
182
|
-
[0m
|
183
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
184
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
185
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
186
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
187
|
-
FROM sqlite_master
|
188
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
189
|
-
[0m
|
190
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
191
|
-
Migrating to CreateUsers (20101217000008)
|
192
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
193
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
194
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'bfbeab5a9f5791ff6d0b37c4821dda6ecce2229bbafdfab3d8dc77e763f5efa33dbad64310d7363e5157bbfbbaf26bd7b14fd92b2523d360bbd6e88d52538888') LIMIT 1[0m
|
195
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'toqtea4oBT6TUFnO1wpa') LIMIT 1[0m
|
196
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '8fa39d631acb484c733b1cd2721e09fe9d3b69a4950002014c6b3c243e0e5ef9a7589ae98511f5f2d9d60d6783c5c59715c6247ebfd27246530a712c633874ab') LIMIT 1[0m
|
197
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'pJ7G7LzCPlT9GVrQnvhP') LIMIT 1[0m
|
198
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
199
|
-
FROM sqlite_master
|
200
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
201
|
-
[0m
|
202
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
203
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
204
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
205
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
206
|
-
FROM sqlite_master
|
207
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
208
|
-
[0m
|
209
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
210
|
-
Migrating to CreateUsers (20101217000008)
|
211
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
212
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
213
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '49baf723651569089bbacfc1a6bd0891156ca56de23e2fc8a4f955cf184905817622d29f5d64546ffc55caa5ae10f9532139d09169e95f041ffb2678b90a9242') LIMIT 1[0m
|
214
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'vZtotf8JD6xB2cR3Jfnz') LIMIT 1[0m
|
215
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '3a842fbb6c117849137f137d854339b43bef8472146503f6340c93f0dcf7e6c18f97f746f2c2c7c70d9de887d82349f8f32331eade426953e22b6fde72031717') LIMIT 1[0m
|
216
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'TadLRuh0ghvdUvGo3ZrE') LIMIT 1[0m
|
217
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
218
|
-
FROM sqlite_master
|
219
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
220
|
-
[0m
|
221
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
222
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
223
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
224
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
225
|
-
FROM sqlite_master
|
226
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
227
|
-
[0m
|
228
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
229
|
-
Migrating to CreateUsers (20101217000008)
|
230
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
231
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
232
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '3d970d1af2d512d83fa7b985f298aced83f9c810972b59e9f7bcb5263d989a4e0c83e89525310fa7b9c0b4cb976266203fd3b387dc531a3cd71e0df5908cb9e2') LIMIT 1[0m
|
233
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'CGPAd4popK8xfhV5D3iR') LIMIT 1[0m
|
234
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '7ecc40240d8d854e7517e9565357c05e71f1bb26d4d2e994b93a58e41860335d65564df36e1e3740b85d38402fb4c7e0405a49cdd5cb12aad953a3a071f0a0e7') LIMIT 1[0m
|
235
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'CbqUam3d4Z8SYavlon8A') LIMIT 1[0m
|
236
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
237
|
-
FROM sqlite_master
|
238
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
239
|
-
[0m
|
240
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
241
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
242
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
243
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
244
|
-
FROM sqlite_master
|
245
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
246
|
-
[0m
|
247
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
248
|
-
Migrating to CreateUsers (20101217000008)
|
249
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
250
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
251
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'ca8f936d4da161e66479bf917664eb50119a22c56395b230bca307a3ae800a11901f02f2c59b8a995d50a88c6acf1ff0562fda0ce35d3fa0be2136c56e205bc6') LIMIT 1[0m
|
252
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'wQKZXnIzWrAEz4WrJJO-') LIMIT 1[0m
|
253
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '0d7104112d95b3cb630926fa74d69a6addad8ae6597d0f84fda67b7527b0712a3947c40b8fa05797a7326a3bda2c6d664daa9a3c13682dff6beb068f4044d898') LIMIT 1[0m
|
254
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'RIIQXB9T-YEe3zgLuVrP') LIMIT 1[0m
|
255
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
256
|
-
FROM sqlite_master
|
257
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
258
|
-
[0m
|
259
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
260
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
261
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
262
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
263
|
-
FROM sqlite_master
|
264
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
265
|
-
[0m
|
266
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
267
|
-
Migrating to CreateUsers (20101217000008)
|
268
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
269
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
270
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'b0e6887ca00c7b308d00993ddb0b24d66615b355fe1de659eef43abf7d92f0cc0f027b81ac3a835f1695f1e1da418fb3fd55d5dc1de4e75e7344191ddfd2a3ca') LIMIT 1[0m
|
271
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '6H79En0E1Ki_wQbjmG4t') LIMIT 1[0m
|
272
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'a0ec05fa4302dd51bb0ef35601ecc2f0745fd6641b4c9d7b219461bd56a8b35c4e2fda4b6ff3eeb2172675885419af9e235a111ddd020bf20730881f2aa4d6d0') LIMIT 1[0m
|
273
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'VtdPWdbo2GoNgtcFh9bD') LIMIT 1[0m
|
274
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
275
|
-
FROM sqlite_master
|
276
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
277
|
-
[0m
|
278
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
279
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
280
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
281
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
282
|
-
FROM sqlite_master
|
283
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
284
|
-
[0m
|
285
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
286
|
-
Migrating to CreateUsers (20101217000008)
|
287
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
288
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
289
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '5c9f6690770dfffab67eb6ed26112d75b769c3f1bd7cc1eced40e8c6052c1dcf31a16cde18f791420050ecb4e23755ce0c61934bb6350629243bd5943ff3063c') LIMIT 1[0m
|
290
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'bVj47PGpObWj0CK4TgUt') LIMIT 1[0m
|
291
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '10b4454bd24eea7b57c0b381e40cee85ed173a8aac8fbd8d1af03d816226593283e2916f89f2635fce068959f091d1b00e21732baa7e4e77baaa6206ba3a4eab') LIMIT 1[0m
|
292
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'yCJG_ZmABRLKrEdlyVhz') LIMIT 1[0m
|
293
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
294
|
-
FROM sqlite_master
|
295
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
296
|
-
[0m
|
297
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
298
|
-
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
299
|
-
[4;35;1mSQL (0.5ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
300
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
301
|
-
FROM sqlite_master
|
302
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
303
|
-
[0m
|
304
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
305
|
-
Migrating to CreateUsers (20101217000008)
|
306
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
307
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
308
|
-
[4;36;1mUser Load (0.2ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'd139b7c807f6d1600f1d7c4f51a934328f82723b0b6e4a59e08e0e65a8d720965552b81b0b02192369d998158441f488b1d18a4985de3b3b80ba69d0b8b041a6') LIMIT 1[0m
|
309
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'BxoRjOSBT6l8slTRz2Ws') LIMIT 1[0m
|
310
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '521c8270a531f79ec727b62176739c2ca65065e4c47408ae79ccfc0f90d0ef672b46a909fa8bac5680a90a86410b097582065040ae79ac92aa1754bf82bab1fc') LIMIT 1[0m
|
311
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'tqG74HWHEhrZVXE1fb_E') LIMIT 1[0m
|
312
|
-
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
313
|
-
FROM sqlite_master
|
314
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
315
|
-
[0m
|
316
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
317
|
-
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
318
|
-
[4;35;1mSQL (0.2ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
319
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
320
|
-
FROM sqlite_master
|
321
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
322
|
-
[0m
|
323
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
324
|
-
Migrating to CreateUsers (20101217000008)
|
325
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
326
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
327
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'a35e3585fb6d1c4ec9c7ce5495115fbe9a78337aeb7b130813131875fd6e2c33b81f63c1933ca0b8f8ee7e5c3a7c3a78adcaa952597adb5724ee2cd232dcff4e') LIMIT 1[0m
|
328
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '9vNcJn0W3tDco9g2Na5n') LIMIT 1[0m
|
329
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '65285dab35efdab3915201f6bf82a921e15e5f1733767255ca15328a69f9bb2e846fee0b212a39d71654b7ba22723218c0fe0a401859405a65dc201526ff7e29') LIMIT 1[0m
|
330
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '_ymzNRJnt1ttU4ZcmWdI') LIMIT 1[0m
|
331
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
332
|
-
FROM sqlite_master
|
333
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
334
|
-
[0m
|
335
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
336
|
-
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
337
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
338
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
339
|
-
FROM sqlite_master
|
340
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
341
|
-
[0m
|
342
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
343
|
-
Migrating to CreateUsers (20101217000008)
|
344
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
345
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
346
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'cab61227a85a35da055e0ab97f9dc4b88bc29e8d30d6862ca1e57a8b6148e02860ff3e048ee242f1298f75183fd4c2e02287cbd63d9f4f44203c758747c7dfc4') LIMIT 1[0m
|
347
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'RP4F-qGykYRIElZBckR7') LIMIT 1[0m
|
348
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '902f280ba3fb0c3119edcd9fd31f2f73e8644a0cd0358560000fcc6851cbbf00bfe0aaeb145a80350202a194dd8c3d202e6e887477a1f668d4b5d9f7067d78e9') LIMIT 1[0m
|
349
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '4EV7a6I33vRva58C-VG0') LIMIT 1[0m
|
350
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
351
|
-
FROM sqlite_master
|
352
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
353
|
-
[0m
|
354
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
355
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
356
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
357
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
358
|
-
FROM sqlite_master
|
359
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
360
|
-
[0m
|
361
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
362
|
-
Migrating to CreateUsers (20101217000008)
|
363
|
-
[4;36;1mSQL (0.7ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
364
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
365
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '1044021bfe0684641cc470ac667fcf4d0157d8b855d980590ee795ac78c594643e437ae9821aa2947094f254bcdb222e533280a453c3b5e2f2d73ba308323248') LIMIT 1[0m
|
366
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'pZIDmEcUtB6AmdVf61uU') LIMIT 1[0m
|
367
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'f76a413549f6828c73aa29bcedb3b27b9431a9e5775c47e4091d1a241526b1eaaa05f5a6ac39a77dd61060de26d762c14236d7312cec318110124e5d4a480e25') LIMIT 1[0m
|
368
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'TCUxdv3JgKLoac2Tx_cP') LIMIT 1[0m
|
369
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
370
|
-
FROM sqlite_master
|
371
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
372
|
-
[0m
|
373
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
374
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
375
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
376
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
377
|
-
FROM sqlite_master
|
378
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
379
|
-
[0m
|
380
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
381
|
-
Migrating to CreateUsers (20101217000008)
|
382
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
383
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
384
|
-
[4;36;1mUser Load (0.2ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '00b984ed45f89d64dd6a5f8b3743c3700f66c3b11f511afcf622b11ce8a1d1badda83850d2e2e24eaba19b1373f4540c8be6382d379dd564f2a1ae10d20c863c') LIMIT 1[0m
|
385
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'VbkNumzkDjD0MVQRiJ8i') LIMIT 1[0m
|
386
|
-
[4;36;1mUser Load (0.3ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '7449e2871c43542ed02b2aa9948aef3d536632d6db53bb9940b7fedff8111c32a07175bbfe7fa800437d85a8a56acf72337e54bd7c65def8be04ff7e93ead8b6') LIMIT 1[0m
|
387
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'j7HmbfoOf3nMRnBLm2nz') LIMIT 1[0m
|
388
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
389
|
-
FROM sqlite_master
|
390
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
391
|
-
[0m
|
392
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
393
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
394
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
395
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
396
|
-
FROM sqlite_master
|
397
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
398
|
-
[0m
|
399
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
400
|
-
Migrating to CreateUsers (20101217000008)
|
401
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
402
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
403
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '84298ce6aa34cd7f32041d90ee9217585a371ef80d29d2865b65a8d394dcc7f67d497313e2ef158945b5494d71113f81647b2e3c2408efaa7c57b3b694ff6870') LIMIT 1[0m
|
404
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'QXdXddaGEGV-ixMRkX1j') LIMIT 1[0m
|
405
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '16926a2117484c914be7503b6b85943fbd32c4b8aca231feef536bf8d6cce31b47fadde141c76eb6be2818acd8bbb5d615eca809d3ece683ce745ebfd8b0cd82') LIMIT 1[0m
|
406
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '94e8p8at1WUPYibShpUt') LIMIT 1[0m
|
407
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
408
|
-
FROM sqlite_master
|
409
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
410
|
-
[0m
|
411
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
412
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
413
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
414
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
415
|
-
FROM sqlite_master
|
416
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
417
|
-
[0m
|
418
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
419
|
-
Migrating to CreateUsers (20101217000008)
|
420
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
421
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
422
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '3f238b9380ce601c7734ae902833fb8b5aa6112fb651b3c489126447b4821842ddfa246810a4f41ae88356837e7f31f0e09661bcc90e269d882cc818050a00e9') LIMIT 1[0m
|
423
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'rgqZgslFI-qSyvHkwtho') LIMIT 1[0m
|
424
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'e1874514ee5fc24e78322ce06749c9933c7f5f60b90e07439ba5dd9bdb663811a8e30ab027ad2ab5555a72fede511da804583dd1c2d4612d2750f0584a8ca314') LIMIT 1[0m
|
425
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'CViJeoInrXU5cdTL6nT8') LIMIT 1[0m
|
426
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
427
|
-
FROM sqlite_master
|
428
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
429
|
-
[0m
|
430
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
431
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
432
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
433
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
434
|
-
FROM sqlite_master
|
435
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
436
|
-
[0m
|
437
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
438
|
-
Migrating to CreateUsers (20101217000008)
|
439
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
440
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
441
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '696eb49c158e3dad55874bb4e46dfceab23c5630d2c4d454f09254071b66e69f2a340170878f5d6c45cf1758bd58c28ba04042563e0f21738993c990b300356e') LIMIT 1[0m
|
442
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'dB52AO0AlzX9YB81442N') LIMIT 1[0m
|
443
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'e4537450859d41c08d966f2cbe59c79f2df62024fb522c4f9fcbd906213b035f7f0d7d30a444d129baac786fcf7675984d90be1dfa50cb874b3e6dad95f9175a') LIMIT 1[0m
|
444
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'wCW9cL4RPWDTjvWFLO43') LIMIT 1[0m
|
445
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
446
|
-
FROM sqlite_master
|
447
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
448
|
-
[0m
|
449
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
450
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
451
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
452
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
453
|
-
FROM sqlite_master
|
454
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
455
|
-
[0m
|
456
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
457
|
-
Migrating to CreateUsers (20101217000008)
|
458
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
459
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
460
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '2ad3d430d5446f5ba91afc4301d7de55ede38e41a82d4afd6ee259df25612c06ef68f74028e2ea7480080ed8d9ccc50e129236092409244467c1fafeb121d718') LIMIT 1[0m
|
461
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'WL3xV3j0J9wo2cSEGvc9') LIMIT 1[0m
|
462
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '2589d7d2c8d28aa7b09530bd141aa81f1ec5365489beeef7d31eb93ffd4b4294b40639aa38aa6e17c09328afaa551e528c4ec036558d8123164621ded8349553') LIMIT 1[0m
|
463
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'm3K6GBX5lyobFGRzFkVX') LIMIT 1[0m
|
464
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
465
|
-
FROM sqlite_master
|
466
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
467
|
-
[0m
|
468
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
469
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
470
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
471
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
472
|
-
FROM sqlite_master
|
473
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
474
|
-
[0m
|
475
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
476
|
-
Migrating to CreateUsers (20101217000008)
|
477
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
478
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
479
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'bea7032a8c7abd7a08411bff877903372c2b369647c69d340a362e3c09e5914f30242901b26f1d0cb72d569c7e4b0717968db319f26d4cf0a6db0c0f9871cf16') LIMIT 1[0m
|
480
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'ljAi3amGk1K6wZ3BcW5B') LIMIT 1[0m
|
481
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'b7fbbbb955f14c91ddb185e1bfd4dfc1a36f041590a55260c52d90c2157038cbea1dc88a4d0f3e78f47d389e1d6626842ff4d7e96dd3e803679204424eda7748') LIMIT 1[0m
|
482
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'nB1pncacY4ANBoSBG5AW') LIMIT 1[0m
|
483
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
484
|
-
FROM sqlite_master
|
485
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
486
|
-
[0m
|
487
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
488
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
489
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
490
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
491
|
-
FROM sqlite_master
|
492
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
493
|
-
[0m
|
494
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
495
|
-
Migrating to CreateUsers (20101217000008)
|
496
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
497
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
498
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '3c02c2225886df591ec46264a10466d9d89937bb7aefaf32ed4210de8761c5c0d2d508f8a742823e197e29fe02c76b629beb970849c450ea6efab1c030272ea9') LIMIT 1[0m
|
499
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '8QQApoUGFECKRDmKJiPN') LIMIT 1[0m
|
500
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'd6a860792d79515b565531d66eacc0ae0e8aa2231c64d111018c6f3cbad537b68f8162023b9442f7d195cf9df834125db896f55f92b4a03be5065cd066a2bf03') LIMIT 1[0m
|
501
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'a7RexTCf-C4xXd2ohx2P') LIMIT 1[0m
|
502
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
503
|
-
FROM sqlite_master
|
504
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
505
|
-
[0m
|
506
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
507
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
508
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
509
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
510
|
-
FROM sqlite_master
|
511
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
512
|
-
[0m
|
513
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
514
|
-
Migrating to CreateUsers (20101217000008)
|
515
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
516
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
517
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'fb4034e1c04af264d81813aeec862d880a5d6c4fa78b73177ed5689aac4cf1f4faa83ff453bd621a27e4144b90a1e9714cb93834c9ced1a55a3397b6e4240438') LIMIT 1[0m
|
518
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'ar92-Im3CYo_Z2ndJIF5') LIMIT 1[0m
|
519
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '9997134e46705bbc92fe537534518cf189a6a6155477140ba3c7420583ef5f52b776cca4ccd3a1186e7de9fe44ff82cde7447a9adaab86a77008c77e7b7adbfd') LIMIT 1[0m
|
520
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'nApUlE2fyCKC6WaDOa-0') LIMIT 1[0m
|
521
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
522
|
-
FROM sqlite_master
|
523
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
524
|
-
[0m
|
525
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
526
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
527
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
528
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
529
|
-
FROM sqlite_master
|
530
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
531
|
-
[0m
|
532
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
533
|
-
Migrating to CreateUsers (20101217000008)
|
534
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
535
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
536
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '4c810d1e71f79398b39135d60d0e1da6f037d4930b365387b54474683d67621651244e0488fc9ad05f7b72e0848dd1930a0f56e4b23982d0cef4deed5ca125b7') LIMIT 1[0m
|
537
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'RnAunlaBjPffLi4vRsAy') LIMIT 1[0m
|
538
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '61d4e5b65b8d469302406a68740e65006c26e1f7d6613c1fe40317611d214b4f24b12c2a5447eb2b4246ed70545f69f373de8ae0dd5d70cf69b349586061b2ad') LIMIT 1[0m
|
539
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'thsHGsXxkwrQM64Njanz') LIMIT 1[0m
|
540
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
541
|
-
FROM sqlite_master
|
542
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
543
|
-
[0m
|
544
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
545
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
546
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
547
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
548
|
-
FROM sqlite_master
|
549
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
550
|
-
[0m
|
551
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
552
|
-
Migrating to CreateUsers (20101217000008)
|
553
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
554
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
555
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '6930fcf4b4112d7992c3f6d660cea6f3fe31dfd56b01e76e26bfb4656d053b9cdc75718c77bd5d879a56c3ce7ac844df018c1dbf5af9c452380e4f697ecb7e03') LIMIT 1[0m
|
556
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '-M2Oc2jVThif9tNe_aqO') LIMIT 1[0m
|
557
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 01:11:33', '-M2Oc2jVThif9tNe_aqO', NULL, NULL, 't', '2011-04-07 01:11:33', '8Zw0KBVTJg5fmj1SpuOQ', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '6930fcf4b4112d7992c3f6d660cea6f3fe31dfd56b01e76e26bfb4656d053b9cdc75718c77bd5d879a56c3ce7ac844df018c1dbf5af9c452380e4f697ecb7e03', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
558
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
559
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 01:11:33', "perishable_token" = 'ik9L5J8ZQIQrMOZy6KmX', "last_request_at" = '2011-04-07 01:11:33', "lock_version" = 1, "current_login_at" = '2011-04-07 01:11:33'
|
560
|
-
WHERE id = 1
|
561
|
-
AND "lock_version" = 0
|
562
|
-
[0m
|
563
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '31aee821e17c77964b1701fa38b2ea70b4857b1e6e3d40735d1bf066374e1939f8571bb5e8b4e0639120c82a7d29efc7e3bb5ccf48119b2a1de8209a12a856e1') LIMIT 1[0m
|
564
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'bUSQg6IcrlY3ClT_Kmqu') LIMIT 1[0m
|
565
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 01:11:33', 'bUSQg6IcrlY3ClT_Kmqu', NULL, NULL, 't', '2011-04-07 01:11:33', 'FOamw1Vbx6Hw4pJOcefH', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '31aee821e17c77964b1701fa38b2ea70b4857b1e6e3d40735d1bf066374e1939f8571bb5e8b4e0639120c82a7d29efc7e3bb5ccf48119b2a1de8209a12a856e1', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
566
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
567
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 01:11:33', "perishable_token" = 'oCUp05E-tgeWYKrV5v1e', "last_request_at" = '2011-04-07 01:11:33', "lock_version" = 1, "current_login_at" = '2011-04-07 01:11:33'
|
568
|
-
WHERE id = 2
|
569
|
-
AND "lock_version" = 0
|
570
|
-
[0m
|
571
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 01:11:33', NULL, NULL, NULL, 't', '2011-04-07 01:11:33', '9ngBKgqPqhXNQ4z94fMf', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
572
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
573
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 01:11:33', "perishable_token" = 'j9uZ_BgrtQET8ERvo-Qp', "last_request_at" = '2011-04-07 01:11:33', "lock_version" = 1, "current_login_at" = '2011-04-07 01:11:33'
|
574
|
-
WHERE id = 3
|
575
|
-
AND "lock_version" = 0
|
576
|
-
[0m
|
577
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 01:11:33', NULL, NULL, NULL, 't', '2011-04-07 01:11:33', 'MC5xztM-_EC_NeWjXIQm', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
578
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
579
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 01:11:33', "perishable_token" = 'Lj0wgzZVOkLxNSD8UX64', "last_request_at" = '2011-04-07 01:11:33', "lock_version" = 1, "current_login_at" = '2011-04-07 01:11:33'
|
580
|
-
WHERE id = 4
|
581
|
-
AND "lock_version" = 0
|
582
|
-
[0m
|
583
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
584
|
-
FROM sqlite_master
|
585
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
586
|
-
[0m
|
587
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
588
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
589
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
590
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
591
|
-
FROM sqlite_master
|
592
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
593
|
-
[0m
|
594
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
595
|
-
Migrating to CreateUsers (20101217000008)
|
596
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
597
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
598
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '98a67370f68a857ae2c36a7fca76c0a8b8cef1f0961cc1f39baa0d8f08869ea0f0b6ea842ef9271671e3c78ce1a35f25a1be96ef3b04af4635ca733fbb370d97') LIMIT 1[0m
|
599
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '4CMkyqzC0Cv_sO6s-vC1') LIMIT 1[0m
|
600
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 13:56:16', '4CMkyqzC0Cv_sO6s-vC1', NULL, NULL, 't', '2011-04-07 13:56:16', 'DyzbtjVkEwhqicnxdNZO', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '98a67370f68a857ae2c36a7fca76c0a8b8cef1f0961cc1f39baa0d8f08869ea0f0b6ea842ef9271671e3c78ce1a35f25a1be96ef3b04af4635ca733fbb370d97', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
601
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
602
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 13:56:16', "perishable_token" = 'p6z6adV66EOFwrB7Bt8D', "last_request_at" = '2011-04-07 13:56:16', "lock_version" = 1, "current_login_at" = '2011-04-07 13:56:16'
|
603
|
-
WHERE id = 1
|
604
|
-
AND "lock_version" = 0
|
605
|
-
[0m
|
606
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'e7956a807e434f9c5830a5034059cc0b3621922232d4280f4d494553487c100e19c10ac507beb2161203e3824857f49835bc777e74363e4f411c9a3bf96c1fde') LIMIT 1[0m
|
607
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '9_nQoqrB6IujTx0z7_9t') LIMIT 1[0m
|
608
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 13:56:16', '9_nQoqrB6IujTx0z7_9t', NULL, NULL, 't', '2011-04-07 13:56:16', 'lbL8GZE--yS2BHtJhnqL', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, 'e7956a807e434f9c5830a5034059cc0b3621922232d4280f4d494553487c100e19c10ac507beb2161203e3824857f49835bc777e74363e4f411c9a3bf96c1fde', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
609
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
610
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 13:56:16', "perishable_token" = '5CjGwkdgWGJk-ryZxVwo', "last_request_at" = '2011-04-07 13:56:16', "lock_version" = 1, "current_login_at" = '2011-04-07 13:56:16'
|
611
|
-
WHERE id = 2
|
612
|
-
AND "lock_version" = 0
|
613
|
-
[0m
|
614
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 13:56:16', NULL, NULL, NULL, 't', '2011-04-07 13:56:16', 'GiPqWCljUygTPPR0chUN', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
615
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
616
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 13:56:16', "perishable_token" = 'HDLWxEuAxxwbdp2BDxPa', "last_request_at" = '2011-04-07 13:56:16', "lock_version" = 1, "current_login_at" = '2011-04-07 13:56:16'
|
617
|
-
WHERE id = 3
|
618
|
-
AND "lock_version" = 0
|
619
|
-
[0m
|
620
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 13:56:16', NULL, NULL, NULL, 't', '2011-04-07 13:56:16', 'kDsVbU0-e3lzjNrBWLVf', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
621
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
622
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 13:56:16', "perishable_token" = 'Elta10faPc6ybu-KxMor', "last_request_at" = '2011-04-07 13:56:16', "lock_version" = 1, "current_login_at" = '2011-04-07 13:56:16'
|
623
|
-
WHERE id = 4
|
624
|
-
AND "lock_version" = 0
|
625
|
-
[0m
|
626
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
627
|
-
FROM sqlite_master
|
628
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
629
|
-
[0m
|
630
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
631
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
632
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
633
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
634
|
-
FROM sqlite_master
|
635
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
636
|
-
[0m
|
637
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
638
|
-
Migrating to CreateUsers (20101217000008)
|
639
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
640
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
641
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '268811aedd5773411c1b7141443e1224219d410418d064e573879cab9c8053d5aa415fb6afa5614c3d53da302ba40df41e6364a637dbd6f7ef42f443f8d2b5c3') LIMIT 1[0m
|
642
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'Htk9SJ1N_IcZdM4FMSaZ') LIMIT 1[0m
|
643
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '4f6fe61e9025d64621b3a3c6c746c4e2714726c7a223c2f5b27abed9bf39613e32fae29ecab17e6f78ce766f92fe31795f2c4d7329da3fc63f6f7afef9723a97') LIMIT 1[0m
|
644
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'HoIX0POLi5cju2IJQvCU') LIMIT 1[0m
|
645
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
646
|
-
FROM sqlite_master
|
647
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
648
|
-
[0m
|
649
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
650
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
651
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
652
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
653
|
-
FROM sqlite_master
|
654
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
655
|
-
[0m
|
656
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
657
|
-
Migrating to CreateUsers (20101217000008)
|
658
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
659
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
660
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'a49131643c8389843be9801bd6ed23647d46f6ff7c0ed76d993d24281491a891d3f8c955034714188b21189e5750c92db88d53740e3208e131e111e253c857c4') LIMIT 1[0m
|
661
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '2oWBnn8U9AinLUIfWwTV') LIMIT 1[0m
|
662
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'c491ef4598360eb4be3612bb84b02ac3828f2bc481c738c15860acacf7a01bcc40f7482914173fcb641aaddce1a537f83a89985ff3c697e859130c8d003cf6d5') LIMIT 1[0m
|
663
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'C6NU45e-xUi7oDae0yYF') LIMIT 1[0m
|
664
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
665
|
-
FROM sqlite_master
|
666
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
667
|
-
[0m
|
668
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
669
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
670
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
671
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
672
|
-
FROM sqlite_master
|
673
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
674
|
-
[0m
|
675
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
676
|
-
Migrating to CreateUsers (20101217000008)
|
677
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
678
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
679
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '88dbef7061309f3f4a6aa00bf34150688f6730695b96bb8dcdbaca2c28fb929e6ed6b0852eea6d1763c8a2656f2b4a3acd58eff47c3f9892cd9bfb76dbbb2b60') LIMIT 1[0m
|
680
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'YIZyhEF_eFIoKaxW17zi') LIMIT 1[0m
|
681
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'c543a87c979aa8fbfb852a1cf6fd78afa7d57ee4c270284ae5e8711e9e42276324df92c51d709590e751b6b7dc3dd1d4929c46fcee53704358ed583351ef6925') LIMIT 1[0m
|
682
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'KcXjDo_ijfkYxZ1bFSPb') LIMIT 1[0m
|
683
|
-
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
684
|
-
FROM sqlite_master
|
685
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
686
|
-
[0m
|
687
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
688
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
689
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
690
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
691
|
-
FROM sqlite_master
|
692
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
693
|
-
[0m
|
694
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
695
|
-
Migrating to CreateUsers (20101217000008)
|
696
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
697
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
698
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'ada136fbd531b1b5a3babc3e0b1c9e7f3a7ff60ce75afc8f684451f5a1200a41a4575f9d17b0e857bfad8a3302bfa6cddd89dac97ddd3d0c6f75f687825d69d1') LIMIT 1[0m
|
699
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'M8dmLN1ND1S2SuJaUrHE') LIMIT 1[0m
|
700
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 14:11:13', 'M8dmLN1ND1S2SuJaUrHE', NULL, NULL, 't', '2011-04-07 14:11:13', 'S-RjI_7tZqSeRzIDxHPG', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, 'ada136fbd531b1b5a3babc3e0b1c9e7f3a7ff60ce75afc8f684451f5a1200a41a4575f9d17b0e857bfad8a3302bfa6cddd89dac97ddd3d0c6f75f687825d69d1', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
701
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
702
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 14:11:13', "perishable_token" = 'Ewfb2fOS0ZrP5bj2T7a3', "last_request_at" = '2011-04-07 14:11:13', "lock_version" = 1, "current_login_at" = '2011-04-07 14:11:13'
|
703
|
-
WHERE id = 1
|
704
|
-
AND "lock_version" = 0
|
705
|
-
[0m
|
706
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '0491ba72e4830ec000887be8b1435b0885c73b91d826aa00f3dc6b6274866311cad043785f803e6884f9dc3e76d30b4d16c2d76333420c78ca649ba913bd98ec') LIMIT 1[0m
|
707
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'OXBktljXxaYIncU-7bgR') LIMIT 1[0m
|
708
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 14:11:13', 'OXBktljXxaYIncU-7bgR', NULL, NULL, 't', '2011-04-07 14:11:13', 'V8ucKj2MHbOpCxjUrDdI', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '0491ba72e4830ec000887be8b1435b0885c73b91d826aa00f3dc6b6274866311cad043785f803e6884f9dc3e76d30b4d16c2d76333420c78ca649ba913bd98ec', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
709
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
710
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 14:11:13', "perishable_token" = 'PdZcY3fLkVzTqVk4QQlJ', "last_request_at" = '2011-04-07 14:11:13', "lock_version" = 1, "current_login_at" = '2011-04-07 14:11:13'
|
711
|
-
WHERE id = 2
|
712
|
-
AND "lock_version" = 0
|
713
|
-
[0m
|
714
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 14:11:13', NULL, NULL, NULL, 't', '2011-04-07 14:11:13', 'A2wZnTFk8rJi5GzvY0HU', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
715
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
716
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 14:11:13', "perishable_token" = 'xhPsMXub3aF96ShIVLTD', "last_request_at" = '2011-04-07 14:11:13', "lock_version" = 1, "current_login_at" = '2011-04-07 14:11:13'
|
717
|
-
WHERE id = 3
|
718
|
-
AND "lock_version" = 0
|
719
|
-
[0m
|
720
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 14:11:13', NULL, NULL, NULL, 't', '2011-04-07 14:11:13', 'up7Qcr4qwHvWzpXlu_QY', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
721
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
722
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 14:11:13', "perishable_token" = 'hXBN-I6KARuN76TR9OuN', "last_request_at" = '2011-04-07 14:11:13', "lock_version" = 1, "current_login_at" = '2011-04-07 14:11:13'
|
723
|
-
WHERE id = 4
|
724
|
-
AND "lock_version" = 0
|
725
|
-
[0m
|
726
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
727
|
-
FROM sqlite_master
|
728
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
729
|
-
[0m
|
730
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
731
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
732
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
733
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
734
|
-
FROM sqlite_master
|
735
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
736
|
-
[0m
|
737
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
738
|
-
Migrating to CreateUsers (20101217000008)
|
739
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
740
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
741
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'b652da054bf62c5122abb384175c17cdf01c3f58ddfadb9a318a0daada82a287f5450ed228b49d42cdb9be82e203a2e66fa47ea241f3f023cacdd3bd84634276') LIMIT 1[0m
|
742
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'YWVlvnK-hjeu715X1kJ5') LIMIT 1[0m
|
743
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 14:14:55', 'YWVlvnK-hjeu715X1kJ5', NULL, NULL, 't', '2011-04-07 14:14:55', '1gg58hz8i5dMvo-XMANU', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, 'b652da054bf62c5122abb384175c17cdf01c3f58ddfadb9a318a0daada82a287f5450ed228b49d42cdb9be82e203a2e66fa47ea241f3f023cacdd3bd84634276', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
744
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
745
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 14:14:55', "perishable_token" = 'y9ybaT30R3ytBNwQWcgS', "last_request_at" = '2011-04-07 14:14:55', "lock_version" = 1, "current_login_at" = '2011-04-07 14:14:55'
|
746
|
-
WHERE id = 1
|
747
|
-
AND "lock_version" = 0
|
748
|
-
[0m
|
749
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '6eeda080474056b1fee305749f1f4a99c36b0e3533d801e71805e343f157188e99843a6ac0f84b5a6878864484bca1270a50f2e6b84a9da8135ab64a0fb8473d') LIMIT 1[0m
|
750
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'scjh79X-RqTJX3CSmMU-') LIMIT 1[0m
|
751
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 14:14:55', 'scjh79X-RqTJX3CSmMU-', NULL, NULL, 't', '2011-04-07 14:14:55', 'gGa4foj9Kla0vTBhvuso', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '6eeda080474056b1fee305749f1f4a99c36b0e3533d801e71805e343f157188e99843a6ac0f84b5a6878864484bca1270a50f2e6b84a9da8135ab64a0fb8473d', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
752
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
753
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 14:14:55', "perishable_token" = 'fCXw9F9uWiAhp3iDKR1f', "last_request_at" = '2011-04-07 14:14:55', "lock_version" = 1, "current_login_at" = '2011-04-07 14:14:55'
|
754
|
-
WHERE id = 2
|
755
|
-
AND "lock_version" = 0
|
756
|
-
[0m
|
757
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 14:14:55', NULL, NULL, NULL, 't', '2011-04-07 14:14:55', 'is_gvgtLmLFCOeyZDC0W', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
758
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
759
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 14:14:55', "perishable_token" = 'Gd1HAzqbYP7hYtTvc1KU', "last_request_at" = '2011-04-07 14:14:55', "lock_version" = 1, "current_login_at" = '2011-04-07 14:14:55'
|
760
|
-
WHERE id = 3
|
761
|
-
AND "lock_version" = 0
|
762
|
-
[0m
|
763
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 14:14:55', NULL, NULL, NULL, 't', '2011-04-07 14:14:55', 'R22cl1Is1QFIYPUK44xU', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
764
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
765
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 14:14:55', "perishable_token" = '7C-6ed_vQjpT46-PXfRC', "last_request_at" = '2011-04-07 14:14:55', "lock_version" = 1, "current_login_at" = '2011-04-07 14:14:55'
|
766
|
-
WHERE id = 4
|
767
|
-
AND "lock_version" = 0
|
768
|
-
[0m
|
769
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
770
|
-
FROM sqlite_master
|
771
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
772
|
-
[0m
|
773
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
774
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
775
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
776
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
777
|
-
FROM sqlite_master
|
778
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
779
|
-
[0m
|
780
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
781
|
-
Migrating to CreateUsers (20101217000008)
|
782
|
-
[4;36;1mSQL (0.7ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
783
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
784
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
785
|
-
FROM sqlite_master
|
786
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
787
|
-
[0m
|
788
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
789
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
790
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
791
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
792
|
-
FROM sqlite_master
|
793
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
794
|
-
[0m
|
795
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
796
|
-
Migrating to CreateUsers (20101217000008)
|
797
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
798
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
799
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '5e7b05aef60f9592ca38a99b76d7bbcbc270ed07a8d5b587264c3b41518d510dbbc25c2e1f0cfa39d294049f578c3c53221002532a3ccb648d5199af69d9af45') LIMIT 1[0m
|
800
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'Ke_2jA6qJHYp2HKBsLeX') LIMIT 1[0m
|
801
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 15:40:15', 'Ke_2jA6qJHYp2HKBsLeX', NULL, NULL, 't', '2011-04-07 15:40:15', 'XDbMdLf6W3W7IgBpzsnn', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '5e7b05aef60f9592ca38a99b76d7bbcbc270ed07a8d5b587264c3b41518d510dbbc25c2e1f0cfa39d294049f578c3c53221002532a3ccb648d5199af69d9af45', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
802
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
803
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 15:40:15', "perishable_token" = 'TTGGQZFnZAOxoJ19FYpC', "last_request_at" = '2011-04-07 15:40:15', "lock_version" = 1, "current_login_at" = '2011-04-07 15:40:15'
|
804
|
-
WHERE id = 1
|
805
|
-
AND "lock_version" = 0
|
806
|
-
[0m
|
807
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '05c61b368ba9991c0fd937c5e69bd625f19825fec984e13e3591c1b282b8b0ae77b3bd466d878fe5aa48931b1e868c755ea4f0984650fc0a76e49d7e59e25eec') LIMIT 1[0m
|
808
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = '7k7J0LVxhpt_qlgPFeag') LIMIT 1[0m
|
809
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 15:40:15', '7k7J0LVxhpt_qlgPFeag', NULL, NULL, 't', '2011-04-07 15:40:15', '-gvhu9V4mFnTt3H9EqXB', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '05c61b368ba9991c0fd937c5e69bd625f19825fec984e13e3591c1b282b8b0ae77b3bd466d878fe5aa48931b1e868c755ea4f0984650fc0a76e49d7e59e25eec', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
810
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
811
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 15:40:15', "perishable_token" = 'V02XY_iJKtlPDjQHiBxs', "last_request_at" = '2011-04-07 15:40:15', "lock_version" = 1, "current_login_at" = '2011-04-07 15:40:15'
|
812
|
-
WHERE id = 2
|
813
|
-
AND "lock_version" = 0
|
814
|
-
[0m
|
815
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 15:40:15', NULL, NULL, NULL, 't', '2011-04-07 15:40:15', 'KiulNepCcIdLoc4KIEJ9', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
816
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
817
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 15:40:15', "perishable_token" = 'BSiyFydUWpPO-AoxQoZ2', "last_request_at" = '2011-04-07 15:40:15', "lock_version" = 1, "current_login_at" = '2011-04-07 15:40:15'
|
818
|
-
WHERE id = 3
|
819
|
-
AND "lock_version" = 0
|
820
|
-
[0m
|
821
|
-
[4;36;1mUser Create (0.1ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 15:40:15', NULL, NULL, NULL, 't', '2011-04-07 15:40:15', 'ucvaA7LD0JkS05pWZbx2', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
822
|
-
[4;35;1mUser Update with optimistic locking (0.1ms)[0m [0m UPDATE "users"
|
823
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 15:40:15', "perishable_token" = 'Ic3VWqk8URN62yPrQuaG', "last_request_at" = '2011-04-07 15:40:15', "lock_version" = 1, "current_login_at" = '2011-04-07 15:40:15'
|
824
|
-
WHERE id = 4
|
825
|
-
AND "lock_version" = 0
|
826
|
-
[0m
|
827
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
828
|
-
FROM sqlite_master
|
829
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
830
|
-
[0m
|
831
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
832
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
833
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
834
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
835
|
-
FROM sqlite_master
|
836
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
837
|
-
[0m
|
838
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
839
|
-
Migrating to CreateUsers (20101217000008)
|
840
|
-
[4;36;1mSQL (0.7ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
841
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
842
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
843
|
-
FROM sqlite_master
|
844
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
845
|
-
[0m
|
846
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
847
|
-
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
848
|
-
[4;35;1mSQL (0.4ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
849
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
850
|
-
FROM sqlite_master
|
851
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
852
|
-
[0m
|
853
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
854
|
-
Migrating to CreateUsers (20101217000008)
|
855
|
-
[4;36;1mSQL (0.7ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
856
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
857
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
858
|
-
FROM sqlite_master
|
859
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
860
|
-
[0m
|
861
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
862
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
863
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
864
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
865
|
-
FROM sqlite_master
|
866
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
867
|
-
[0m
|
868
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
869
|
-
Migrating to CreateUsers (20101217000008)
|
870
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
871
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
872
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
873
|
-
FROM sqlite_master
|
874
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
875
|
-
[0m
|
876
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
877
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
878
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
879
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
880
|
-
FROM sqlite_master
|
881
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
882
|
-
[0m
|
883
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
884
|
-
Migrating to CreateUsers (20101217000008)
|
885
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
886
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
887
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
888
|
-
FROM sqlite_master
|
889
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
890
|
-
[0m
|
891
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
892
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
893
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
894
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
895
|
-
FROM sqlite_master
|
896
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
897
|
-
[0m
|
898
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
899
|
-
Migrating to CreateUsers (20101217000008)
|
900
|
-
[4;36;1mSQL (0.7ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
901
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
902
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
903
|
-
FROM sqlite_master
|
904
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
905
|
-
[0m
|
906
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
907
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
908
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
909
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
910
|
-
FROM sqlite_master
|
911
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
912
|
-
[0m
|
913
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
914
|
-
Migrating to CreateUsers (20101217000008)
|
915
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
916
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
917
|
-
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
918
|
-
FROM sqlite_master
|
919
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
920
|
-
[0m
|
921
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
922
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
923
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
924
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
925
|
-
FROM sqlite_master
|
926
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
927
|
-
[0m
|
928
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
929
|
-
Migrating to CreateUsers (20101217000008)
|
930
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
931
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
932
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
933
|
-
FROM sqlite_master
|
934
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
935
|
-
[0m
|
936
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
937
|
-
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
938
|
-
[4;35;1mSQL (0.2ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
939
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
940
|
-
FROM sqlite_master
|
941
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
942
|
-
[0m
|
943
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
944
|
-
Migrating to CreateUsers (20101217000008)
|
945
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
946
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
947
|
-
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
948
|
-
FROM sqlite_master
|
949
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
950
|
-
[0m
|
951
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
952
|
-
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
953
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
954
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
955
|
-
FROM sqlite_master
|
956
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
957
|
-
[0m
|
958
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
959
|
-
Migrating to CreateUsers (20101217000008)
|
960
|
-
[4;36;1mSQL (0.5ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
961
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
962
|
-
[4;36;1mUser Load (0.2ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'aa9f0c80fda57aa2d595b00573ec5cf5ae88b2983e3c52172613ee917f771ea35fd48ce10f0c0c08774989378bd383cb95eb85f0286f176f960115a02f410a1e') LIMIT 1[0m
|
963
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'pZztos7YjVG4CdynvO5C') LIMIT 1[0m
|
964
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 17:05:18', 'pZztos7YjVG4CdynvO5C', NULL, NULL, 't', '2011-04-07 17:05:18', '1EoS3hk64obJJl55m_SE', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, 'aa9f0c80fda57aa2d595b00573ec5cf5ae88b2983e3c52172613ee917f771ea35fd48ce10f0c0c08774989378bd383cb95eb85f0286f176f960115a02f410a1e', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
965
|
-
[4;35;1mUser Update with optimistic locking (0.3ms)[0m [0m UPDATE "users"
|
966
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 17:05:19', "perishable_token" = 'B1CdC-KcXNyjek2u6yI8', "last_request_at" = '2011-04-07 17:05:19', "lock_version" = 1, "current_login_at" = '2011-04-07 17:05:18'
|
967
|
-
WHERE id = 1
|
968
|
-
AND "lock_version" = 0
|
969
|
-
[0m
|
970
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '2cea099a8e379fc8afff234d7ccefff9645772766d1024e04e197c47f6bfce86cf6b734eb6f618789c01123d0fb86a3dd3a5e3a010d35f8ad7d30033b36293a1') LIMIT 1[0m
|
971
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'wuAL24W06YQS8Lxly3kO') LIMIT 1[0m
|
972
|
-
[4;36;1mUser Create (0.3ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 17:05:19', 'wuAL24W06YQS8Lxly3kO', NULL, NULL, 't', '2011-04-07 17:05:19', 'lrgpUoyH0-IL49tAj0sK', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '2cea099a8e379fc8afff234d7ccefff9645772766d1024e04e197c47f6bfce86cf6b734eb6f618789c01123d0fb86a3dd3a5e3a010d35f8ad7d30033b36293a1', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
973
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
974
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 17:05:19', "perishable_token" = 'royMeL6ykndL34hErJvS', "last_request_at" = '2011-04-07 17:05:19', "lock_version" = 1, "current_login_at" = '2011-04-07 17:05:19'
|
975
|
-
WHERE id = 2
|
976
|
-
AND "lock_version" = 0
|
977
|
-
[0m
|
978
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 17:05:19', NULL, NULL, NULL, 't', '2011-04-07 17:05:19', '3aGvZgvjUi783XcfNrSU', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
979
|
-
[4;35;1mUser Update with optimistic locking (0.3ms)[0m [0m UPDATE "users"
|
980
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 17:05:19', "perishable_token" = 'Qn21tY_txbVPRe2Bz5FL', "last_request_at" = '2011-04-07 17:05:19', "lock_version" = 1, "current_login_at" = '2011-04-07 17:05:19'
|
981
|
-
WHERE id = 3
|
982
|
-
AND "lock_version" = 0
|
983
|
-
[0m
|
984
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 17:05:19', NULL, NULL, NULL, 't', '2011-04-07 17:05:19', 'ylC1I3Z-Lpxz5CdiSKmo', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
985
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
986
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 17:05:19', "perishable_token" = '9qrJzpA6uOUZkuTRliqH', "last_request_at" = '2011-04-07 17:05:19', "lock_version" = 1, "current_login_at" = '2011-04-07 17:05:19'
|
987
|
-
WHERE id = 4
|
988
|
-
AND "lock_version" = 0
|
989
|
-
[0m
|
990
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
991
|
-
FROM sqlite_master
|
992
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
993
|
-
[0m
|
994
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
995
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
996
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
997
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
998
|
-
FROM sqlite_master
|
999
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1000
|
-
[0m
|
1001
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
1002
|
-
Migrating to CreateUsers (20101217000008)
|
1003
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
1004
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
1005
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
1006
|
-
FROM sqlite_master
|
1007
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1008
|
-
[0m
|
1009
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
1010
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1011
|
-
[4;35;1mSQL (0.2ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1012
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
1013
|
-
FROM sqlite_master
|
1014
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1015
|
-
[0m
|
1016
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
1017
|
-
Migrating to CreateUsers (20101217000008)
|
1018
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
1019
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
1020
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
1021
|
-
FROM sqlite_master
|
1022
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1023
|
-
[0m
|
1024
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
1025
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1026
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1027
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
1028
|
-
FROM sqlite_master
|
1029
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1030
|
-
[0m
|
1031
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
1032
|
-
Migrating to CreateUsers (20101217000008)
|
1033
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
1034
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
1035
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
1036
|
-
FROM sqlite_master
|
1037
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1038
|
-
[0m
|
1039
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
1040
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1041
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1042
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
1043
|
-
FROM sqlite_master
|
1044
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1045
|
-
[0m
|
1046
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
1047
|
-
Migrating to CreateUsers (20101217000008)
|
1048
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
1049
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
1050
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
1051
|
-
FROM sqlite_master
|
1052
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1053
|
-
[0m
|
1054
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
1055
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1056
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1057
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
1058
|
-
FROM sqlite_master
|
1059
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1060
|
-
[0m
|
1061
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
1062
|
-
Migrating to CreateUsers (20101217000008)
|
1063
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
1064
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
1065
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
1066
|
-
FROM sqlite_master
|
1067
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1068
|
-
[0m
|
1069
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
1070
|
-
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1071
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1072
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
1073
|
-
FROM sqlite_master
|
1074
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1075
|
-
[0m
|
1076
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
1077
|
-
Migrating to CreateUsers (20101217000008)
|
1078
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
1079
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
1080
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
1081
|
-
FROM sqlite_master
|
1082
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1083
|
-
[0m
|
1084
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
1085
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1086
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1087
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
1088
|
-
FROM sqlite_master
|
1089
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1090
|
-
[0m
|
1091
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
1092
|
-
Migrating to CreateUsers (20101217000008)
|
1093
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
1094
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
1095
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
1096
|
-
FROM sqlite_master
|
1097
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1098
|
-
[0m
|
1099
|
-
[4;35;1mSQL (0.1ms)[0m [0mselect sqlite_version(*)[0m
|
1100
|
-
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1101
|
-
[4;35;1mSQL (0.1ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1102
|
-
[4;36;1mSQL (0.1ms)[0m [0;1m SELECT name
|
1103
|
-
FROM sqlite_master
|
1104
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
1105
|
-
[0m
|
1106
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
1107
|
-
Migrating to CreateUsers (20101217000008)
|
1108
|
-
[4;36;1mSQL (0.4ms)[0m [0;1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime, "lock_version" integer DEFAULT 0, "company_id" integer, "login" varchar(255), "crypted_password" varchar(255), "password_salt" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "email" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "active" boolean DEFAULT 't', "approved" boolean DEFAULT 't', "confirmed" boolean DEFAULT 't', "facebook_uid" varchar(255)) [0m
|
1109
|
-
[4;35;1mSQL (0.1ms)[0m [0mINSERT INTO schema_migrations (version) VALUES ('20101217000008')[0m
|
1110
|
-
[4;36;1mUser Load (0.2ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = '2cc52ab63fe2ceb15bdc0c2c09dd51defd217335ec0ed75db20d103f3801118845c730d96abb4bfdcc8784868f62ff28ef0c6cdd19fb8e6286c2d391237714ee') LIMIT 1[0m
|
1111
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'Qlr8t53HAZZnZ2P24glh') LIMIT 1[0m
|
1112
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 18:04:03', 'Qlr8t53HAZZnZ2P24glh', NULL, NULL, 't', '2011-04-07 18:04:03', 'UabgGvhyxH6IZ91-qVZV', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, '2cc52ab63fe2ceb15bdc0c2c09dd51defd217335ec0ed75db20d103f3801118845c730d96abb4bfdcc8784868f62ff28ef0c6cdd19fb8e6286c2d391237714ee', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
1113
|
-
[4;35;1mUser Update with optimistic locking (0.3ms)[0m [0m UPDATE "users"
|
1114
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 18:04:03', "perishable_token" = 'nSpHbQNhM4-zdJKGRSmj', "last_request_at" = '2011-04-07 18:04:03', "lock_version" = 1, "current_login_at" = '2011-04-07 18:04:03'
|
1115
|
-
WHERE id = 1
|
1116
|
-
AND "lock_version" = 0
|
1117
|
-
[0m
|
1118
|
-
[4;36;1mUser Load (0.1ms)[0m [0;1mSELECT "users".id FROM "users" WHERE ("users"."persistence_token" = 'ef91775a7b00419d4d542b0f6dba695e54bfef58c0085b51cc1f41cde4ef42b2156334270aca05b7d6206b513d373a9462e37e6f80c7bd2f04a70ff397a7cbe3') LIMIT 1[0m
|
1119
|
-
[4;35;1mUser Load (0.1ms)[0m [0mSELECT "users".id FROM "users" WHERE ("users"."single_access_token" = 'HEkcsaoDqmEfdT7XsrXH') LIMIT 1[0m
|
1120
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 18:04:03', 'HEkcsaoDqmEfdT7XsrXH', NULL, NULL, 't', '2011-04-07 18:04:03', 'pQM9uJGDxDA5HTnzyIbu', NULL, 0, 0, NULL, 't', NULL, NULL, NULL, 'ef91775a7b00419d4d542b0f6dba695e54bfef58c0085b51cc1f41cde4ef42b2156334270aca05b7d6206b513d373a9462e37e6f80c7bd2f04a70ff397a7cbe3', NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
1121
|
-
[4;35;1mUser Update with optimistic locking (0.3ms)[0m [0m UPDATE "users"
|
1122
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 18:04:03', "perishable_token" = 'hJuWcC49p3RnTuBNyJ9w', "last_request_at" = '2011-04-07 18:04:03', "lock_version" = 1, "current_login_at" = '2011-04-07 18:04:03'
|
1123
|
-
WHERE id = 2
|
1124
|
-
AND "lock_version" = 0
|
1125
|
-
[0m
|
1126
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 18:04:03', NULL, NULL, NULL, 't', '2011-04-07 18:04:03', 'oIZccVwuNYYx2gwSyMO0', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
1127
|
-
[4;35;1mUser Update with optimistic locking (0.2ms)[0m [0m UPDATE "users"
|
1128
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 18:04:03', "perishable_token" = 'dc84EBXwXaxEO5JK2Am9', "last_request_at" = '2011-04-07 18:04:03', "lock_version" = 1, "current_login_at" = '2011-04-07 18:04:03'
|
1129
|
-
WHERE id = 3
|
1130
|
-
AND "lock_version" = 0
|
1131
|
-
[0m
|
1132
|
-
[4;36;1mUser Create (0.2ms)[0m [0;1mINSERT INTO "users" ("created_at", "single_access_token", "last_request_at", "crypted_password", "confirmed", "updated_at", "perishable_token", "facebook_uid", "lock_version", "failed_login_count", "current_login_ip", "approved", "password_salt", "current_login_at", "company_id", "persistence_token", "last_name", "login_count", "last_login_ip", "login", "last_login_at", "email", "first_name", "active") VALUES('2011-04-07 18:04:03', NULL, NULL, NULL, 't', '2011-04-07 18:04:03', 'YU2xbR8T5-WNbBnbfEVj', 'mockuid', 0, 0, NULL, 't', NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 't')[0m
|
1133
|
-
[4;35;1mUser Update with optimistic locking (0.3ms)[0m [0m UPDATE "users"
|
1134
|
-
SET "login_count" = 1, "current_login_ip" = '1.1.1.1', "updated_at" = '2011-04-07 18:04:03', "perishable_token" = 'O9snbyPH3aqGQTKp_TmV', "last_request_at" = '2011-04-07 18:04:03', "lock_version" = 1, "current_login_at" = '2011-04-07 18:04:03'
|
1135
|
-
WHERE id = 4
|
1136
|
-
AND "lock_version" = 0
|
1137
|
-
[0m
|