sorcery 0.9.1 → 0.16.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. checksums.yaml +5 -5
  2. data/.github/FUNDING.yml +1 -0
  3. data/.github/ISSUE_TEMPLATE.md +24 -0
  4. data/.github/PULL_REQUEST_TEMPLATE.md +7 -0
  5. data/.github/workflows/ruby.yml +70 -0
  6. data/.gitignore +3 -0
  7. data/.rubocop.yml +55 -0
  8. data/.rubocop_todo.yml +163 -0
  9. data/CHANGELOG.md +132 -34
  10. data/CODE_OF_CONDUCT.md +14 -0
  11. data/Gemfile +3 -17
  12. data/{LICENSE.txt → LICENSE.md} +1 -1
  13. data/MAINTAINING.md +64 -0
  14. data/README.md +146 -269
  15. data/Rakefile +4 -2
  16. data/SECURITY.md +19 -0
  17. data/gemfiles/rails_52.gemfile +7 -0
  18. data/gemfiles/rails_60.gemfile +7 -0
  19. data/gemfiles/rails_61.gemfile +7 -0
  20. data/gemfiles/rails_70.gemfile +7 -0
  21. data/lib/generators/sorcery/USAGE +1 -1
  22. data/lib/generators/sorcery/helpers.rb +8 -4
  23. data/lib/generators/sorcery/install_generator.rb +41 -35
  24. data/lib/generators/sorcery/templates/initializer.rb +216 -112
  25. data/lib/generators/sorcery/templates/migration/activity_logging.rb +7 -7
  26. data/lib/generators/sorcery/templates/migration/brute_force_protection.rb +5 -5
  27. data/lib/generators/sorcery/templates/migration/core.rb +5 -7
  28. data/lib/generators/sorcery/templates/migration/external.rb +4 -4
  29. data/lib/generators/sorcery/templates/migration/magic_login.rb +9 -0
  30. data/lib/generators/sorcery/templates/migration/remember_me.rb +5 -5
  31. data/lib/generators/sorcery/templates/migration/reset_password.rb +7 -6
  32. data/lib/generators/sorcery/templates/migration/user_activation.rb +6 -6
  33. data/lib/sorcery/adapters/active_record_adapter.rb +11 -21
  34. data/lib/sorcery/adapters/mongoid_adapter.rb +23 -11
  35. data/lib/sorcery/controller/config.rb +27 -23
  36. data/lib/sorcery/controller/submodules/activity_logging.rb +16 -18
  37. data/lib/sorcery/controller/submodules/brute_force_protection.rb +1 -2
  38. data/lib/sorcery/controller/submodules/external.rb +69 -44
  39. data/lib/sorcery/controller/submodules/http_basic_auth.rb +18 -19
  40. data/lib/sorcery/controller/submodules/remember_me.rb +16 -16
  41. data/lib/sorcery/controller/submodules/session_timeout.rb +33 -11
  42. data/lib/sorcery/controller.rb +50 -35
  43. data/lib/sorcery/crypto_providers/aes256.rb +17 -16
  44. data/lib/sorcery/crypto_providers/bcrypt.rb +26 -22
  45. data/lib/sorcery/crypto_providers/common.rb +1 -1
  46. data/lib/sorcery/crypto_providers/md5.rb +5 -5
  47. data/lib/sorcery/crypto_providers/sha1.rb +5 -5
  48. data/lib/sorcery/crypto_providers/sha256.rb +2 -2
  49. data/lib/sorcery/crypto_providers/sha512.rb +3 -3
  50. data/lib/sorcery/engine.rb +19 -11
  51. data/lib/sorcery/model/config.rb +73 -50
  52. data/lib/sorcery/model/submodules/activity_logging.rb +31 -12
  53. data/lib/sorcery/model/submodules/brute_force_protection.rb +38 -31
  54. data/lib/sorcery/model/submodules/external.rb +22 -10
  55. data/lib/sorcery/model/submodules/magic_login.rb +130 -0
  56. data/lib/sorcery/model/submodules/remember_me.rb +19 -7
  57. data/lib/sorcery/model/submodules/reset_password.rb +64 -42
  58. data/lib/sorcery/model/submodules/user_activation.rb +52 -54
  59. data/lib/sorcery/model/temporary_token.rb +30 -7
  60. data/lib/sorcery/model.rb +65 -40
  61. data/lib/sorcery/protocols/oauth.rb +4 -9
  62. data/lib/sorcery/protocols/oauth2.rb +0 -2
  63. data/lib/sorcery/providers/auth0.rb +46 -0
  64. data/lib/sorcery/providers/base.rb +4 -4
  65. data/lib/sorcery/providers/battlenet.rb +51 -0
  66. data/lib/sorcery/providers/discord.rb +52 -0
  67. data/lib/sorcery/providers/facebook.rb +8 -11
  68. data/lib/sorcery/providers/github.rb +5 -7
  69. data/lib/sorcery/providers/google.rb +3 -5
  70. data/lib/sorcery/providers/heroku.rb +7 -8
  71. data/lib/sorcery/providers/instagram.rb +73 -0
  72. data/lib/sorcery/providers/jira.rb +12 -17
  73. data/lib/sorcery/providers/line.rb +63 -0
  74. data/lib/sorcery/providers/linkedin.rb +44 -35
  75. data/lib/sorcery/providers/liveid.rb +4 -7
  76. data/lib/sorcery/providers/microsoft.rb +59 -0
  77. data/lib/sorcery/providers/paypal.rb +60 -0
  78. data/lib/sorcery/providers/salesforce.rb +3 -5
  79. data/lib/sorcery/providers/slack.rb +45 -0
  80. data/lib/sorcery/providers/twitter.rb +4 -6
  81. data/lib/sorcery/providers/vk.rb +8 -9
  82. data/lib/sorcery/providers/wechat.rb +81 -0
  83. data/lib/sorcery/providers/xing.rb +7 -10
  84. data/lib/sorcery/test_helpers/internal/rails.rb +25 -17
  85. data/lib/sorcery/test_helpers/internal.rb +15 -14
  86. data/lib/sorcery/test_helpers/rails/controller.rb +1 -1
  87. data/lib/sorcery/test_helpers/rails/integration.rb +5 -6
  88. data/lib/sorcery/test_helpers/rails/request.rb +20 -0
  89. data/lib/sorcery/version.rb +1 -1
  90. data/lib/sorcery.rb +4 -17
  91. data/sorcery.gemspec +43 -28
  92. data/spec/active_record/user_activation_spec.rb +4 -5
  93. data/spec/active_record/user_activity_logging_spec.rb +4 -6
  94. data/spec/active_record/user_brute_force_protection_spec.rb +5 -6
  95. data/spec/active_record/user_magic_login_spec.rb +15 -0
  96. data/spec/active_record/user_oauth_spec.rb +5 -6
  97. data/spec/active_record/user_remember_me_spec.rb +5 -6
  98. data/spec/active_record/user_reset_password_spec.rb +4 -5
  99. data/spec/active_record/user_spec.rb +7 -17
  100. data/spec/controllers/controller_activity_logging_spec.rb +13 -24
  101. data/spec/controllers/controller_brute_force_protection_spec.rb +8 -10
  102. data/spec/controllers/controller_http_basic_auth_spec.rb +20 -21
  103. data/spec/controllers/controller_oauth2_spec.rb +297 -158
  104. data/spec/controllers/controller_oauth_spec.rb +97 -71
  105. data/spec/controllers/controller_remember_me_spec.rb +49 -36
  106. data/spec/controllers/controller_session_timeout_spec.rb +106 -20
  107. data/spec/controllers/controller_spec.rb +87 -111
  108. data/spec/orm/active_record.rb +3 -3
  109. data/spec/providers/example_provider_spec.rb +17 -0
  110. data/spec/providers/example_spec.rb +17 -0
  111. data/spec/providers/examples_spec.rb +17 -0
  112. data/spec/providers/vk_spec.rb +42 -0
  113. data/spec/rails_app/app/active_record/authentication.rb +1 -1
  114. data/spec/rails_app/app/active_record/user.rb +2 -2
  115. data/spec/rails_app/app/assets/config/manifest.js +1 -0
  116. data/spec/rails_app/app/controllers/application_controller.rb +2 -0
  117. data/spec/rails_app/app/controllers/sorcery_controller.rb +250 -46
  118. data/spec/rails_app/app/mailers/sorcery_mailer.rb +23 -17
  119. data/spec/rails_app/app/views/sorcery_mailer/magic_login_email.html.erb +13 -0
  120. data/spec/rails_app/app/views/sorcery_mailer/magic_login_email.text.erb +6 -0
  121. data/spec/rails_app/config/application.rb +14 -9
  122. data/spec/rails_app/config/boot.rb +2 -2
  123. data/spec/rails_app/config/environment.rb +1 -1
  124. data/spec/rails_app/config/environments/test.rb +1 -1
  125. data/spec/rails_app/config/initializers/compatible_legacy_migration.rb +11 -0
  126. data/spec/rails_app/config/initializers/session_store.rb +3 -3
  127. data/spec/rails_app/config/routes.rb +31 -1
  128. data/spec/rails_app/config/secrets.yml +4 -0
  129. data/spec/rails_app/config.ru +1 -1
  130. data/spec/rails_app/db/migrate/activation/20101224223622_add_activation_to_users.rb +4 -4
  131. data/spec/rails_app/db/migrate/activity_logging/20101224223624_add_activity_logging_to_users.rb +10 -10
  132. data/spec/rails_app/db/migrate/brute_force_protection/20101224223626_add_brute_force_protection_to_users.rb +5 -5
  133. data/spec/rails_app/db/migrate/core/20101224223620_create_users.rb +5 -5
  134. data/spec/rails_app/db/migrate/external/20101224223628_create_authentications_and_user_providers.rb +3 -3
  135. data/spec/rails_app/db/migrate/invalidate_active_sessions/20180221093235_add_invalidate_active_sessions_before_to_users.rb +9 -0
  136. data/spec/rails_app/db/migrate/magic_login/20170924151831_add_magic_login_to_users.rb +17 -0
  137. data/spec/rails_app/db/migrate/remember_me/20101224223623_add_remember_me_token_to_users.rb +6 -6
  138. data/spec/rails_app/db/migrate/reset_password/20101224223622_add_reset_password_to_users.rb +7 -5
  139. data/spec/rails_app/db/schema.rb +7 -9
  140. data/spec/shared_examples/user_activation_shared_examples.rb +177 -58
  141. data/spec/shared_examples/user_activity_logging_shared_examples.rb +47 -41
  142. data/spec/shared_examples/user_brute_force_protection_shared_examples.rb +19 -24
  143. data/spec/shared_examples/user_magic_login_shared_examples.rb +150 -0
  144. data/spec/shared_examples/user_oauth_shared_examples.rb +7 -10
  145. data/spec/shared_examples/user_remember_me_shared_examples.rb +91 -22
  146. data/spec/shared_examples/user_reset_password_shared_examples.rb +153 -58
  147. data/spec/shared_examples/user_shared_examples.rb +328 -145
  148. data/spec/sorcery_crypto_providers_spec.rb +122 -75
  149. data/spec/sorcery_temporary_token_spec.rb +27 -0
  150. data/spec/spec.opts +1 -1
  151. data/spec/spec_helper.rb +19 -14
  152. data/spec/support/migration_helper.rb +29 -0
  153. data/spec/support/providers/example.rb +11 -0
  154. data/spec/support/providers/example_provider.rb +11 -0
  155. data/spec/support/providers/examples.rb +11 -0
  156. metadata +119 -89
  157. data/.travis.yml +0 -132
  158. data/gemfiles/active_record-rails40.gemfile +0 -7
  159. data/gemfiles/active_record-rails41.gemfile +0 -7
  160. data/gemfiles/mongo_mapper-rails40.gemfile +0 -9
  161. data/gemfiles/mongo_mapper-rails41.gemfile +0 -9
  162. data/gemfiles/mongoid-rails40.gemfile +0 -9
  163. data/gemfiles/mongoid-rails41.gemfile +0 -9
  164. data/gemfiles/mongoid3-rails32.gemfile +0 -9
  165. data/lib/sorcery/adapters/data_mapper_adapter.rb +0 -176
  166. data/lib/sorcery/adapters/mongo_mapper_adapter.rb +0 -110
  167. data/lib/sorcery/railties/tasks.rake +0 -6
  168. data/spec/data_mapper/user_activation_spec.rb +0 -10
  169. data/spec/data_mapper/user_activity_logging_spec.rb +0 -14
  170. data/spec/data_mapper/user_brute_force_protection_spec.rb +0 -9
  171. data/spec/data_mapper/user_oauth_spec.rb +0 -9
  172. data/spec/data_mapper/user_remember_me_spec.rb +0 -8
  173. data/spec/data_mapper/user_reset_password_spec.rb +0 -8
  174. data/spec/data_mapper/user_spec.rb +0 -27
  175. data/spec/mongo_mapper/user_activation_spec.rb +0 -9
  176. data/spec/mongo_mapper/user_activity_logging_spec.rb +0 -8
  177. data/spec/mongo_mapper/user_brute_force_protection_spec.rb +0 -8
  178. data/spec/mongo_mapper/user_oauth_spec.rb +0 -8
  179. data/spec/mongo_mapper/user_remember_me_spec.rb +0 -8
  180. data/spec/mongo_mapper/user_reset_password_spec.rb +0 -8
  181. data/spec/mongo_mapper/user_spec.rb +0 -37
  182. data/spec/mongoid/user_activation_spec.rb +0 -9
  183. data/spec/mongoid/user_activity_logging_spec.rb +0 -8
  184. data/spec/mongoid/user_brute_force_protection_spec.rb +0 -8
  185. data/spec/mongoid/user_oauth_spec.rb +0 -8
  186. data/spec/mongoid/user_remember_me_spec.rb +0 -8
  187. data/spec/mongoid/user_reset_password_spec.rb +0 -8
  188. data/spec/mongoid/user_spec.rb +0 -51
  189. data/spec/orm/data_mapper.rb +0 -48
  190. data/spec/orm/mongo_mapper.rb +0 -10
  191. data/spec/orm/mongoid.rb +0 -22
  192. data/spec/rails_app/app/data_mapper/authentication.rb +0 -8
  193. data/spec/rails_app/app/data_mapper/user.rb +0 -7
  194. data/spec/rails_app/app/mongo_mapper/authentication.rb +0 -6
  195. data/spec/rails_app/app/mongo_mapper/user.rb +0 -7
  196. data/spec/rails_app/app/mongoid/authentication.rb +0 -7
  197. data/spec/rails_app/app/mongoid/user.rb +0 -7
  198. data/spec/rails_app/config/initializers/secret_token.rb +0 -7
  199. data/spec/rails_app/log/development.log +0 -1791
@@ -1,1791 +0,0 @@
1
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
2
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
3
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
4
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
5
-  (0.1ms) select sqlite_version(*)
6
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
7
-  (0.0ms) PRAGMA index_list("schema_migrations")
8
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
10
- Migrating to CreateUsers (20101224223620)
11
-  (0.0ms) begin transaction
12
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255), "crypted_password" varchar(255), "salt" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
13
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223620')
14
-  (0.8ms) commit transaction
15
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
16
- SQLite3::SQLException: table "users" already exists: CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
17
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
18
-  (0.9ms) DROP TABLE "users"
19
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
20
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
21
- Migrating to CreateUsers (20101224223620)
22
-  (0.0ms) begin transaction
23
-  (23.4ms) DROP TABLE "users"
24
- SQLite3::SQLException: no such table: users: DROP TABLE "users"
25
-  (0.1ms) rollback transaction
26
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
27
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
28
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
29
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
30
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
31
- Migrating to CreateUsers (20101224223620)
32
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
33
- Migrating to AddActivityLoggingToUsers (20101224223624)
34
-  (0.0ms) select sqlite_version(*)
35
-  (0.0ms) begin transaction
36
-  (0.2ms) ALTER TABLE "users" ADD "last_login_at" datetime DEFAULT NULL
37
- SQLite3::SQLException: no such table: users: ALTER TABLE "users" ADD "last_login_at" datetime DEFAULT NULL
38
-  (0.0ms) rollback transaction
39
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
40
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
41
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
42
- Migrating to CreateUsers (20101224223620)
43
-  (0.0ms) begin transaction
44
-  (0.1ms) DROP TABLE "users"
45
- SQLite3::SQLException: no such table: users: DROP TABLE "users"
46
-  (0.0ms) rollback transaction
47
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
48
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
49
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
50
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
51
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
52
- Migrating to CreateUsers (20101224223620)
53
-  (0.1ms) DROP TABLE "users"
54
- SQLite3::SQLException: no such table: users: DROP TABLE "users"
55
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
56
-  (0.1ms) DROP TABLE "users"
57
- SQLite3::SQLException: no such table: users: DROP TABLE "users"
58
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
59
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
60
- Migrating to CreateUsers (20101224223620)
61
-  (0.0ms) select sqlite_version(*)
62
-  (0.0ms) begin transaction
63
-  (0.1ms) DROP TABLE "users"
64
- SQLite3::SQLException: no such table: users: DROP TABLE "users"
65
-  (0.0ms) rollback transaction
66
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
67
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
68
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
69
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
70
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
71
- Migrating to CreateUsers (20101224223620)
72
-  (0.0ms) select sqlite_version(*)
73
-  (3.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255)) 
74
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
75
- Migrating to AddActivityLoggingToUsers (20101224223624)
76
-  (0.0ms) begin transaction
77
-  (0.4ms) ALTER TABLE "users" ADD "last_login_at" datetime DEFAULT NULL
78
-  (0.1ms) ALTER TABLE "users" ADD "last_logout_at" datetime DEFAULT NULL
79
-  (0.1ms) ALTER TABLE "users" ADD "last_activity_at" datetime DEFAULT NULL
80
-  (0.1ms) ALTER TABLE "users" ADD "last_login_from_ip_address" varchar(255) DEFAULT NULL
81
-  (0.0ms) PRAGMA index_list("users")
82
-  (0.1ms) CREATE INDEX "index_users_on_last_logout_at_and_last_activity_at" ON "users" ("last_logout_at", "last_activity_at")
83
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223624')
84
-  (0.7ms) commit transaction
85
-  (0.0ms) begin transaction
86
-  (0.0ms) SAVEPOINT active_record_1
87
- Binary data inserted for `string` type on column `crypted_password`
88
- SQL (1.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$TqvpD7VcbA1QKPIWiejf4.Ih26QZKSj6Mctc9THvmncLPPIm2HE/K"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "xuWs5t9fxUbFqxQqAJbL"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
89
-  (0.0ms) RELEASE SAVEPOINT active_record_1
90
- SQL (0.0ms) DELETE FROM "users"
91
-  (0.4ms) rollback transaction
92
-  (0.1ms) begin transaction
93
-  (0.0ms) SAVEPOINT active_record_1
94
- Binary data inserted for `string` type on column `crypted_password`
95
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$FNAAdWBCMWBCajRMNB7It.fTiRvB1ryqsGWDYX3GgWZdafT8Fy5V2"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "pAaQnCgx5EENNpAiJqGq"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
96
-  (0.0ms) RELEASE SAVEPOINT active_record_1
97
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:42' )
98
- SQL (0.0ms) DELETE FROM "users"
99
-  (0.4ms) rollback transaction
100
-  (0.0ms) begin transaction
101
-  (0.0ms) SAVEPOINT active_record_1
102
- Binary data inserted for `string` type on column `crypted_password`
103
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$mXzQq7jnSnpdyXcxB2sRruJBDM..8ntg25YgzmlBwMrThOuqIxeCe"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "dFXqWhSyh5bJEAyJhj5d"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
104
-  (0.0ms) RELEASE SAVEPOINT active_record_1
105
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:42.624143' WHERE "users"."id" = 1
106
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
107
- SQL (0.0ms) DELETE FROM "users"
108
-  (0.4ms) rollback transaction
109
-  (0.0ms) begin transaction
110
-  (0.0ms) SAVEPOINT active_record_1
111
- Binary data inserted for `string` type on column `crypted_password`
112
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$NygA.uYei66sijrlcgvQLOTtDDuuytAXslkFFWbMONtvGHarx08vi"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "Y4Y96kB2K5zrr5kpU2ts"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
113
-  (0.0ms) RELEASE SAVEPOINT active_record_1
114
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:42.635555' WHERE "users"."id" = 1
115
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
116
- SQL (0.0ms) UPDATE "users" SET "last_logout_at" = '2013-10-08 08:57:42.636179' WHERE "users"."id" = 1
117
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
118
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
119
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
120
- SQL (0.0ms) DELETE FROM "users"
121
-  (0.5ms) rollback transaction
122
-  (0.0ms) begin transaction
123
-  (0.0ms) SAVEPOINT active_record_1
124
- Binary data inserted for `string` type on column `crypted_password`
125
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$YwL/B7IL/RdJNZ.8qrmScOmSveLoFdZIYBQmPFe8LEbAAEt5u5pqm"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "HrX4tFvFvRRdZ5CNrbHQ"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
126
-  (0.0ms) RELEASE SAVEPOINT active_record_1
127
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:42.645334' WHERE "users"."id" = 1
128
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
129
- Processing by ApplicationController#some_action as HTML
130
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:42.656433' WHERE "users"."id" = 1
131
- Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.1ms)
132
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
133
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
134
- SQL (0.0ms) DELETE FROM "users"
135
-  (0.5ms) rollback transaction
136
-  (0.1ms) begin transaction
137
-  (0.0ms) SAVEPOINT active_record_1
138
- Binary data inserted for `string` type on column `crypted_password`
139
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$rstikcs0BYu52Tl/aZFvsuA5rJoILtIPt00uHPowPNXZXxnLhcMCq"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "jFUxysz9hpL7uDJZMxcS"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
140
-  (0.0ms) RELEASE SAVEPOINT active_record_1
141
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:42.664104' WHERE "users"."id" = 1
142
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
143
- Processing by ApplicationController#some_action as HTML
144
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:42.666980' WHERE "users"."id" = 1
145
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
146
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
147
- SQL (0.0ms) DELETE FROM "users"
148
-  (0.4ms) rollback transaction
149
-  (0.0ms) begin transaction
150
-  (0.0ms) SAVEPOINT active_record_1
151
- Binary data inserted for `string` type on column `crypted_password`
152
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$8obCOEJUEzn/PbBVhSOBneC12vJAS/w2.1Bi8Zb6px3ZoEggfCDhi"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "b4rXxKppK7vsDXssES6M"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
153
-  (0.0ms) RELEASE SAVEPOINT active_record_1
154
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
155
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:42.673881' WHERE "users"."id" = 1
156
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
157
- Processing by ApplicationController#some_action_making_a_non_persisted_change_to_the_user as HTML
158
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:42.675981' WHERE "users"."id" = 1
159
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
160
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
161
- SQL (0.0ms) DELETE FROM "users"
162
-  (0.4ms) rollback transaction
163
-  (0.0ms) begin transaction
164
-  (0.0ms) SAVEPOINT active_record_1
165
- Binary data inserted for `string` type on column `crypted_password`
166
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$FbrN7i74I36iw2zL7xjUpOYvGLc3Jm8x2VWFiT2MsMZ9RAoPT4GWW"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "m2ShejsUA9zxofyzYq3L"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
167
-  (0.0ms) RELEASE SAVEPOINT active_record_1
168
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:42.682113' WHERE "users"."id" = 1
169
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
170
- Processing by ApplicationController#some_action as HTML
171
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:42.684435' WHERE "users"."id" = 1
172
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
173
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:42' )
174
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:42' )
175
- SQL (0.0ms) DELETE FROM "users"
176
-  (0.4ms) rollback transaction
177
-  (0.0ms) begin transaction
178
-  (0.0ms) SAVEPOINT active_record_1
179
- Binary data inserted for `string` type on column `crypted_password`
180
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$Qep3ZtqOHRMAhjAuQBsAOODkMMmvcFjwzArvvH3Hk0Pfzx5WKidq."], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "R4cjA9F3SVZbVTw7gEnx"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
181
-  (0.0ms) RELEASE SAVEPOINT active_record_1
182
-  (0.0ms) SAVEPOINT active_record_1
183
- Binary data inserted for `string` type on column `crypted_password`
184
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$K4q6jzuijeL1IdAfFfFV6Op4WnhqaxKaiXK/4N8Fc2g5sO0alUaTi"], ["email", "bla1@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "pp4LDQMFSaaBrgNz6kDP"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo1"]]
185
-  (0.0ms) RELEASE SAVEPOINT active_record_1
186
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:42.720497' WHERE "users"."id" = 2
187
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 2
188
- Processing by ApplicationController#some_action as HTML
189
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:42.722389' WHERE "users"."id" = 2
190
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
191
-  (0.0ms) SAVEPOINT active_record_1
192
- Binary data inserted for `string` type on column `crypted_password`
193
- SQL (0.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$xjILmTRlhuQKhlL6muCZIOJbnnRwZIkFk.SinZXEoQg8iS4FFaIvO"], ["email", "bla2@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "VbPixxz1xDaezRaPkKeB"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo2"]]
194
-  (0.0ms) RELEASE SAVEPOINT active_record_1
195
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:42.726117' WHERE "users"."id" = 3
196
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 3
197
- Processing by ApplicationController#some_action as HTML
198
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:42.727183' WHERE "users"."id" = 3
199
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
200
-  (0.0ms) SAVEPOINT active_record_1
201
- Binary data inserted for `string` type on column `crypted_password`
202
- SQL (0.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$wxcll94ng6zXfR9LhIeULOUSkDV3wl6AvkSm5/PEt04mcTJLTep/W"], ["email", "bla3@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "S4JzMsyb5pMpYNJunKf5"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo3"]]
203
-  (0.0ms) RELEASE SAVEPOINT active_record_1
204
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:42.730563' WHERE "users"."id" = 4
205
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 4
206
- Processing by ApplicationController#some_action as HTML
207
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:42.731529' WHERE "users"."id" = 4
208
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
209
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:42' )
210
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:42' )
211
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:42' )
212
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:42' )
213
- SQL (0.0ms) DELETE FROM "users"
214
-  (0.5ms) rollback transaction
215
-  (0.1ms) begin transaction
216
-  (0.0ms) SAVEPOINT active_record_1
217
- Binary data inserted for `string` type on column `crypted_password`
218
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$XEYXVkCyH4SteauQOpQGd.0Gz8urFL3vbVk7rqiYuc5hjPMMNYV4S"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "p34Wk49otPzCEeDsAiyv"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
219
-  (0.0ms) RELEASE SAVEPOINT active_record_1
220
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
221
- SQL (0.0ms) DELETE FROM "users"
222
-  (0.4ms) rollback transaction
223
-  (0.1ms) begin transaction
224
-  (0.0ms) SAVEPOINT active_record_1
225
- Binary data inserted for `string` type on column `crypted_password`
226
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$LSjfLB1b5YSoNCZ021.zMeTz921Zqlfx3xcvoZCF3pKCxCGyAKakS"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "gjJjFsqNuNDVdC9YbQ7z"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
227
-  (0.0ms) RELEASE SAVEPOINT active_record_1
228
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
229
- SQL (0.0ms) DELETE FROM "users"
230
-  (0.4ms) rollback transaction
231
-  (0.0ms) begin transaction
232
-  (0.0ms) SAVEPOINT active_record_1
233
- Binary data inserted for `string` type on column `crypted_password`
234
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$oAiaquqGAEGFAhSpfZGsce2UXm9dxpxGV6jCX8VvnnFusDSJvnJTm"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "ex6r6hyLL2VUJN1xKsDZ"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
235
-  (0.0ms) RELEASE SAVEPOINT active_record_1
236
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
237
- Processing by ApplicationController#some_action as HTML
238
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
239
- SQL (0.0ms) DELETE FROM "users"
240
-  (0.5ms) rollback transaction
241
-  (0.1ms) begin transaction
242
-  (0.0ms) SAVEPOINT active_record_1
243
- Binary data inserted for `string` type on column `crypted_password`
244
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["crypted_password", "$2a$04$cv/q6qw1o77DO1etRY6EdOMUBUU4LeRGmYPKgShU3Qy3emzrQHK5G"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "G74v1HceDBD2ZkPrsngA"], ["updated_at", Tue, 08 Oct 2013 08:57:42 UTC +00:00], ["username", "gizmo"]]
245
-  (0.0ms) RELEASE SAVEPOINT active_record_1
246
- Processing by ApplicationController#some_action as HTML
247
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
248
- SQL (0.0ms) DELETE FROM "users"
249
-  (0.4ms) rollback transaction
250
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
251
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
252
- Migrating to AddActivityLoggingToUsers (20101224223624)
253
-  (0.0ms) begin transaction
254
-  (0.0ms) PRAGMA index_list("users")
255
-  (0.0ms) PRAGMA index_info('index_users_on_last_logout_at_and_last_activity_at')
256
-  (0.2ms) DROP INDEX "index_users_on_last_logout_at_and_last_activity_at"
257
-  (0.3ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar(255)) 
258
-  (0.0ms) PRAGMA index_list("users")
259
-  (0.0ms) SELECT * FROM "users"
260
-  (0.2ms) DROP TABLE "users"
261
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255)) 
262
-  (0.0ms) PRAGMA index_list("altered_users")
263
-  (0.0ms) SELECT * FROM "altered_users"
264
-  (0.2ms) DROP TABLE "altered_users"
265
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255)) 
266
-  (0.0ms) PRAGMA index_list("users")
267
-  (0.0ms) SELECT * FROM "users"
268
-  (0.1ms) DROP TABLE "users"
269
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255)) 
270
-  (0.0ms) PRAGMA index_list("altered_users")
271
-  (0.0ms) SELECT * FROM "altered_users"
272
-  (0.1ms) DROP TABLE "altered_users"
273
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255)) 
274
-  (0.0ms) PRAGMA index_list("users")
275
-  (0.0ms) SELECT * FROM "users"
276
-  (0.1ms) DROP TABLE "users"
277
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255)) 
278
-  (0.0ms) PRAGMA index_list("altered_users")
279
-  (0.0ms) SELECT * FROM "altered_users"
280
-  (0.1ms) DROP TABLE "altered_users"
281
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255)) 
282
-  (0.0ms) PRAGMA index_list("users")
283
-  (0.0ms) SELECT * FROM "users"
284
-  (0.1ms) DROP TABLE "users"
285
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255)) 
286
-  (0.0ms) PRAGMA index_list("altered_users")
287
-  (0.0ms) SELECT * FROM "altered_users"
288
-  (0.1ms) DROP TABLE "altered_users"
289
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223624'
290
-  (1.1ms) commit transaction
291
-  (1.0ms) DROP TABLE "users"
292
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
293
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
294
- Migrating to CreateUsers (20101224223620)
295
-  (0.0ms) begin transaction
296
-  (0.1ms) DROP TABLE "users"
297
- SQLite3::SQLException: no such table: users: DROP TABLE "users"
298
-  (0.0ms) rollback transaction
299
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
300
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
301
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
302
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
303
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
304
- Migrating to CreateUsers (20101224223620)
305
-  (0.1ms) select sqlite_version(*)
306
-  (3.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255)) 
307
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
308
- Migrating to AddActivityLoggingToUsers (20101224223624)
309
-  (0.0ms) begin transaction
310
-  (0.5ms) ALTER TABLE "users" ADD "last_login_at" datetime DEFAULT NULL
311
-  (0.1ms) ALTER TABLE "users" ADD "last_logout_at" datetime DEFAULT NULL
312
-  (0.1ms) ALTER TABLE "users" ADD "last_activity_at" datetime DEFAULT NULL
313
-  (0.1ms) ALTER TABLE "users" ADD "last_login_from_ip_address" varchar(255) DEFAULT NULL
314
-  (0.0ms) PRAGMA index_list("users")
315
-  (0.1ms) CREATE INDEX "index_users_on_last_logout_at_and_last_activity_at" ON "users" ("last_logout_at", "last_activity_at")
316
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223624')
317
-  (0.7ms) commit transaction
318
-  (0.0ms) begin transaction
319
-  (0.0ms) SAVEPOINT active_record_1
320
- Binary data inserted for `string` type on column `crypted_password`
321
- SQL (1.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$BnrJ.FVm8.nOVV9abyMgm.PGi6KsEMNEICuu6GG45VgojGAVhlnEu"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "c2bK7dexLAriSdp5rCeB"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
322
-  (0.0ms) RELEASE SAVEPOINT active_record_1
323
- SQL (0.0ms) DELETE FROM "users"
324
-  (0.4ms) rollback transaction
325
-  (0.0ms) begin transaction
326
-  (0.0ms) SAVEPOINT active_record_1
327
- Binary data inserted for `string` type on column `crypted_password`
328
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$JaK8WnoWSQEDlZWoCQOuLeYcjiRjsLrtbdHlxoDWdasCLckQA15MC"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "qLPTNM1XfJQB9AWYxjyk"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
329
-  (0.0ms) RELEASE SAVEPOINT active_record_1
330
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:57' )
331
- SQL (0.0ms) DELETE FROM "users"
332
-  (0.4ms) rollback transaction
333
-  (0.0ms) begin transaction
334
-  (0.0ms) SAVEPOINT active_record_1
335
- Binary data inserted for `string` type on column `crypted_password`
336
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$.OiMTL3oKqV/0wG2sNDpNuuiGmNvZhB.iGtybIPk0EcFmFEhFEaiG"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "M2LrbP7tmqne5qYgHpDN"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
337
-  (0.0ms) RELEASE SAVEPOINT active_record_1
338
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:57.165221' WHERE "users"."id" = 1
339
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
340
- SQL (0.0ms) DELETE FROM "users"
341
-  (0.4ms) rollback transaction
342
-  (0.0ms) begin transaction
343
-  (0.0ms) SAVEPOINT active_record_1
344
- Binary data inserted for `string` type on column `crypted_password`
345
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$zQpFXLFzuhD5l4BTJLlDKeNi5QLWil0LlwjHw7tZ6Y9QHTAxWVN76"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "p8pNxqV2rqzgfEpjCyp3"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
346
-  (0.0ms) RELEASE SAVEPOINT active_record_1
347
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:57.176877' WHERE "users"."id" = 1
348
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
349
- SQL (0.0ms) UPDATE "users" SET "last_logout_at" = '2013-10-08 08:57:57.177627' WHERE "users"."id" = 1
350
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
351
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
352
- User Load (0.0ms) SELECT "users".* FROM "users" LIMIT 1
353
- SQL (0.0ms) DELETE FROM "users"
354
-  (0.4ms) rollback transaction
355
-  (0.0ms) begin transaction
356
-  (0.0ms) SAVEPOINT active_record_1
357
- Binary data inserted for `string` type on column `crypted_password`
358
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$6DSGE/uRgyMTv8FR6RFVAOPbkNL31RRwb/8JYDoWsYf6FuVdY5QWG"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "WBjAYtzzMHmHcKpu8R2w"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
359
-  (0.0ms) RELEASE SAVEPOINT active_record_1
360
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:57.186063' WHERE "users"."id" = 1
361
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
362
- Processing by ApplicationController#some_action as HTML
363
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:57.195547' WHERE "users"."id" = 1
364
- Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.1ms)
365
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
366
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
367
- SQL (0.0ms) DELETE FROM "users"
368
-  (0.4ms) rollback transaction
369
-  (0.1ms) begin transaction
370
-  (0.0ms) SAVEPOINT active_record_1
371
- Binary data inserted for `string` type on column `crypted_password`
372
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$Wek5s7F/s3bnWU9qVD16luTAe0fdwXp7INzMVr9yRaU.AND5hnJye"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "pnps8WxqpC9KutS5RzaJ"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
373
-  (0.0ms) RELEASE SAVEPOINT active_record_1
374
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:57.202968' WHERE "users"."id" = 1
375
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
376
- Processing by ApplicationController#some_action as HTML
377
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:57.205869' WHERE "users"."id" = 1
378
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
379
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
380
- SQL (0.0ms) DELETE FROM "users"
381
-  (0.4ms) rollback transaction
382
-  (0.0ms) begin transaction
383
-  (0.0ms) SAVEPOINT active_record_1
384
- Binary data inserted for `string` type on column `crypted_password`
385
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$Jp2uYwEvWkzqJW2jzWjYfOLfKth.TY6cGLRxNQqs6JAhPrfd6ycQe"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "X83ySjpTJPqQWrNJvkYY"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
386
-  (0.0ms) RELEASE SAVEPOINT active_record_1
387
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
388
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:57.212744' WHERE "users"."id" = 1
389
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
390
- Processing by ApplicationController#some_action_making_a_non_persisted_change_to_the_user as HTML
391
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:57.214811' WHERE "users"."id" = 1
392
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
393
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
394
- SQL (0.0ms) DELETE FROM "users"
395
-  (0.4ms) rollback transaction
396
-  (0.0ms) begin transaction
397
-  (0.0ms) SAVEPOINT active_record_1
398
- Binary data inserted for `string` type on column `crypted_password`
399
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$9sZAPdU8fs3aF23rmekaquePgUQPd3.Gli.qXQek4bI6nINq3MOHW"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "aNqa4WGfseywBZqAniB2"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
400
-  (0.0ms) RELEASE SAVEPOINT active_record_1
401
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:57.221059' WHERE "users"."id" = 1
402
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
403
- Processing by ApplicationController#some_action as HTML
404
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:57.249347' WHERE "users"."id" = 1
405
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
406
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:57' )
407
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:57' )
408
- SQL (0.0ms) DELETE FROM "users"
409
-  (0.3ms) rollback transaction
410
-  (0.0ms) begin transaction
411
-  (0.0ms) SAVEPOINT active_record_1
412
- Binary data inserted for `string` type on column `crypted_password`
413
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$O2sclctA.VDzUyn7MOzv.eVXrJq4BYUTnqpoLc00hFuHAgow7aGXW"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "kpb3KhLKDUpAUUUPe6Fa"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
414
-  (0.0ms) RELEASE SAVEPOINT active_record_1
415
-  (0.0ms) SAVEPOINT active_record_1
416
- Binary data inserted for `string` type on column `crypted_password`
417
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$/MBy7ABJYGNWB2RL4bFk..NQhVmmT6Pgol0Y5UqfBnkRWUTxcAlyq"], ["email", "bla1@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "FnAv9q9izmrzvXBuSsQL"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo1"]]
418
-  (0.0ms) RELEASE SAVEPOINT active_record_1
419
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:57.260000' WHERE "users"."id" = 2
420
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 2
421
- Processing by ApplicationController#some_action as HTML
422
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:57.261903' WHERE "users"."id" = 2
423
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
424
-  (0.0ms) SAVEPOINT active_record_1
425
- Binary data inserted for `string` type on column `crypted_password`
426
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$XtimPSGyVhU3j0qDL0X9y.JWGWfzOEzBR9ZDmZ3xm1Oz.q20lL0Xy"], ["email", "bla2@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "ygxfEmTpcxMaaxkqUNcs"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo2"]]
427
-  (0.0ms) RELEASE SAVEPOINT active_record_1
428
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:57.265990' WHERE "users"."id" = 3
429
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 3
430
- Processing by ApplicationController#some_action as HTML
431
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:57.267455' WHERE "users"."id" = 3
432
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
433
-  (0.0ms) SAVEPOINT active_record_1
434
- Binary data inserted for `string` type on column `crypted_password`
435
- SQL (0.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$EYueLvz13Mk0ys2zs7Cnf.VBmSCjqbXVcjyQvgPfBlWr6zLOEPEo."], ["email", "bla3@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "BvbDdzXxGKJwzkZmVxY4"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo3"]]
436
-  (0.0ms) RELEASE SAVEPOINT active_record_1
437
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:57:57.271065' WHERE "users"."id" = 4
438
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 4
439
- Processing by ApplicationController#some_action as HTML
440
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:57:57.272110' WHERE "users"."id" = 4
441
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
442
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:57' )
443
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:57' )
444
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:57' )
445
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:47:57' )
446
- SQL (0.0ms) DELETE FROM "users"
447
-  (0.5ms) rollback transaction
448
-  (0.0ms) begin transaction
449
-  (0.0ms) SAVEPOINT active_record_1
450
- Binary data inserted for `string` type on column `crypted_password`
451
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$AnxBQ8igrWwVvfjJFla0AeH2olbXROA.2ha0EY6r6pHNtqVZi/3nW"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "66sQFXBXKW1nptGL1rQ6"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
452
-  (0.0ms) RELEASE SAVEPOINT active_record_1
453
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
454
- SQL (0.0ms) DELETE FROM "users"
455
-  (0.3ms) rollback transaction
456
-  (0.0ms) begin transaction
457
-  (0.0ms) SAVEPOINT active_record_1
458
- Binary data inserted for `string` type on column `crypted_password`
459
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$fuxDJRw7yoIyvs6XQqEIEuEOMU1WX2YY81f6SfxzeYTTUMxmEBVsy"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "nxqXWRw27cHEVHmRKH6q"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
460
-  (0.0ms) RELEASE SAVEPOINT active_record_1
461
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
462
- SQL (0.0ms) DELETE FROM "users"
463
-  (0.3ms) rollback transaction
464
-  (0.0ms) begin transaction
465
-  (0.0ms) SAVEPOINT active_record_1
466
- Binary data inserted for `string` type on column `crypted_password`
467
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$oWMSMomSUDnaQL6wnb.SZuoduQkkcbOK2HFsbWD6FzR4Gpog5UB7m"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "4apWtBAHjeJZJyujWXxs"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
468
-  (0.0ms) RELEASE SAVEPOINT active_record_1
469
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
470
- Processing by ApplicationController#some_action as HTML
471
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
472
- SQL (0.0ms) DELETE FROM "users"
473
-  (0.4ms) rollback transaction
474
-  (0.0ms) begin transaction
475
-  (0.0ms) SAVEPOINT active_record_1
476
- Binary data inserted for `string` type on column `crypted_password`
477
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["crypted_password", "$2a$04$I3pPGccaf5L0lz.pNImOI.21b3CfqHdNHsho.U1kOZuox0tL2Vkt."], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "gqjZrJPN7sqNvFbL6hgC"], ["updated_at", Tue, 08 Oct 2013 08:57:57 UTC +00:00], ["username", "gizmo"]]
478
-  (0.0ms) RELEASE SAVEPOINT active_record_1
479
- Processing by ApplicationController#some_action as HTML
480
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
481
- SQL (0.0ms) DELETE FROM "users"
482
-  (0.4ms) rollback transaction
483
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
484
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
485
- Migrating to AddActivityLoggingToUsers (20101224223624)
486
-  (0.0ms) begin transaction
487
-  (0.0ms) PRAGMA index_list("users")
488
-  (0.0ms) PRAGMA index_info('index_users_on_last_logout_at_and_last_activity_at')
489
-  (0.2ms) DROP INDEX "index_users_on_last_logout_at_and_last_activity_at"
490
-  (0.4ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar(255)) 
491
-  (0.0ms) PRAGMA index_list("users")
492
-  (0.0ms) SELECT * FROM "users"
493
-  (0.2ms) DROP TABLE "users"
494
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255)) 
495
-  (0.0ms) PRAGMA index_list("altered_users")
496
-  (0.0ms) SELECT * FROM "altered_users"
497
-  (0.2ms) DROP TABLE "altered_users"
498
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255)) 
499
-  (0.0ms) PRAGMA index_list("users")
500
-  (0.0ms) SELECT * FROM "users"
501
-  (0.1ms) DROP TABLE "users"
502
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255)) 
503
-  (0.0ms) PRAGMA index_list("altered_users")
504
-  (0.0ms) SELECT * FROM "altered_users"
505
-  (0.1ms) DROP TABLE "altered_users"
506
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255)) 
507
-  (0.0ms) PRAGMA index_list("users")
508
-  (0.0ms) SELECT * FROM "users"
509
-  (0.1ms) DROP TABLE "users"
510
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255)) 
511
-  (0.0ms) PRAGMA index_list("altered_users")
512
-  (0.0ms) SELECT * FROM "altered_users"
513
-  (0.1ms) DROP TABLE "altered_users"
514
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255)) 
515
-  (0.0ms) PRAGMA index_list("users")
516
-  (0.0ms) SELECT * FROM "users"
517
-  (0.1ms) DROP TABLE "users"
518
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255)) 
519
-  (0.0ms) PRAGMA index_list("altered_users")
520
-  (0.0ms) SELECT * FROM "altered_users"
521
-  (0.1ms) DROP TABLE "altered_users"
522
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223624'
523
-  (0.9ms) commit transaction
524
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
525
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
526
- Migrating to CreateUsers (20101224223620)
527
-  (0.0ms) begin transaction
528
-  (0.3ms) DROP TABLE "users"
529
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223620'
530
-  (0.7ms) commit transaction
531
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
532
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
533
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
534
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
535
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
536
- Migrating to CreateUsers (20101224223620)
537
-  (0.0ms) select sqlite_version(*)
538
-  (0.0ms) begin transaction
539
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255), "crypted_password" varchar(255), "salt" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
540
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223620')
541
-  (2.8ms) commit transaction
542
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255)) 
543
- SQLite3::SQLException: table "users" already exists: CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
544
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
545
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
546
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
547
- Migrating to CreateUsers (20101224223620)
548
-  (0.0ms) begin transaction
549
-  (0.3ms) DROP TABLE "users"
550
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223620'
551
-  (0.7ms) commit transaction
552
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
553
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
554
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
555
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
556
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
557
- Migrating to CreateUsers (20101224223620)
558
-  (0.0ms) select sqlite_version(*)
559
-  (0.0ms) begin transaction
560
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255), "crypted_password" varchar(255), "salt" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
561
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223620')
562
-  (2.3ms) commit transaction
563
-  (1.0ms) DROP TABLE "users"
564
-  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
565
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
566
- Migrating to AddActivityLoggingToUsers (20101224223624)
567
-  (0.0ms) begin transaction
568
-  (0.4ms) ALTER TABLE "users" ADD "last_login_at" datetime DEFAULT NULL
569
-  (0.1ms) ALTER TABLE "users" ADD "last_logout_at" datetime DEFAULT NULL
570
-  (0.1ms) ALTER TABLE "users" ADD "last_activity_at" datetime DEFAULT NULL
571
-  (0.1ms) ALTER TABLE "users" ADD "last_login_from_ip_address" varchar(255) DEFAULT NULL
572
-  (0.0ms) PRAGMA index_list("users")
573
-  (0.1ms) CREATE INDEX "index_users_on_last_logout_at_and_last_activity_at" ON "users" ("last_logout_at", "last_activity_at")
574
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223624')
575
-  (0.9ms) commit transaction
576
-  (0.1ms) begin transaction
577
-  (0.1ms) SAVEPOINT active_record_1
578
- Binary data inserted for `string` type on column `crypted_password`
579
- SQL (0.9ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["crypted_password", "$2a$04$oUSVCnMPDebCY8BLucEXse.Xs9hIg6ZXdCzfM6sFpEFWk8k.d2Mx6"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "ojbBUGxZzhTRaAmE5ovb"], ["updated_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["username", "gizmo"]]
580
-  (0.0ms) RELEASE SAVEPOINT active_record_1
581
- SQL (0.0ms) DELETE FROM "users"
582
-  (1.8ms) rollback transaction
583
-  (0.1ms) begin transaction
584
-  (0.0ms) SAVEPOINT active_record_1
585
- Binary data inserted for `string` type on column `crypted_password`
586
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["crypted_password", "$2a$04$bbKvSb0qAe.toPAcH9WvUOnEJceTYJOnInXxbhzOVyRF5fc3J2QUW"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "fkBNNqSr9stGGaB3xfcX"], ["updated_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["username", "gizmo"]]
587
-  (0.0ms) RELEASE SAVEPOINT active_record_1
588
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:21' )
589
- SQL (0.0ms) DELETE FROM "users"
590
-  (0.4ms) rollback transaction
591
-  (0.0ms) begin transaction
592
-  (0.0ms) SAVEPOINT active_record_1
593
- Binary data inserted for `string` type on column `crypted_password`
594
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["crypted_password", "$2a$04$4ZZ23ESE3/7NRuhTCuxyU./TQK4RAulYBsrzKXuDKndqOFe9jxQBa"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "2A41qmrNmAQgLPuxmhfH"], ["updated_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["username", "gizmo"]]
595
-  (0.0ms) RELEASE SAVEPOINT active_record_1
596
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:21.910932' WHERE "users"."id" = 1
597
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
598
- SQL (0.0ms) DELETE FROM "users"
599
-  (0.3ms) rollback transaction
600
-  (0.0ms) begin transaction
601
-  (0.0ms) SAVEPOINT active_record_1
602
- Binary data inserted for `string` type on column `crypted_password`
603
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["crypted_password", "$2a$04$8oVCJ2OVX6BjiiXeCW6Us.TO2RbNJX44Uw5UaldY7pUnIdIPv2VdG"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "SzqpWLzxSESG287sZVqq"], ["updated_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["username", "gizmo"]]
604
-  (0.0ms) RELEASE SAVEPOINT active_record_1
605
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:21.922611' WHERE "users"."id" = 1
606
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
607
- SQL (0.1ms) UPDATE "users" SET "last_logout_at" = '2013-10-08 08:58:21.923486' WHERE "users"."id" = 1
608
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
609
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
610
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
611
- SQL (0.0ms) DELETE FROM "users"
612
-  (0.5ms) rollback transaction
613
-  (0.0ms) begin transaction
614
-  (0.0ms) SAVEPOINT active_record_1
615
- Binary data inserted for `string` type on column `crypted_password`
616
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["crypted_password", "$2a$04$CtEZgtUy0X9EdjPCojQ7wuDjyrBlhbhrht/wK7nS/AO6SFFXZF5AC"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "ipC8BzUMEzpnJVwq3SuL"], ["updated_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["username", "gizmo"]]
617
-  (0.0ms) RELEASE SAVEPOINT active_record_1
618
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:21.932949' WHERE "users"."id" = 1
619
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
620
- Processing by ApplicationController#some_action as HTML
621
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:21.942489' WHERE "users"."id" = 1
622
- Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
623
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
624
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
625
- SQL (0.0ms) DELETE FROM "users"
626
-  (0.4ms) rollback transaction
627
-  (0.0ms) begin transaction
628
-  (0.0ms) SAVEPOINT active_record_1
629
- Binary data inserted for `string` type on column `crypted_password`
630
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["crypted_password", "$2a$04$bWKDSOChlPPL8n9wEqa4XuZpEmJuleKjR.5mUDgRZen4pgUGlRgHu"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "jSXkpwdcz9ojzQqcZYsZ"], ["updated_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["username", "gizmo"]]
631
-  (0.0ms) RELEASE SAVEPOINT active_record_1
632
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:21.949381' WHERE "users"."id" = 1
633
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
634
- Processing by ApplicationController#some_action as HTML
635
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:21.951703' WHERE "users"."id" = 1
636
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
637
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
638
- SQL (0.0ms) DELETE FROM "users"
639
-  (0.3ms) rollback transaction
640
-  (0.0ms) begin transaction
641
-  (0.0ms) SAVEPOINT active_record_1
642
- Binary data inserted for `string` type on column `crypted_password`
643
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["crypted_password", "$2a$04$r3JcZXiokuqdDCBVFFlYhu5Mm5d6cUEvKqqz/oy0FfJOBFxgxnJt6"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "t6GqKJQKuiFpVdhAvUzz"], ["updated_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["username", "gizmo"]]
644
-  (0.0ms) RELEASE SAVEPOINT active_record_1
645
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
646
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:21.958208' WHERE "users"."id" = 1
647
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
648
- Processing by ApplicationController#some_action_making_a_non_persisted_change_to_the_user as HTML
649
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:21.960931' WHERE "users"."id" = 1
650
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
651
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
652
- SQL (0.0ms) DELETE FROM "users"
653
-  (0.7ms) rollback transaction
654
-  (0.0ms) begin transaction
655
-  (0.0ms) SAVEPOINT active_record_1
656
- Binary data inserted for `string` type on column `crypted_password`
657
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["crypted_password", "$2a$04$TUGolf9OdOLkJMWA6l7cEuh5WKIspsNFloOa2t7zyFLOy3uk6BVoa"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "BY2nbqd3px5uULDyMxHt"], ["updated_at", Tue, 08 Oct 2013 08:58:21 UTC +00:00], ["username", "gizmo"]]
658
-  (0.0ms) RELEASE SAVEPOINT active_record_1
659
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:21.967825' WHERE "users"."id" = 1
660
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
661
- Processing by ApplicationController#some_action as HTML
662
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:21.994785' WHERE "users"."id" = 1
663
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
664
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:21' )
665
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:21' )
666
- SQL (0.0ms) DELETE FROM "users"
667
-  (0.4ms) rollback transaction
668
-  (0.0ms) begin transaction
669
-  (0.0ms) SAVEPOINT active_record_1
670
- Binary data inserted for `string` type on column `crypted_password`
671
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["crypted_password", "$2a$04$gzyiXHX.6gacoK2OaUxPyuYtU0FNPZjElv80Xt2b0tUdFS9Lr38yG"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "x81F558sn7A6x6P1oBB7"], ["updated_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["username", "gizmo"]]
672
-  (0.0ms) RELEASE SAVEPOINT active_record_1
673
-  (0.0ms) SAVEPOINT active_record_1
674
- Binary data inserted for `string` type on column `crypted_password`
675
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["crypted_password", "$2a$04$EGFRBhvtHQXgbHFRJGCgZO.BK5ooXzUXJeRfG.x.H47LMySgU6ggO"], ["email", "bla1@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "uxmpzHajgiRy7Zsi11eq"], ["updated_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["username", "gizmo1"]]
676
-  (0.0ms) RELEASE SAVEPOINT active_record_1
677
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:22.005228' WHERE "users"."id" = 2
678
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 2
679
- Processing by ApplicationController#some_action as HTML
680
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:22.007097' WHERE "users"."id" = 2
681
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
682
-  (0.0ms) SAVEPOINT active_record_1
683
- Binary data inserted for `string` type on column `crypted_password`
684
- SQL (0.2ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["crypted_password", "$2a$04$/hTx2Ci.0ykrTzYLaJH0Yer1WRpbxQ6ubM464MRHnU580NOVLCp82"], ["email", "bla2@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "fbaLpxfN3iq1yPFJwaYM"], ["updated_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["username", "gizmo2"]]
685
-  (0.0ms) RELEASE SAVEPOINT active_record_1
686
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:22.011148' WHERE "users"."id" = 3
687
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 3
688
- Processing by ApplicationController#some_action as HTML
689
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:22.012575' WHERE "users"."id" = 3
690
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
691
-  (0.0ms) SAVEPOINT active_record_1
692
- Binary data inserted for `string` type on column `crypted_password`
693
- SQL (0.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["crypted_password", "$2a$04$8kA/Wh2IeE1pqFkqO4LpnOIFkoZh6uiz45lJtgFzSF/LFhmzNKZgu"], ["email", "bla3@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "RvNFJrSe2qHrbsazyjBP"], ["updated_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["username", "gizmo3"]]
694
-  (0.0ms) RELEASE SAVEPOINT active_record_1
695
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:22.016293' WHERE "users"."id" = 4
696
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 4
697
- Processing by ApplicationController#some_action as HTML
698
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:22.017293' WHERE "users"."id" = 4
699
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
700
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:22' )
701
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:22' )
702
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:22' )
703
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:22' )
704
- SQL (0.0ms) DELETE FROM "users"
705
-  (0.5ms) rollback transaction
706
-  (0.0ms) begin transaction
707
-  (0.0ms) SAVEPOINT active_record_1
708
- Binary data inserted for `string` type on column `crypted_password`
709
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["crypted_password", "$2a$04$ODI0qYr9F9riQybLwVJ2NeYNs/1dVm7RSpjIs7Ow8u3vdi3hZgq/C"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "CmZ3Cm2bejsN4UXGLsfb"], ["updated_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["username", "gizmo"]]
710
-  (0.0ms) RELEASE SAVEPOINT active_record_1
711
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
712
- SQL (0.0ms) DELETE FROM "users"
713
-  (0.4ms) rollback transaction
714
-  (0.0ms) begin transaction
715
-  (0.0ms) SAVEPOINT active_record_1
716
- Binary data inserted for `string` type on column `crypted_password`
717
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["crypted_password", "$2a$04$tMTCXUd3Q4KUbw//FbjLwO0Vzjlk6XEE7q.qoXXw9WyCrJrSI0bri"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "tJkBxyooFB3EpdMBArxT"], ["updated_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["username", "gizmo"]]
718
-  (0.0ms) RELEASE SAVEPOINT active_record_1
719
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
720
- SQL (0.0ms) DELETE FROM "users"
721
-  (0.3ms) rollback transaction
722
-  (0.0ms) begin transaction
723
-  (0.0ms) SAVEPOINT active_record_1
724
- Binary data inserted for `string` type on column `crypted_password`
725
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["crypted_password", "$2a$04$zyn/gqhvYZGhYpPmHXAbLeheabHNu6g.xpS4b23TlU2nM0h8VEEEy"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "G15r4ynuCWz7Cpo9q21T"], ["updated_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["username", "gizmo"]]
726
-  (0.0ms) RELEASE SAVEPOINT active_record_1
727
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
728
- Processing by ApplicationController#some_action as HTML
729
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
730
- SQL (0.0ms) DELETE FROM "users"
731
-  (0.4ms) rollback transaction
732
-  (0.0ms) begin transaction
733
-  (0.0ms) SAVEPOINT active_record_1
734
- Binary data inserted for `string` type on column `crypted_password`
735
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["crypted_password", "$2a$04$yQoDVoSoTesK5utVt9TOOusdMDwroAyIMzJgcU3D4Q.DaEktgsWqG"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "X7xpgK4XeXzGDEqsNE2X"], ["updated_at", Tue, 08 Oct 2013 08:58:22 UTC +00:00], ["username", "gizmo"]]
736
-  (0.0ms) RELEASE SAVEPOINT active_record_1
737
- Processing by ApplicationController#some_action as HTML
738
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
739
- SQL (0.0ms) DELETE FROM "users"
740
-  (0.4ms) rollback transaction
741
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
742
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
743
- Migrating to AddActivityLoggingToUsers (20101224223624)
744
-  (0.0ms) begin transaction
745
-  (0.0ms) PRAGMA index_list("users")
746
-  (0.0ms) PRAGMA index_info('index_users_on_last_logout_at_and_last_activity_at')
747
-  (0.2ms) DROP INDEX "index_users_on_last_logout_at_and_last_activity_at"
748
-  (0.3ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar(255))
749
-  (0.0ms) PRAGMA index_list("users")
750
-  (0.0ms) SELECT * FROM "users"
751
-  (0.2ms) DROP TABLE "users"
752
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255))
753
-  (0.0ms) PRAGMA index_list("altered_users")
754
-  (0.0ms) SELECT * FROM "altered_users"
755
-  (0.2ms) DROP TABLE "altered_users"
756
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255))
757
-  (0.0ms) PRAGMA index_list("users")
758
-  (0.0ms) SELECT * FROM "users"
759
-  (0.1ms) DROP TABLE "users"
760
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255))
761
-  (0.0ms) PRAGMA index_list("altered_users")
762
-  (0.0ms) SELECT * FROM "altered_users"
763
-  (0.1ms) DROP TABLE "altered_users"
764
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255))
765
-  (0.0ms) PRAGMA index_list("users")
766
-  (0.0ms) SELECT * FROM "users"
767
-  (0.1ms) DROP TABLE "users"
768
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255))
769
-  (0.0ms) PRAGMA index_list("altered_users")
770
-  (0.0ms) SELECT * FROM "altered_users"
771
-  (0.1ms) DROP TABLE "altered_users"
772
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255))
773
-  (0.0ms) PRAGMA index_list("users")
774
-  (0.0ms) SELECT * FROM "users"
775
-  (0.1ms) DROP TABLE "users"
776
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
777
-  (0.0ms) PRAGMA index_list("altered_users")
778
-  (0.0ms) SELECT * FROM "altered_users"
779
-  (0.1ms) DROP TABLE "altered_users"
780
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223624'
781
-  (1.1ms) commit transaction
782
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
783
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
784
- Migrating to CreateUsers (20101224223620)
785
-  (0.0ms) begin transaction
786
-  (0.2ms) DROP TABLE "users"
787
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223620'
788
-  (0.8ms) commit transaction
789
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
790
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
791
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
792
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
793
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
794
- Migrating to CreateUsers (20101224223620)
795
-  (0.0ms) select sqlite_version(*)
796
-  (0.0ms) begin transaction
797
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255), "crypted_password" varchar(255), "salt" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
798
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223620')
799
-  (2.7ms) commit transaction
800
-  (0.9ms) DROP TABLE "users"
801
-  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
802
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
803
- Migrating to AddActivityLoggingToUsers (20101224223624)
804
-  (0.0ms) begin transaction
805
-  (0.4ms) ALTER TABLE "users" ADD "last_login_at" datetime DEFAULT NULL
806
-  (0.1ms) ALTER TABLE "users" ADD "last_logout_at" datetime DEFAULT NULL
807
-  (0.1ms) ALTER TABLE "users" ADD "last_activity_at" datetime DEFAULT NULL
808
-  (0.1ms) ALTER TABLE "users" ADD "last_login_from_ip_address" varchar(255) DEFAULT NULL
809
-  (0.0ms) PRAGMA index_list("users")
810
-  (0.1ms) CREATE INDEX "index_users_on_last_logout_at_and_last_activity_at" ON "users" ("last_logout_at", "last_activity_at")
811
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223624')
812
-  (0.7ms) commit transaction
813
-  (0.0ms) begin transaction
814
-  (0.1ms) SAVEPOINT active_record_1
815
- Binary data inserted for `string` type on column `crypted_password`
816
- SQL (1.0ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["crypted_password", "$2a$04$yscKx6QribPEUbVh9D8KF.oGbo5Ru/.4jUcbrn013VnZQXnbvIxEq"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "1BiFjbiQLXLCLsgLf7zT"], ["updated_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["username", "gizmo"]]
817
-  (0.0ms) RELEASE SAVEPOINT active_record_1
818
- SQL (0.0ms) DELETE FROM "users"
819
-  (0.4ms) rollback transaction
820
-  (0.0ms) begin transaction
821
-  (0.0ms) SAVEPOINT active_record_1
822
- Binary data inserted for `string` type on column `crypted_password`
823
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["crypted_password", "$2a$04$4lLEDE6eNVI9BG4J4iF1o.NEUgNFg83xx8gzJueEYCbo9uwfoeaTa"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "iB48FNHbpeACDzc1cV9J"], ["updated_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["username", "gizmo"]]
824
-  (0.0ms) RELEASE SAVEPOINT active_record_1
825
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:28' )
826
- SQL (0.0ms) DELETE FROM "users"
827
-  (0.3ms) rollback transaction
828
-  (0.0ms) begin transaction
829
-  (0.0ms) SAVEPOINT active_record_1
830
- Binary data inserted for `string` type on column `crypted_password`
831
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["crypted_password", "$2a$04$Ewcj5r7qFAKMJc8dPe1L6.7G7X98rjgcXisDyTEdlOGgMnRCQLSkO"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "CJeRgpQhS3SsqqsTonzx"], ["updated_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["username", "gizmo"]]
832
-  (0.0ms) RELEASE SAVEPOINT active_record_1
833
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:28.900227' WHERE "users"."id" = 1
834
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
835
- SQL (0.0ms) DELETE FROM "users"
836
-  (0.4ms) rollback transaction
837
-  (0.0ms) begin transaction
838
-  (0.0ms) SAVEPOINT active_record_1
839
- Binary data inserted for `string` type on column `crypted_password`
840
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["crypted_password", "$2a$04$T/QuO0Mo4uIb0KD99HJnceikriWGXhLsnpHct1Cw8xIEaY5Lo7iCu"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "ztstQe9HqTXKpRJtqZCB"], ["updated_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["username", "gizmo"]]
841
-  (0.0ms) RELEASE SAVEPOINT active_record_1
842
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:28.912086' WHERE "users"."id" = 1
843
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
844
- SQL (0.0ms) UPDATE "users" SET "last_logout_at" = '2013-10-08 08:58:28.912793' WHERE "users"."id" = 1
845
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
846
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
847
- User Load (0.0ms) SELECT "users".* FROM "users" LIMIT 1
848
- SQL (0.0ms) DELETE FROM "users"
849
-  (0.4ms) rollback transaction
850
-  (0.0ms) begin transaction
851
-  (0.0ms) SAVEPOINT active_record_1
852
- Binary data inserted for `string` type on column `crypted_password`
853
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["crypted_password", "$2a$04$w/UXxHax5LTdI1K9m7BuOex6Ad4eZSiR/nnDcToUhwZUQnUT551/."], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "uwJRAH5zxFNjwupnD4fm"], ["updated_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["username", "gizmo"]]
854
-  (0.0ms) RELEASE SAVEPOINT active_record_1
855
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:28.920648' WHERE "users"."id" = 1
856
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
857
- Processing by ApplicationController#some_action as HTML
858
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:28.930373' WHERE "users"."id" = 1
859
- Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms)
860
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
861
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
862
- SQL (0.0ms) DELETE FROM "users"
863
-  (0.5ms) rollback transaction
864
-  (0.0ms) begin transaction
865
-  (0.0ms) SAVEPOINT active_record_1
866
- Binary data inserted for `string` type on column `crypted_password`
867
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["crypted_password", "$2a$04$j3mdb3HLMGxy3.xGnSxZJewIRTNhJZM9/j.8v6jJdR7g40Lfl3CDi"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "SsUt73T1oRGy3Z5wxxsx"], ["updated_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["username", "gizmo"]]
868
-  (0.0ms) RELEASE SAVEPOINT active_record_1
869
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:28.938951' WHERE "users"."id" = 1
870
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
871
- Processing by ApplicationController#some_action as HTML
872
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:28.941992' WHERE "users"."id" = 1
873
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
874
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
875
- SQL (0.0ms) DELETE FROM "users"
876
-  (0.4ms) rollback transaction
877
-  (0.0ms) begin transaction
878
-  (0.0ms) SAVEPOINT active_record_1
879
- Binary data inserted for `string` type on column `crypted_password`
880
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["crypted_password", "$2a$04$jnSsPnMCDhKmryox7WUJsu2Ecf6FdRDaa5Gr4UpUp1cO2ldIv/wbi"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "CWCq2qqyvAXHhxpaCGmm"], ["updated_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["username", "gizmo"]]
881
-  (0.0ms) RELEASE SAVEPOINT active_record_1
882
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
883
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:28.948957' WHERE "users"."id" = 1
884
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
885
- Processing by ApplicationController#some_action_making_a_non_persisted_change_to_the_user as HTML
886
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:28.951036' WHERE "users"."id" = 1
887
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
888
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
889
- SQL (0.0ms) DELETE FROM "users"
890
-  (0.4ms) rollback transaction
891
-  (0.0ms) begin transaction
892
-  (0.0ms) SAVEPOINT active_record_1
893
- Binary data inserted for `string` type on column `crypted_password`
894
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["crypted_password", "$2a$04$GkwyrAb8EamIs7feDW6tiOH6lCsYt6Rc1x7A9/kAqU6MjLlfih9xC"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "PqX2fR4ke7maMP5Wnq9U"], ["updated_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["username", "gizmo"]]
895
-  (0.0ms) RELEASE SAVEPOINT active_record_1
896
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:28.957378' WHERE "users"."id" = 1
897
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
898
- Processing by ApplicationController#some_action as HTML
899
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:28.985920' WHERE "users"."id" = 1
900
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
901
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:28' )
902
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:28' )
903
- SQL (0.0ms) DELETE FROM "users"
904
-  (0.3ms) rollback transaction
905
-  (0.0ms) begin transaction
906
-  (0.1ms) SAVEPOINT active_record_1
907
- Binary data inserted for `string` type on column `crypted_password`
908
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["crypted_password", "$2a$04$95A353gpdvn9W.lm7n441.t1jEegwCw/TatANaZcC7qwAhQYJq9nm"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "7sFACirCWQpsNmfbgWes"], ["updated_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["username", "gizmo"]]
909
-  (0.0ms) RELEASE SAVEPOINT active_record_1
910
-  (0.0ms) SAVEPOINT active_record_1
911
- Binary data inserted for `string` type on column `crypted_password`
912
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["crypted_password", "$2a$04$gVVWAkqNpp2O.OfXXqiu6eyzL9rFjoJavKwKorIeWcAIznD7ymlDa"], ["email", "bla1@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "eE3yLkYXXQ6tkCLjHGsp"], ["updated_at", Tue, 08 Oct 2013 08:58:28 UTC +00:00], ["username", "gizmo1"]]
913
-  (0.0ms) RELEASE SAVEPOINT active_record_1
914
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:28.997662' WHERE "users"."id" = 2
915
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 2
916
- Processing by ApplicationController#some_action as HTML
917
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:28.999780' WHERE "users"."id" = 2
918
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
919
-  (0.0ms) SAVEPOINT active_record_1
920
- Binary data inserted for `string` type on column `crypted_password`
921
- SQL (0.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["crypted_password", "$2a$04$iG0mMN6S2XBSss2CFIPcLuNXOVUDXlxYSaxu6fNTMAPI9K8oj3z.O"], ["email", "bla2@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "X93qv1ypY1nRkufvozuv"], ["updated_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["username", "gizmo2"]]
922
-  (0.0ms) RELEASE SAVEPOINT active_record_1
923
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:29.003534' WHERE "users"."id" = 3
924
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 3
925
- Processing by ApplicationController#some_action as HTML
926
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:29.004614' WHERE "users"."id" = 3
927
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
928
-  (0.0ms) SAVEPOINT active_record_1
929
- Binary data inserted for `string` type on column `crypted_password`
930
- SQL (0.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["crypted_password", "$2a$04$Ha5jlkkTo49NERM16VU.fenEwszA3gTc9mhsqvD1slTsu1R9/mrhe"], ["email", "bla3@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "S4Jz3Fa2g2V1p91PeDtq"], ["updated_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["username", "gizmo3"]]
931
-  (0.0ms) RELEASE SAVEPOINT active_record_1
932
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:29.008181' WHERE "users"."id" = 4
933
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 4
934
- Processing by ApplicationController#some_action as HTML
935
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:29.009228' WHERE "users"."id" = 4
936
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
937
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:29' )
938
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:29' )
939
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:29' )
940
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:29' )
941
- SQL (0.0ms) DELETE FROM "users"
942
-  (0.4ms) rollback transaction
943
-  (0.0ms) begin transaction
944
-  (0.0ms) SAVEPOINT active_record_1
945
- Binary data inserted for `string` type on column `crypted_password`
946
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["crypted_password", "$2a$04$SbieNQA5PKQrLYLnY0T5a.k3ynaY4uxQnWPmOhNKtmfttsh6mCrLK"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "vjzmi28dfZenT6uaiLzk"], ["updated_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["username", "gizmo"]]
947
-  (0.0ms) RELEASE SAVEPOINT active_record_1
948
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
949
- SQL (0.0ms) DELETE FROM "users"
950
-  (0.3ms) rollback transaction
951
-  (0.0ms) begin transaction
952
-  (0.0ms) SAVEPOINT active_record_1
953
- Binary data inserted for `string` type on column `crypted_password`
954
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["crypted_password", "$2a$04$FaVWjxTUyqf4JoqxwddMjuRZF11ol6bzVZvjJQd7wMw/TGOheC.OS"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "vsDKzwGipz1Pc8oup2p1"], ["updated_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["username", "gizmo"]]
955
-  (0.0ms) RELEASE SAVEPOINT active_record_1
956
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
957
- SQL (0.0ms) DELETE FROM "users"
958
-  (0.3ms) rollback transaction
959
-  (0.0ms) begin transaction
960
-  (0.0ms) SAVEPOINT active_record_1
961
- Binary data inserted for `string` type on column `crypted_password`
962
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["crypted_password", "$2a$04$BU5JRzlZdWi6LbgxnX4.Qu.x5RJu3c1pHuMq1egzpk9uRfA1TY2pq"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "yB6vg8p68oFhSxuhhWzo"], ["updated_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["username", "gizmo"]]
963
-  (0.0ms) RELEASE SAVEPOINT active_record_1
964
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
965
- Processing by ApplicationController#some_action as HTML
966
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
967
- SQL (0.0ms) DELETE FROM "users"
968
-  (0.3ms) rollback transaction
969
-  (0.0ms) begin transaction
970
-  (0.0ms) SAVEPOINT active_record_1
971
- Binary data inserted for `string` type on column `crypted_password`
972
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["crypted_password", "$2a$04$CKoLuCXBM4hLKZhhokQieOrcSY1SPBainmPZNMGhULbJS.SD5kvBa"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "nTzEz354hdofXQPtTMc2"], ["updated_at", Tue, 08 Oct 2013 08:58:29 UTC +00:00], ["username", "gizmo"]]
973
-  (0.0ms) RELEASE SAVEPOINT active_record_1
974
- Processing by ApplicationController#some_action as HTML
975
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
976
- SQL (0.0ms) DELETE FROM "users"
977
-  (0.3ms) rollback transaction
978
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
979
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
980
- Migrating to AddActivityLoggingToUsers (20101224223624)
981
-  (0.0ms) begin transaction
982
-  (0.0ms) PRAGMA index_list("users")
983
-  (0.0ms) PRAGMA index_info('index_users_on_last_logout_at_and_last_activity_at')
984
-  (0.2ms) DROP INDEX "index_users_on_last_logout_at_and_last_activity_at"
985
-  (0.5ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar(255))
986
-  (0.0ms) PRAGMA index_list("users")
987
-  (0.1ms) SELECT * FROM "users"
988
-  (0.3ms) DROP TABLE "users"
989
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255))
990
-  (0.0ms) PRAGMA index_list("altered_users")
991
-  (0.0ms) SELECT * FROM "altered_users"
992
-  (0.2ms) DROP TABLE "altered_users"
993
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255))
994
-  (0.0ms) PRAGMA index_list("users")
995
-  (0.0ms) SELECT * FROM "users"
996
-  (0.1ms) DROP TABLE "users"
997
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255))
998
-  (0.0ms) PRAGMA index_list("altered_users")
999
-  (0.0ms) SELECT * FROM "altered_users"
1000
-  (0.1ms) DROP TABLE "altered_users"
1001
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255))
1002
-  (0.0ms) PRAGMA index_list("users")
1003
-  (0.0ms) SELECT * FROM "users"
1004
-  (0.1ms) DROP TABLE "users"
1005
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255))
1006
-  (0.0ms) PRAGMA index_list("altered_users")
1007
-  (0.0ms) SELECT * FROM "altered_users"
1008
-  (0.1ms) DROP TABLE "altered_users"
1009
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255))
1010
-  (0.0ms) PRAGMA index_list("users")
1011
-  (0.0ms) SELECT * FROM "users"
1012
-  (0.1ms) DROP TABLE "users"
1013
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
1014
-  (0.0ms) PRAGMA index_list("altered_users")
1015
-  (0.1ms) SELECT * FROM "altered_users"
1016
-  (0.1ms) DROP TABLE "altered_users"
1017
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223624'
1018
-  (0.7ms) commit transaction
1019
-  (0.8ms) DROP TABLE "users"
1020
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1021
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1022
- Migrating to CreateUsers (20101224223620)
1023
-  (0.0ms) begin transaction
1024
-  (0.1ms) DROP TABLE "users"
1025
- SQLite3::SQLException: no such table: users: DROP TABLE "users"
1026
-  (0.0ms) rollback transaction
1027
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1028
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1029
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1030
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1031
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1032
- Migrating to CreateUsers (20101224223620)
1033
-  (0.1ms) DROP TABLE "users"
1034
- SQLite3::SQLException: no such table: users: DROP TABLE "users"
1035
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1036
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1037
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1038
- Migrating to CreateUsers (20101224223620)
1039
-  (0.0ms) select sqlite_version(*)
1040
-  (0.0ms) begin transaction
1041
-  (0.1ms) DROP TABLE "users"
1042
- SQLite3::SQLException: no such table: users: DROP TABLE "users"
1043
-  (0.0ms) rollback transaction
1044
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1045
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1046
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1047
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1048
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1049
- Migrating to CreateUsers (20101224223620)
1050
-  (0.0ms) select sqlite_version(*)
1051
-  (2.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255)) 
1052
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1053
- Migrating to AddActivityLoggingToUsers (20101224223624)
1054
-  (0.0ms) begin transaction
1055
-  (0.4ms) ALTER TABLE "users" ADD "last_login_at" datetime DEFAULT NULL
1056
-  (0.1ms) ALTER TABLE "users" ADD "last_logout_at" datetime DEFAULT NULL
1057
-  (0.1ms) ALTER TABLE "users" ADD "last_activity_at" datetime DEFAULT NULL
1058
-  (0.1ms) ALTER TABLE "users" ADD "last_login_from_ip_address" varchar(255) DEFAULT NULL
1059
-  (0.0ms) PRAGMA index_list("users")
1060
-  (0.1ms) CREATE INDEX "index_users_on_last_logout_at_and_last_activity_at" ON "users" ("last_logout_at", "last_activity_at")
1061
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223624')
1062
-  (0.7ms) commit transaction
1063
-  (0.0ms) begin transaction
1064
-  (0.0ms) SAVEPOINT active_record_1
1065
- Binary data inserted for `string` type on column `crypted_password`
1066
- SQL (1.0ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$Eg1A3RWQg0INkVqS8/y0teGa6bi4fQ1vRZ0zLT1GSOrvlvRHfyDE."], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "si2fMfoSaf9LJkziqdcQ"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1067
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1068
- SQL (0.0ms) DELETE FROM "users"
1069
-  (0.4ms) rollback transaction
1070
-  (0.0ms) begin transaction
1071
-  (0.0ms) SAVEPOINT active_record_1
1072
- Binary data inserted for `string` type on column `crypted_password`
1073
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$BG8uRnDxuM/8LoILCKFDuu2f6qnEZVGEkzj7WCeh/QzxLcj5NkCfO"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "ZaRH8Y5dqJzHg2TRWi2D"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1074
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1075
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:52' )
1076
- SQL (0.0ms) DELETE FROM "users"
1077
-  (0.4ms) rollback transaction
1078
-  (0.0ms) begin transaction
1079
-  (0.0ms) SAVEPOINT active_record_1
1080
- Binary data inserted for `string` type on column `crypted_password`
1081
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$tjPEl6X/ZwJnEtfH.kah.ud2bPW27lUpW0SXwgX44bYlW1XAgs8ri"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "2yjkP2ESexB9ZzHaBGns"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1082
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1083
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:52.646671' WHERE "users"."id" = 1
1084
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1085
- SQL (0.0ms) DELETE FROM "users"
1086
-  (0.5ms) rollback transaction
1087
-  (0.1ms) begin transaction
1088
-  (0.1ms) SAVEPOINT active_record_1
1089
- Binary data inserted for `string` type on column `crypted_password`
1090
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$HTIL/pZoNtQQx5Kw2dNo3en8YRamkX/ne3uAeq4K6J2RGCAvHM2F."], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "Cwqs4r64sFugj1BFipvQ"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1091
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1092
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:52.660086' WHERE "users"."id" = 1
1093
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1094
- SQL (0.1ms) UPDATE "users" SET "last_logout_at" = '2013-10-08 08:58:52.661036' WHERE "users"."id" = 1
1095
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1096
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1097
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1098
- SQL (0.0ms) DELETE FROM "users"
1099
-  (0.4ms) rollback transaction
1100
-  (0.1ms) begin transaction
1101
-  (0.0ms) SAVEPOINT active_record_1
1102
- Binary data inserted for `string` type on column `crypted_password`
1103
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$7dZ8WEMru63RzYasAQf73u9vMmcCG2qJafwHqLXmmfAH1aD5BFNmu"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "dn6H7tiAToQsTKezycvc"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1104
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1105
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:52.670862' WHERE "users"."id" = 1
1106
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1107
- Processing by ApplicationController#some_action as HTML
1108
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:52.681613' WHERE "users"."id" = 1
1109
- Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms)
1110
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1111
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1112
- SQL (0.0ms) DELETE FROM "users"
1113
-  (0.4ms) rollback transaction
1114
-  (0.0ms) begin transaction
1115
-  (0.0ms) SAVEPOINT active_record_1
1116
- Binary data inserted for `string` type on column `crypted_password`
1117
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$GftZP5pTAW3.dCaxWp0gJO1Wv8wrODEqY4KE8uWaLckABiinogYtm"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "DqRPsHfoobGkpadQ7mKo"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1118
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1119
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:52.688931' WHERE "users"."id" = 1
1120
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1121
- Processing by ApplicationController#some_action as HTML
1122
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:52.691668' WHERE "users"."id" = 1
1123
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1124
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1125
- SQL (0.0ms) DELETE FROM "users"
1126
-  (0.4ms) rollback transaction
1127
-  (0.0ms) begin transaction
1128
-  (0.0ms) SAVEPOINT active_record_1
1129
- Binary data inserted for `string` type on column `crypted_password`
1130
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$1A6VdB6PFK64tgRBB3apMenW3eCcfqA/N0ah3QTrLtA3wH5oQyVL."], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "CoPQm8xhuhGmq9sZgehW"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1131
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1132
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1133
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:52.698203' WHERE "users"."id" = 1
1134
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1135
- Processing by ApplicationController#some_action_making_a_non_persisted_change_to_the_user as HTML
1136
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:52.700332' WHERE "users"."id" = 1
1137
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1138
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1139
- SQL (0.0ms) DELETE FROM "users"
1140
-  (0.3ms) rollback transaction
1141
-  (0.0ms) begin transaction
1142
-  (0.0ms) SAVEPOINT active_record_1
1143
- Binary data inserted for `string` type on column `crypted_password`
1144
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$.ed/A8eqc4oATPV33/1YjOa4cxBlpMUT.LU8hsfIT5.6Fo8ve.vCy"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "Zdcdjmq4C9Vsq7XUBHYy"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1145
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1146
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:52.706535' WHERE "users"."id" = 1
1147
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1148
- Processing by ApplicationController#some_action as HTML
1149
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:52.734812' WHERE "users"."id" = 1
1150
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1151
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:52' )
1152
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:52' )
1153
- SQL (0.0ms) DELETE FROM "users"
1154
-  (0.4ms) rollback transaction
1155
-  (0.0ms) begin transaction
1156
-  (0.0ms) SAVEPOINT active_record_1
1157
- Binary data inserted for `string` type on column `crypted_password`
1158
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$Ya2aNVZeo7zOxm.AFdlQfuvj1tWIVPDo8YLd8e21uQ3INl.DHUYXG"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "ryr1Gnq48ewxPNaZNzyH"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1159
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1160
-  (0.0ms) SAVEPOINT active_record_1
1161
- Binary data inserted for `string` type on column `crypted_password`
1162
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$d/La8YmXIAvle4R4pWzxAOnP9H9czwCS4e5flmeqfvCjcU2NhfxAq"], ["email", "bla1@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "GqJqj2mxKBxcsoRjKqbW"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo1"]]
1163
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1164
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:52.745631' WHERE "users"."id" = 2
1165
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 2
1166
- Processing by ApplicationController#some_action as HTML
1167
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:52.747506' WHERE "users"."id" = 2
1168
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1169
-  (0.0ms) SAVEPOINT active_record_1
1170
- Binary data inserted for `string` type on column `crypted_password`
1171
- SQL (0.2ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$KWZFlps3hG7KhNQ.uNWhA.0Ao13GL6qEKdQx3I9TVbJrT.N6xk5A6"], ["email", "bla2@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "Bx6y7Ew8QsgChy7bm4wd"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo2"]]
1172
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1173
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:52.751697' WHERE "users"."id" = 3
1174
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 3
1175
- Processing by ApplicationController#some_action as HTML
1176
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:52.753043' WHERE "users"."id" = 3
1177
- Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1178
-  (0.0ms) SAVEPOINT active_record_1
1179
- Binary data inserted for `string` type on column `crypted_password`
1180
- SQL (0.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$sOASAwwpgulS8fEukBxbh.8rYJOyVF9NivAVZGdN.JIzoBWVvzA1e"], ["email", "bla3@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "AXCqJBkFK9CYtabo6zRY"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo3"]]
1181
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1182
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:58:52.756718' WHERE "users"."id" = 4
1183
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 4
1184
- Processing by ApplicationController#some_action as HTML
1185
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:58:52.757748' WHERE "users"."id" = 4
1186
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1187
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:52' )
1188
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:52' )
1189
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:52' )
1190
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:48:52' )
1191
- SQL (0.0ms) DELETE FROM "users"
1192
-  (0.5ms) rollback transaction
1193
-  (0.0ms) begin transaction
1194
-  (0.0ms) SAVEPOINT active_record_1
1195
- Binary data inserted for `string` type on column `crypted_password`
1196
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$Dbf9cMVpMe0oIvuIoLETX.hRfTmEtQZ.uR08eiuzrysTPYUFvWNwy"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "6kS6gkNG5mTbTRSnnyrE"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1197
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1198
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1199
- SQL (0.0ms) DELETE FROM "users"
1200
-  (0.3ms) rollback transaction
1201
-  (0.0ms) begin transaction
1202
-  (0.0ms) SAVEPOINT active_record_1
1203
- Binary data inserted for `string` type on column `crypted_password`
1204
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$aD7r44ussuQjhzIlSadNWeB7tB9f3qFEqEoE31L.w2MjezOoen7UW"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "GTHLGWT7umn9g1Cuozox"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1205
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1206
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1207
- SQL (0.0ms) DELETE FROM "users"
1208
-  (0.2ms) rollback transaction
1209
-  (0.0ms) begin transaction
1210
-  (0.0ms) SAVEPOINT active_record_1
1211
- Binary data inserted for `string` type on column `crypted_password`
1212
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$ElgVrHD.EYeeKlfcogUTAO2I..Oef15MOfXC9dwnIF6LlOxd/hMfa"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "sX1uGniBpzYRv3VzL82K"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1213
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1214
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1215
- Processing by ApplicationController#some_action as HTML
1216
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1217
- SQL (0.0ms) DELETE FROM "users"
1218
-  (0.6ms) rollback transaction
1219
-  (0.0ms) begin transaction
1220
-  (0.1ms) SAVEPOINT active_record_1
1221
- Binary data inserted for `string` type on column `crypted_password`
1222
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["crypted_password", "$2a$04$Gm/6sbpj9O0dD2POtcxq8O/P65Sc7RDxPHukaof5qSU2TwNnZw.n2"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "Df8z5cTZsQiLzLGS84Uj"], ["updated_at", Tue, 08 Oct 2013 08:58:52 UTC +00:00], ["username", "gizmo"]]
1223
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1224
- Processing by ApplicationController#some_action as HTML
1225
- Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1226
- SQL (0.0ms) DELETE FROM "users"
1227
-  (0.4ms) rollback transaction
1228
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1229
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1230
- Migrating to AddActivityLoggingToUsers (20101224223624)
1231
-  (0.0ms) begin transaction
1232
-  (0.0ms) PRAGMA index_list("users")
1233
-  (0.0ms) PRAGMA index_info('index_users_on_last_logout_at_and_last_activity_at')
1234
-  (0.3ms) DROP INDEX "index_users_on_last_logout_at_and_last_activity_at"
1235
-  (0.4ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar(255)) 
1236
-  (0.0ms) PRAGMA index_list("users")
1237
-  (0.0ms) SELECT * FROM "users"
1238
-  (0.2ms) DROP TABLE "users"
1239
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255)) 
1240
-  (0.0ms) PRAGMA index_list("altered_users")
1241
-  (0.0ms) SELECT * FROM "altered_users"
1242
-  (0.2ms) DROP TABLE "altered_users"
1243
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255)) 
1244
-  (0.0ms) PRAGMA index_list("users")
1245
-  (0.0ms) SELECT * FROM "users"
1246
-  (0.1ms) DROP TABLE "users"
1247
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255)) 
1248
-  (0.0ms) PRAGMA index_list("altered_users")
1249
-  (0.0ms) SELECT * FROM "altered_users"
1250
-  (0.1ms) DROP TABLE "altered_users"
1251
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255)) 
1252
-  (0.0ms) PRAGMA index_list("users")
1253
-  (0.0ms) SELECT * FROM "users"
1254
-  (0.1ms) DROP TABLE "users"
1255
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255)) 
1256
-  (0.0ms) PRAGMA index_list("altered_users")
1257
-  (0.0ms) SELECT * FROM "altered_users"
1258
-  (0.1ms) DROP TABLE "altered_users"
1259
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255)) 
1260
-  (0.0ms) PRAGMA index_list("users")
1261
-  (0.1ms) SELECT * FROM "users"
1262
-  (0.1ms) DROP TABLE "users"
1263
-  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255)) 
1264
-  (0.0ms) PRAGMA index_list("altered_users")
1265
-  (0.0ms) SELECT * FROM "altered_users"
1266
-  (0.1ms) DROP TABLE "altered_users"
1267
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223624'
1268
-  (0.9ms) commit transaction
1269
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1270
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1271
- Migrating to CreateUsers (20101224223620)
1272
-  (0.0ms) begin transaction
1273
-  (0.4ms) DROP TABLE "users"
1274
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223620'
1275
-  (0.7ms) commit transaction
1276
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1277
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1278
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1279
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1280
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1281
- Migrating to CreateUsers (20101224223620)
1282
-  (0.0ms) select sqlite_version(*)
1283
-  (0.0ms) begin transaction
1284
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255), "crypted_password" varchar(255), "salt" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1285
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223620')
1286
-  (2.3ms) commit transaction
1287
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255)) 
1288
- SQLite3::SQLException: table "users" already exists: CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
1289
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1290
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1291
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1292
- Migrating to CreateUsers (20101224223620)
1293
-  (0.0ms) begin transaction
1294
-  (0.3ms) DROP TABLE "users"
1295
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223620'
1296
-  (0.7ms) commit transaction
1297
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1298
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1299
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1300
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1301
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1302
- Migrating to CreateUsers (20101224223620)
1303
-  (0.0ms) select sqlite_version(*)
1304
-  (0.0ms) begin transaction
1305
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255), "crypted_password" varchar(255), "salt" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1306
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223620')
1307
-  (2.8ms) commit transaction
1308
-  (1.0ms) DROP TABLE "users"
1309
-  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
1310
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1311
- Migrating to AddActivityLoggingToUsers (20101224223624)
1312
-  (0.0ms) begin transaction
1313
-  (0.4ms) ALTER TABLE "users" ADD "last_login_at" datetime DEFAULT NULL
1314
-  (0.1ms) ALTER TABLE "users" ADD "last_logout_at" datetime DEFAULT NULL
1315
-  (0.1ms) ALTER TABLE "users" ADD "last_activity_at" datetime DEFAULT NULL
1316
-  (0.1ms) ALTER TABLE "users" ADD "last_login_from_ip_address" varchar(255) DEFAULT NULL
1317
-  (0.0ms) PRAGMA index_list("users")
1318
-  (0.1ms) CREATE INDEX "index_users_on_last_logout_at_and_last_activity_at" ON "users" ("last_logout_at", "last_activity_at")
1319
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223624')
1320
-  (0.7ms) commit transaction
1321
-  (0.0ms) begin transaction
1322
-  (0.0ms) SAVEPOINT active_record_1
1323
- Binary data inserted for `string` type on column `crypted_password`
1324
- SQL (1.0ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$uQIGRa4yAaEWcboowsIiMu7xYELnG9ozDJ4roliZ0l7XzQ08qX2C6"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "j5mpEruL8LzMZJ754LUA"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1325
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1326
- SQL (0.0ms) DELETE FROM "users"
1327
-  (1.1ms) rollback transaction
1328
-  (0.1ms) begin transaction
1329
-  (0.0ms) SAVEPOINT active_record_1
1330
- Binary data inserted for `string` type on column `crypted_password`
1331
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$BoijAXzZoauzfpCKrcL9YOTy1sFnMC3Mnbg.dzCq8T.ajCUU2qeva"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "DySfAr5HEs1sxtzyzhq6"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1332
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1333
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:05' )
1334
- SQL (0.1ms) DELETE FROM "users"
1335
-  (0.6ms) rollback transaction
1336
-  (0.1ms) begin transaction
1337
-  (0.0ms) SAVEPOINT active_record_1
1338
- Binary data inserted for `string` type on column `crypted_password`
1339
- SQL (0.6ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$n52113F9gMTSgJVhJN.0ee241qc0j0Bwe9HVmJihxEMf2mLmQLftK"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "3NLP2cv1spSCyeHa8vMT"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1340
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1341
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:05.045331' WHERE "users"."id" = 1
1342
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1343
- SQL (0.0ms) DELETE FROM "users"
1344
-  (0.3ms) rollback transaction
1345
-  (0.0ms) begin transaction
1346
-  (0.0ms) SAVEPOINT active_record_1
1347
- Binary data inserted for `string` type on column `crypted_password`
1348
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$kRHbdxFO899hiaAb3I/Y3.hOMQEcq5wTOohyPktoY7qK72bH/HKrq"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "Gibze4bGAyXpVLpqrRdq"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1349
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1350
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:05.058303' WHERE "users"."id" = 1
1351
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1352
- SQL (0.1ms) UPDATE "users" SET "last_logout_at" = '2013-10-08 08:59:05.059133' WHERE "users"."id" = 1
1353
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1354
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1355
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1356
- SQL (0.0ms) DELETE FROM "users"
1357
-  (0.4ms) rollback transaction
1358
-  (0.0ms) begin transaction
1359
-  (0.0ms) SAVEPOINT active_record_1
1360
- Binary data inserted for `string` type on column `crypted_password`
1361
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$o4dB.63/JQ4q1KNT2oVOVex5dIzy7ve5WdvBBL1NGl6Zq7P8XqGGW"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "wjpz7zwfWxonpN9MPzeh"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1362
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1363
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:05.067437' WHERE "users"."id" = 1
1364
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1365
- Processing by ApplicationController#some_action as HTML
1366
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:05.077614' WHERE "users"."id" = 1
1367
- Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms)
1368
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1369
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1370
- SQL (0.0ms) DELETE FROM "users"
1371
-  (0.4ms) rollback transaction
1372
-  (0.0ms) begin transaction
1373
-  (0.0ms) SAVEPOINT active_record_1
1374
- Binary data inserted for `string` type on column `crypted_password`
1375
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$D4Ali70iiU6wformO8FOZuckjEoP1hBSMElQ8JfCT0lvJbq6YRTaO"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "wi6xQeAWnG36B7KB2kPT"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1376
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1377
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:05.086248' WHERE "users"."id" = 1
1378
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1379
- Processing by ApplicationController#some_action as HTML
1380
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:05.089114' WHERE "users"."id" = 1
1381
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
1382
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1383
- SQL (0.0ms) DELETE FROM "users"
1384
-  (0.4ms) rollback transaction
1385
-  (0.0ms) begin transaction
1386
-  (0.0ms) SAVEPOINT active_record_1
1387
- Binary data inserted for `string` type on column `crypted_password`
1388
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$Ct2P7SZKXtzfqNiETE97vOpTfIcJLkS32RLh3Xby/u5HsJBVlKWvq"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "eeMkehFbaum8ev8EDHp9"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1389
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1390
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1391
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:05.096386' WHERE "users"."id" = 1
1392
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1393
- Processing by ApplicationController#some_action_making_a_non_persisted_change_to_the_user as HTML
1394
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:05.098801' WHERE "users"."id" = 1
1395
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1396
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1397
- SQL (0.0ms) DELETE FROM "users"
1398
-  (0.4ms) rollback transaction
1399
-  (0.0ms) begin transaction
1400
-  (0.0ms) SAVEPOINT active_record_1
1401
- Binary data inserted for `string` type on column `crypted_password`
1402
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$EoqCDsdIj5qQBRUhLNe8meHAilYJeEGA3W0LLtD4H3p0./DLZoGxi"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "BGB6CzoUXpLn6vojoomP"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1403
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1404
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:05.105075' WHERE "users"."id" = 1
1405
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1406
- Processing by ApplicationController#some_action as HTML
1407
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:05.131491' WHERE "users"."id" = 1
1408
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1409
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:05' )
1410
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:05' )
1411
- SQL (0.0ms) DELETE FROM "users"
1412
-  (0.5ms) rollback transaction
1413
-  (0.1ms) begin transaction
1414
-  (0.0ms) SAVEPOINT active_record_1
1415
- Binary data inserted for `string` type on column `crypted_password`
1416
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$8GXYWJDu5pTzEFifmsdNvOqDz.m4SIFxReIwFg5GnXiy4gGZee1CG"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "fzBnZe3cKress2MdK9Uw"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1417
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1418
-  (0.0ms) SAVEPOINT active_record_1
1419
- Binary data inserted for `string` type on column `crypted_password`
1420
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$F9EpV1Dr0DGWxUtkqjbP.ODLlCJR.hO74kuWUa2K1v5sTuxeJ3/8q"], ["email", "bla1@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "V65cr95EapX78RFhypXe"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo1"]]
1421
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1422
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:05.142614' WHERE "users"."id" = 2
1423
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 2
1424
- Processing by ApplicationController#some_action as HTML
1425
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:05.144493' WHERE "users"."id" = 2
1426
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1427
-  (0.0ms) SAVEPOINT active_record_1
1428
- Binary data inserted for `string` type on column `crypted_password`
1429
- SQL (0.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$kBOf25Y.DXmtyJkkTsGDiOcKUhmDBFZhelC1KZtBonBuCC7ytA8z6"], ["email", "bla2@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "e4woB7p6HtsR241hyGJj"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo2"]]
1430
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1431
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:05.148138' WHERE "users"."id" = 3
1432
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 3
1433
- Processing by ApplicationController#some_action as HTML
1434
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:05.149183' WHERE "users"."id" = 3
1435
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1436
-  (0.0ms) SAVEPOINT active_record_1
1437
- Binary data inserted for `string` type on column `crypted_password`
1438
- SQL (0.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$Y9XD4PbItIi4Tu1H73/Gm.FMQZ8wBjXdW8it3Lrp2h0Hyys7qon2K"], ["email", "bla3@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "oP5MmZ6VHQ43UFGWybgy"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo3"]]
1439
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1440
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:05.152751' WHERE "users"."id" = 4
1441
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 4
1442
- Processing by ApplicationController#some_action as HTML
1443
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:05.153705' WHERE "users"."id" = 4
1444
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1445
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:05' )
1446
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:05' )
1447
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:05' )
1448
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:05' )
1449
- SQL (0.0ms) DELETE FROM "users"
1450
-  (0.4ms) rollback transaction
1451
-  (0.0ms) begin transaction
1452
-  (0.0ms) SAVEPOINT active_record_1
1453
- Binary data inserted for `string` type on column `crypted_password`
1454
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$sN8T/iHd3c6se1tjDYfvP.DySTVmGk6a4d/Gfxy3/6NU89Xul1lYK"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "LsWCiUsuafz4pRF41iNP"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1455
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1456
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1457
- SQL (0.0ms) DELETE FROM "users"
1458
-  (0.3ms) rollback transaction
1459
-  (0.0ms) begin transaction
1460
-  (0.0ms) SAVEPOINT active_record_1
1461
- Binary data inserted for `string` type on column `crypted_password`
1462
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$UuRybvbL9AKuBboYr9L.0O/UGMH2YVLC9X/l.DC6kszIhTWr2WRVy"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "z2TjyBuQQizPzTbhFFa3"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1463
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1464
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1465
- SQL (0.0ms) DELETE FROM "users"
1466
-  (0.4ms) rollback transaction
1467
-  (0.0ms) begin transaction
1468
-  (0.0ms) SAVEPOINT active_record_1
1469
- Binary data inserted for `string` type on column `crypted_password`
1470
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$OSt1qXsUi41UUz0KhokwNO3/M7ky1zisUUbX7rNHeBsoxKcUeFAwK"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "r2fENUzcE6GuucGrACfR"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1471
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1472
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1473
- Processing by ApplicationController#some_action as HTML
1474
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1475
- SQL (0.0ms) DELETE FROM "users"
1476
-  (0.3ms) rollback transaction
1477
-  (0.0ms) begin transaction
1478
-  (0.0ms) SAVEPOINT active_record_1
1479
- Binary data inserted for `string` type on column `crypted_password`
1480
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["crypted_password", "$2a$04$KdHJmXvmmW13mPLL9bzfKOp/BQMz2g7ci6JgfbdiAiaL4vuTFEHV2"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "oSfSFkpyqzsZiEbocqvc"], ["updated_at", Tue, 08 Oct 2013 08:59:05 UTC +00:00], ["username", "gizmo"]]
1481
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1482
- Processing by ApplicationController#some_action as HTML
1483
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1484
- SQL (0.0ms) DELETE FROM "users"
1485
-  (0.4ms) rollback transaction
1486
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1487
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1488
- Migrating to AddActivityLoggingToUsers (20101224223624)
1489
-  (0.0ms) begin transaction
1490
-  (0.0ms) PRAGMA index_list("users")
1491
-  (0.0ms) PRAGMA index_info('index_users_on_last_logout_at_and_last_activity_at')
1492
-  (0.2ms) DROP INDEX "index_users_on_last_logout_at_and_last_activity_at"
1493
-  (0.4ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar(255))
1494
-  (0.0ms) PRAGMA index_list("users")
1495
-  (0.0ms) SELECT * FROM "users"
1496
-  (0.2ms) DROP TABLE "users"
1497
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255))
1498
-  (0.0ms) PRAGMA index_list("altered_users")
1499
-  (0.0ms) SELECT * FROM "altered_users"
1500
-  (0.2ms) DROP TABLE "altered_users"
1501
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255))
1502
-  (0.0ms) PRAGMA index_list("users")
1503
-  (0.0ms) SELECT * FROM "users"
1504
-  (0.1ms) DROP TABLE "users"
1505
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255))
1506
-  (0.0ms) PRAGMA index_list("altered_users")
1507
-  (0.0ms) SELECT * FROM "altered_users"
1508
-  (0.1ms) DROP TABLE "altered_users"
1509
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255))
1510
-  (0.0ms) PRAGMA index_list("users")
1511
-  (0.0ms) SELECT * FROM "users"
1512
-  (0.1ms) DROP TABLE "users"
1513
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255))
1514
-  (0.0ms) PRAGMA index_list("altered_users")
1515
-  (0.0ms) SELECT * FROM "altered_users"
1516
-  (0.1ms) DROP TABLE "altered_users"
1517
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255))
1518
-  (0.0ms) PRAGMA index_list("users")
1519
-  (0.0ms) SELECT * FROM "users"
1520
-  (0.1ms) DROP TABLE "users"
1521
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
1522
-  (0.0ms) PRAGMA index_list("altered_users")
1523
-  (0.0ms) SELECT * FROM "altered_users"
1524
-  (0.1ms) DROP TABLE "altered_users"
1525
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223624'
1526
-  (1.0ms) commit transaction
1527
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1528
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1529
- Migrating to CreateUsers (20101224223620)
1530
-  (0.0ms) begin transaction
1531
-  (0.2ms) DROP TABLE "users"
1532
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223620'
1533
-  (0.7ms) commit transaction
1534
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1535
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1536
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1537
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_activity_logging_spec.rb:6)
1538
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1539
- Migrating to CreateUsers (20101224223620)
1540
-  (0.0ms) select sqlite_version(*)
1541
-  (0.0ms) begin transaction
1542
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255), "crypted_password" varchar(255), "salt" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1543
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223620')
1544
-  (2.3ms) commit transaction
1545
-  (1.0ms) DROP TABLE "users"
1546
-  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
1547
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1548
- Migrating to AddActivityLoggingToUsers (20101224223624)
1549
-  (0.0ms) begin transaction
1550
-  (0.4ms) ALTER TABLE "users" ADD "last_login_at" datetime DEFAULT NULL
1551
-  (0.1ms) ALTER TABLE "users" ADD "last_logout_at" datetime DEFAULT NULL
1552
-  (0.1ms) ALTER TABLE "users" ADD "last_activity_at" datetime DEFAULT NULL
1553
-  (0.1ms) ALTER TABLE "users" ADD "last_login_from_ip_address" varchar(255) DEFAULT NULL
1554
-  (0.0ms) PRAGMA index_list("users")
1555
-  (0.1ms) CREATE INDEX "index_users_on_last_logout_at_and_last_activity_at" ON "users" ("last_logout_at", "last_activity_at")
1556
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223624')
1557
-  (0.8ms) commit transaction
1558
-  (0.1ms) begin transaction
1559
-  (0.0ms) SAVEPOINT active_record_1
1560
- Binary data inserted for `string` type on column `crypted_password`
1561
- SQL (0.9ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$JVokHv9TxbD6Wrue8bxDae2wN/0rfarUwiXPQduFSYVvmU/ZDyzDy"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "6teVxB9ZRbzoyztqNDyx"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1562
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1563
- SQL (0.0ms) DELETE FROM "users"
1564
-  (1.0ms) rollback transaction
1565
-  (0.1ms) begin transaction
1566
-  (0.0ms) SAVEPOINT active_record_1
1567
- Binary data inserted for `string` type on column `crypted_password`
1568
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$Dw2J1abXbuHhsKVBS0lCA.bi83YCzFYakqCAVvG.Vzikt6pGdrEv2"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "5hGxn2aWQMFuxN2tCceJ"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1569
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1570
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:09' )
1571
- SQL (0.0ms) DELETE FROM "users"
1572
-  (0.4ms) rollback transaction
1573
-  (0.0ms) begin transaction
1574
-  (0.0ms) SAVEPOINT active_record_1
1575
- Binary data inserted for `string` type on column `crypted_password`
1576
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$vXfnY9Of6CPqvkSZthPAmugAPIGBHBRVxCbWXL5x9ODJUu4KopBye"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "LH6sGiK45EUkSBKGpxmP"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1577
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1578
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:09.045897' WHERE "users"."id" = 1
1579
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1580
- SQL (0.0ms) DELETE FROM "users"
1581
-  (0.4ms) rollback transaction
1582
-  (0.0ms) begin transaction
1583
-  (0.0ms) SAVEPOINT active_record_1
1584
- Binary data inserted for `string` type on column `crypted_password`
1585
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$G2GxmdNy3o6LAmZj.787QO248LoiAyWwPM7An0yfUdOIno82xZZ0G"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "qctUp5cwsgij52DpWFJN"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1586
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1587
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:09.056641' WHERE "users"."id" = 1
1588
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1589
- SQL (0.1ms) UPDATE "users" SET "last_logout_at" = '2013-10-08 08:59:09.057478' WHERE "users"."id" = 1
1590
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1591
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1592
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1593
- SQL (0.0ms) DELETE FROM "users"
1594
-  (0.5ms) rollback transaction
1595
-  (0.0ms) begin transaction
1596
-  (0.0ms) SAVEPOINT active_record_1
1597
- Binary data inserted for `string` type on column `crypted_password`
1598
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$Y3XBm0kCJk747bii04KsB.d9.2CJTlw0DcqQRvooJHiXqVCsJbyjW"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "dMzCN5iJrfK7t4vz8Wtp"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1599
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1600
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:09.066293' WHERE "users"."id" = 1
1601
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1602
- Processing by ApplicationController#some_action as HTML
1603
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:09.075958' WHERE "users"."id" = 1
1604
- Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.1ms)
1605
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1606
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1607
- SQL (0.0ms) DELETE FROM "users"
1608
-  (0.4ms) rollback transaction
1609
-  (0.0ms) begin transaction
1610
-  (0.0ms) SAVEPOINT active_record_1
1611
- Binary data inserted for `string` type on column `crypted_password`
1612
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$NlvBIdDLByNelAM6JGAx3ur4zeWp2fbsW/5Q4OjXzubnkCaLYrY8W"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "YCqzhzAkhf32HpTCjW7B"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1613
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1614
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:09.082868' WHERE "users"."id" = 1
1615
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1616
- Processing by ApplicationController#some_action as HTML
1617
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:09.085448' WHERE "users"."id" = 1
1618
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1619
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1620
- SQL (0.0ms) DELETE FROM "users"
1621
-  (0.4ms) rollback transaction
1622
-  (0.0ms) begin transaction
1623
-  (0.0ms) SAVEPOINT active_record_1
1624
- Binary data inserted for `string` type on column `crypted_password`
1625
- SQL (0.5ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$RljHIEbTRO3c68bn3ZpI3eO/Tcwha99Q0F53pzNmip4qnWvpCpsbm"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "MHxgYJg5dDBircCJtxag"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1626
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1627
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1628
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:09.092389' WHERE "users"."id" = 1
1629
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1630
- Processing by ApplicationController#some_action_making_a_non_persisted_change_to_the_user as HTML
1631
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:09.094659' WHERE "users"."id" = 1
1632
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1633
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
1634
- SQL (0.0ms) DELETE FROM "users"
1635
-  (0.4ms) rollback transaction
1636
-  (0.0ms) begin transaction
1637
-  (0.0ms) SAVEPOINT active_record_1
1638
- Binary data inserted for `string` type on column `crypted_password`
1639
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$aCryZhnehQyno4FvordcY.YMLWBtukmRozkZq3kL3HmykXGadCMb2"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "3Sy8wTtTQqmrbeqKsb6s"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1640
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1641
- SQL (0.1ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:09.100808' WHERE "users"."id" = 1
1642
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1643
- Processing by ApplicationController#some_action as HTML
1644
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:09.127579' WHERE "users"."id" = 1
1645
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
1646
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:09' )
1647
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:09' )
1648
- SQL (0.0ms) DELETE FROM "users"
1649
-  (0.4ms) rollback transaction
1650
-  (0.0ms) begin transaction
1651
-  (0.0ms) SAVEPOINT active_record_1
1652
- Binary data inserted for `string` type on column `crypted_password`
1653
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$gBP5JXErNcOWIm3P8RhM4.pBsf1/e5x09HXLKfoPbGJKgzCWVXTlq"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "WyzezktqvyVRSXPPqhx4"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1654
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1655
-  (0.0ms) SAVEPOINT active_record_1
1656
- Binary data inserted for `string` type on column `crypted_password`
1657
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$9kOHogFhtFSO5C5E8MD/ZeS4OnIRy3PHEIY0/4m2piVQRaqKImJTS"], ["email", "bla1@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "KjgDP28fJDYsJcp5xPGx"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo1"]]
1658
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1659
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:09.137884' WHERE "users"."id" = 2
1660
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 2
1661
- Processing by ApplicationController#some_action as HTML
1662
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:09.139842' WHERE "users"."id" = 2
1663
- Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1664
-  (0.0ms) SAVEPOINT active_record_1
1665
- Binary data inserted for `string` type on column `crypted_password`
1666
- SQL (0.2ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$hpxN.DPoQ.vPMBna0HWyaO5se17Rx3k2LQtaj2Ung3ZqC2CRcDT3i"], ["email", "bla2@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "zMT7aU7s9iUvi3EJD9Tw"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo2"]]
1667
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1668
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:09.143737' WHERE "users"."id" = 3
1669
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 3
1670
- Processing by ApplicationController#some_action as HTML
1671
- SQL (0.0ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:09.144984' WHERE "users"."id" = 3
1672
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1673
-  (0.0ms) SAVEPOINT active_record_1
1674
- Binary data inserted for `string` type on column `crypted_password`
1675
- SQL (0.2ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$JEbFjfDo7VGBz35V0hOwjuY6ZPE14qwJAGi3Y7EYml2.yMW2JQEta"], ["email", "bla3@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "vzvtFHLyqYBYn51o2DCT"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo3"]]
1676
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1677
- SQL (0.0ms) UPDATE "users" SET "last_login_at" = '2013-10-08 08:59:09.148582' WHERE "users"."id" = 4
1678
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 4
1679
- Processing by ApplicationController#some_action as HTML
1680
- SQL (0.1ms) UPDATE "users" SET "last_activity_at" = '2013-10-08 08:59:09.149626' WHERE "users"."id" = 4
1681
- Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.1ms)
1682
-  (0.1ms) SELECT COUNT(*) FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:09' )
1683
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:09' )
1684
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:09' )
1685
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE (last_activity_at IS NOT NULL) AND (last_logout_at IS NULL OR last_activity_at > last_logout_at) AND (last_activity_at > '2013-10-08 08:49:09' )
1686
- SQL (0.0ms) DELETE FROM "users"
1687
-  (0.5ms) rollback transaction
1688
-  (0.1ms) begin transaction
1689
-  (0.0ms) SAVEPOINT active_record_1
1690
- Binary data inserted for `string` type on column `crypted_password`
1691
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$oVqlBICn8Yys8tUbpC94QeFi/EbvwOv1fKyN09SEahk.gbjFvpLt6"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "zdXpD6EfPicYAL3ZpZ5p"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1692
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1693
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1694
- SQL (0.0ms) DELETE FROM "users"
1695
-  (0.3ms) rollback transaction
1696
-  (0.0ms) begin transaction
1697
-  (0.0ms) SAVEPOINT active_record_1
1698
- Binary data inserted for `string` type on column `crypted_password`
1699
- SQL (0.3ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$y899t0whwFgVR6UbCaK/2.LGG6bQnHUAh6I8bx/IOvqw8StKSj47u"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "HpuXGJFsh1j3fZA6u1Ak"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1700
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1701
- SQL (0.0ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1702
- SQL (0.0ms) DELETE FROM "users"
1703
-  (0.3ms) rollback transaction
1704
-  (0.0ms) begin transaction
1705
-  (0.0ms) SAVEPOINT active_record_1
1706
- Binary data inserted for `string` type on column `crypted_password`
1707
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$aWn327zspJrZxD1RtnU.quq/Rx2wVdEalpzagBZ1EFxEf.F/IJqRy"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "fj6kbC3Jx2SB6yjpa6xx"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1708
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1709
- SQL (0.1ms) UPDATE "users" SET "last_login_from_ip_address" = '0.0.0.0' WHERE "users"."id" = 1
1710
- Processing by ApplicationController#some_action as HTML
1711
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1712
- SQL (0.0ms) DELETE FROM "users"
1713
-  (0.4ms) rollback transaction
1714
-  (0.0ms) begin transaction
1715
-  (0.0ms) SAVEPOINT active_record_1
1716
- Binary data inserted for `string` type on column `crypted_password`
1717
- SQL (0.4ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "last_activity_at", "last_login_at", "last_login_from_ip_address", "last_logout_at", "salt", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["crypted_password", "$2a$04$GHUng4B55k1oRXup.tUy/OLLs7wnUco.iWm1yQ7eu20Lg2JAFmk9W"], ["email", "bla@bla.com"], ["last_activity_at", nil], ["last_login_at", nil], ["last_login_from_ip_address", nil], ["last_logout_at", nil], ["salt", "RcUc8gzCpXRG5U7qPPmF"], ["updated_at", Tue, 08 Oct 2013 08:59:09 UTC +00:00], ["username", "gizmo"]]
1718
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1719
- Processing by ApplicationController#some_action as HTML
1720
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1721
- SQL (0.0ms) DELETE FROM "users"
1722
-  (0.4ms) rollback transaction
1723
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1724
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1725
- Migrating to AddActivityLoggingToUsers (20101224223624)
1726
-  (0.0ms) begin transaction
1727
-  (0.0ms) PRAGMA index_list("users")
1728
-  (0.0ms) PRAGMA index_info('index_users_on_last_logout_at_and_last_activity_at')
1729
-  (0.2ms) DROP INDEX "index_users_on_last_logout_at_and_last_activity_at"
1730
-  (0.3ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar(255))
1731
-  (0.0ms) PRAGMA index_list("users")
1732
-  (0.0ms) SELECT * FROM "users"
1733
-  (0.2ms) DROP TABLE "users"
1734
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255))
1735
-  (0.0ms) PRAGMA index_list("altered_users")
1736
-  (0.0ms) SELECT * FROM "altered_users"
1737
-  (0.2ms) DROP TABLE "altered_users"
1738
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_logout_at" datetime, "last_login_from_ip_address" varchar(255))
1739
-  (0.0ms) PRAGMA index_list("users")
1740
-  (0.0ms) SELECT * FROM "users"
1741
-  (0.1ms) DROP TABLE "users"
1742
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255))
1743
-  (0.0ms) PRAGMA index_list("altered_users")
1744
-  (0.0ms) SELECT * FROM "altered_users"
1745
-  (0.1ms) DROP TABLE "altered_users"
1746
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_at" datetime, "last_login_from_ip_address" varchar(255))
1747
-  (0.0ms) PRAGMA index_list("users")
1748
-  (0.0ms) SELECT * FROM "users"
1749
-  (0.1ms) DROP TABLE "users"
1750
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255))
1751
-  (0.0ms) PRAGMA index_list("altered_users")
1752
-  (0.0ms) SELECT * FROM "altered_users"
1753
-  (0.1ms) DROP TABLE "altered_users"
1754
-  (0.1ms) CREATE TEMPORARY TABLE "altered_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255), "last_login_from_ip_address" varchar(255))
1755
-  (0.0ms) PRAGMA index_list("users")
1756
-  (0.0ms) SELECT * FROM "users"
1757
-  (0.1ms) DROP TABLE "users"
1758
-  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
1759
-  (0.0ms) PRAGMA index_list("altered_users")
1760
-  (0.0ms) SELECT * FROM "altered_users"
1761
-  (0.1ms) DROP TABLE "altered_users"
1762
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223624'
1763
-  (0.9ms) commit transaction
1764
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1765
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1766
- Migrating to CreateUsers (20101224223620)
1767
-  (0.0ms) begin transaction
1768
-  (0.2ms) DROP TABLE "users"
1769
-  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20101224223620'
1770
-  (0.8ms) commit transaction
1771
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::SetupAndTeardownAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_spec.rb:6)
1772
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::TestUnitAssertionAdapter instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_spec.rb:6)
1773
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ViewRendering instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_spec.rb:6)
1774
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSpec::Rails::ControllerExampleGroup instead. (called from <top (required)> at /Users/kir/Projects/opensource/sorcery/spec/models/controller_spec.rb:6)
1775
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1776
- Migrating to CreateUsers (20101224223620)
1777
-  (0.0ms) select sqlite_version(*)
1778
-  (0.0ms) begin transaction
1779
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255), "crypted_password" varchar(255), "salt" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1780
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101224223620')
1781
-  (2.5ms) commit transaction
1782
-  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255)) 
1783
- SQLite3::SQLException: table "users" already exists: CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "email" varchar(255), "crypted_password" varchar(255), "created_at" datetime, "updated_at" datetime, "salt" varchar(255))
1784
-  (0.8ms) DROP TABLE "users"
1785
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1786
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1787
- Migrating to CreateUsers (20101224223620)
1788
-  (0.0ms) begin transaction
1789
-  (0.1ms) DROP TABLE "users"
1790
- SQLite3::SQLException: no such table: users: DROP TABLE "users"
1791
-  (0.0ms) rollback transaction