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