sigame 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +41 -0
  3. data/Rakefile +29 -0
  4. data/app/controllers/followings_controller.rb +17 -0
  5. data/app/models/following.rb +22 -0
  6. data/config/routes.rb +5 -0
  7. data/db/migrate/20120808132126_create_followings.rb +13 -0
  8. data/lib/generators/sigame/install/USAGE +8 -0
  9. data/lib/generators/sigame/install/install_generator.rb +8 -0
  10. data/lib/sigame.rb +9 -0
  11. data/lib/sigame/engine.rb +15 -0
  12. data/lib/sigame/version.rb +3 -0
  13. data/lib/tasks/sigame_tasks.rake +4 -0
  14. data/spec/controllers/followings_controller_spec.rb +72 -0
  15. data/spec/dummy/README.rdoc +261 -0
  16. data/spec/dummy/Rakefile +7 -0
  17. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  18. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  19. data/spec/dummy/app/controllers/application_controller.rb +9 -0
  20. data/spec/dummy/app/controllers/home_controller.rb +4 -0
  21. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  22. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/spec/dummy/config.ru +4 -0
  24. data/spec/dummy/config/application.rb +65 -0
  25. data/spec/dummy/config/boot.rb +10 -0
  26. data/spec/dummy/config/database.yml +25 -0
  27. data/spec/dummy/config/environment.rb +5 -0
  28. data/spec/dummy/config/environments/development.rb +37 -0
  29. data/spec/dummy/config/environments/production.rb +67 -0
  30. data/spec/dummy/config/environments/test.rb +37 -0
  31. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  32. data/spec/dummy/config/initializers/inflections.rb +15 -0
  33. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  34. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  35. data/spec/dummy/config/initializers/session_store.rb +8 -0
  36. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  37. data/spec/dummy/config/locales/en.yml +5 -0
  38. data/spec/dummy/config/routes.rb +60 -0
  39. data/spec/dummy/db/development.sqlite3 +0 -0
  40. data/spec/dummy/db/schema.rb +27 -0
  41. data/spec/dummy/db/test.sqlite3 +0 -0
  42. data/spec/dummy/log/development.log +206 -0
  43. data/spec/dummy/log/test.log +2333 -0
  44. data/spec/dummy/public/404.html +26 -0
  45. data/spec/dummy/public/422.html +26 -0
  46. data/spec/dummy/public/500.html +25 -0
  47. data/spec/dummy/public/favicon.ico +0 -0
  48. data/spec/dummy/script/rails +6 -0
  49. data/spec/factories.rb +7 -0
  50. data/spec/models/following_spec.rb +52 -0
  51. data/spec/routing/followings_routing_spec.rb +15 -0
  52. data/spec/spec_helper.rb +41 -0
  53. data/spec/support/user.rb +7 -0
  54. metadata +240 -0
@@ -0,0 +1,27 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended to check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(:version => 20120808132126) do
15
+
16
+ create_table "followings", :force => true do |t|
17
+ t.integer "user_id"
18
+ t.integer "followed_id"
19
+ t.datetime "created_at", :null => false
20
+ t.datetime "updated_at", :null => false
21
+ end
22
+
23
+ add_index "followings", ["followed_id"], :name => "index_followings_on_followed_id"
24
+ add_index "followings", ["user_id", "followed_id"], :name => "index_followings_on_user_id_and_followed_id", :unique => true
25
+ add_index "followings", ["user_id"], :name => "index_followings_on_user_id"
26
+
27
+ end
@@ -0,0 +1,206 @@
1
+ Connecting to database specified by database.yml
2
+  (0.2ms) select sqlite_version(*)
3
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
+ Migrating to CreateFollowings (20120808132126)
7
+  (0.1ms) begin transaction
8
+  (0.7ms) CREATE TABLE "followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "followed_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
9
+  (0.2ms) CREATE INDEX "index_followings_on_user_id" ON "followings" ("user_id")
10
+  (0.2ms) CREATE INDEX "index_followings_on_followed_id" ON "followings" ("followed_id")
11
+  (0.5ms) CREATE UNIQUE INDEX "index_followings_on_user_id_and_followed_id" ON "followings" ("user_id", "followed_id")
12
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120808132126')
13
+  (0.8ms) commit transaction
14
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
15
+ Connecting to database specified by database.yml
16
+  (1.4ms) select sqlite_version(*)
17
+  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
18
+  (0.3ms) select sqlite_version(*)
19
+  (0.9ms) CREATE TABLE "followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "followed_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
20
+  (0.9ms) CREATE INDEX "index_followings_on_followed_id" ON "followings" ("followed_id")
21
+  (1.5ms) CREATE UNIQUE INDEX "index_followings_on_user_id_and_followed_id" ON "followings" ("user_id", "followed_id")
22
+  (0.9ms) CREATE INDEX "index_followings_on_user_id" ON "followings" ("user_id")
23
+  (2.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
24
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
25
+  (0.1ms) SELECT version FROM "schema_migrations"
26
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120808132126')
27
+
28
+
29
+ Started GET "/" for 127.0.0.1 at 2012-12-05 15:03:34 -0200
30
+ Connecting to database specified by database.yml
31
+
32
+ ActionController::RoutingError (No route matches [GET] "/"):
33
+ actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
34
+ actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
35
+ railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
36
+ railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
37
+ activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
38
+ railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
39
+ actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
40
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
41
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
42
+ activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
43
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
44
+ actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
45
+ railties (3.2.9) lib/rails/engine.rb:479:in `call'
46
+ railties (3.2.9) lib/rails/application.rb:223:in `call'
47
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
48
+ railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
49
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
50
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
51
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
52
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
53
+
54
+
55
+ Rendered /Users/lunks/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.8ms)
56
+
57
+
58
+ Started GET "/" for 127.0.0.1 at 2012-12-05 15:03:59 -0200
59
+ Connecting to database specified by database.yml
60
+
61
+ ActionController::RoutingError (No route matches [GET] "/"):
62
+ actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
63
+ actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
64
+ railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
65
+ railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
66
+ activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
67
+ railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
68
+ actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
69
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
70
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
71
+ activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
72
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
73
+ actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
74
+ railties (3.2.9) lib/rails/engine.rb:479:in `call'
75
+ railties (3.2.9) lib/rails/application.rb:223:in `call'
76
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
77
+ railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
78
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
79
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
80
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
81
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
82
+
83
+
84
+ Rendered /Users/lunks/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.3ms)
85
+
86
+
87
+ Started GET "/" for 127.0.0.1 at 2012-12-05 15:04:15 -0200
88
+ Connecting to database specified by database.yml
89
+
90
+ ActionController::RoutingError (No route matches [GET] "/"):
91
+ actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
92
+ actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
93
+ railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
94
+ railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
95
+ activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
96
+ railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
97
+ actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
98
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
99
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
100
+ activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
101
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
102
+ actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
103
+ railties (3.2.9) lib/rails/engine.rb:479:in `call'
104
+ railties (3.2.9) lib/rails/application.rb:223:in `call'
105
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
106
+ railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
107
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
108
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
109
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
110
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
111
+
112
+
113
+ Rendered /Users/lunks/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms)
114
+
115
+
116
+ Started GET "/home/index" for 127.0.0.1 at 2012-12-05 15:04:16 -0200
117
+ Processing by HomeController#index as HTML
118
+ Completed 500 Internal Server Error in 1ms
119
+
120
+ NoMethodError (undefined method `pry' for #<Binding:0x007fc5752874a8>):
121
+ app/controllers/application_controller.rb:9:in `current_user'
122
+ app/controllers/application_controller.rb:5:in `authenticate!'
123
+
124
+
125
+ Rendered /Users/lunks/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
126
+ Rendered /Users/lunks/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
127
+ Rendered /Users/lunks/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.7ms)
128
+
129
+
130
+ Started GET "/home/index" for 127.0.0.1 at 2012-12-05 15:04:34 -0200
131
+ Connecting to database specified by database.yml
132
+ Processing by HomeController#index as HTML
133
+ Rendered home/index.html.erb within layouts/application (2.3ms)
134
+ Completed 200 OK in 66515ms (Views: 46.0ms | ActiveRecord: 0.0ms)
135
+
136
+
137
+ Started GET "/javascripts/application.js" for 127.0.0.1 at 2012-12-05 15:05:41 -0200
138
+
139
+ ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"):
140
+ actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
141
+ actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
142
+ railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
143
+ railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
144
+ activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
145
+ railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
146
+ actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
147
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
148
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
149
+ activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
150
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
151
+ actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
152
+ railties (3.2.9) lib/rails/engine.rb:479:in `call'
153
+ railties (3.2.9) lib/rails/application.rb:223:in `call'
154
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
155
+ railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
156
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
157
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
158
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
159
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
160
+
161
+
162
+ Rendered /Users/lunks/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
163
+
164
+
165
+ Started GET "/stylesheets/application.css" for 127.0.0.1 at 2012-12-05 15:05:41 -0200
166
+
167
+ ActionController::RoutingError (No route matches [GET] "/stylesheets/application.css"):
168
+ actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
169
+ actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
170
+ railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
171
+ railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
172
+ activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
173
+ railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
174
+ actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
175
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
176
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
177
+ activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
178
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
179
+ actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
180
+ railties (3.2.9) lib/rails/engine.rb:479:in `call'
181
+ railties (3.2.9) lib/rails/application.rb:223:in `call'
182
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
183
+ railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
184
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
185
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
186
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
187
+ /Users/lunks/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
188
+
189
+
190
+ Rendered /Users/lunks/.rvm/gems/ruby-1.9.3-p327/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
191
+ Connecting to database specified by database.yml
192
+  (1.5ms) select sqlite_version(*)
193
+  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
194
+  (0.3ms) select sqlite_version(*)
195
+  (1.2ms) CREATE TABLE "followings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "followed_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
196
+  (1.0ms) CREATE INDEX "index_followings_on_followed_id" ON "followings" ("followed_id")
197
+  (1.0ms) CREATE UNIQUE INDEX "index_followings_on_user_id_and_followed_id" ON "followings" ("user_id", "followed_id")
198
+  (1.0ms) CREATE INDEX "index_followings_on_user_id" ON "followings" ("user_id")
199
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
200
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
201
+  (0.1ms) SELECT version FROM "schema_migrations"
202
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20120808132126')
203
+ Connecting to database specified by database.yml
204
+ Connecting to database specified by database.yml
205
+ Connecting to database specified by database.yml
206
+ Connecting to database specified by database.yml
@@ -0,0 +1,2333 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+ Connecting to database specified by database.yml
6
+ Connecting to database specified by database.yml
7
+ Connecting to database specified by database.yml
8
+  (0.3ms) begin transaction
9
+  (0.0ms) rollback transaction
10
+  (0.0ms) begin transaction
11
+  (0.0ms) rollback transaction
12
+  (0.0ms) begin transaction
13
+  (0.0ms) rollback transaction
14
+  (0.0ms) begin transaction
15
+  (0.0ms) rollback transaction
16
+  (0.0ms) begin transaction
17
+  (0.0ms) rollback transaction
18
+  (0.1ms) begin transaction
19
+  (0.0ms) rollback transaction
20
+  (0.0ms) begin transaction
21
+  (0.0ms) rollback transaction
22
+  (0.0ms) begin transaction
23
+  (0.1ms) rollback transaction
24
+  (0.1ms) begin transaction
25
+  (0.0ms) rollback transaction
26
+  (0.1ms) begin transaction
27
+  (0.0ms) rollback transaction
28
+  (0.0ms) begin transaction
29
+  (0.0ms) rollback transaction
30
+ Connecting to database specified by database.yml
31
+ Connecting to database specified by database.yml
32
+ Connecting to database specified by database.yml
33
+  (1.1ms) select sqlite_version(*)
34
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer)
35
+  (0.1ms) begin transaction
36
+  (0.0ms) rollback transaction
37
+  (0.1ms) begin transaction
38
+  (0.0ms) rollback transaction
39
+  (0.1ms) begin transaction
40
+  (0.0ms) rollback transaction
41
+  (0.1ms) begin transaction
42
+  (0.0ms) rollback transaction
43
+  (0.1ms) begin transaction
44
+  (23.9ms) rollback transaction
45
+  (0.1ms) begin transaction
46
+  (0.0ms) rollback transaction
47
+  (0.1ms) begin transaction
48
+  (0.0ms) rollback transaction
49
+  (0.1ms) begin transaction
50
+  (0.0ms) rollback transaction
51
+  (0.1ms) begin transaction
52
+  (0.1ms) SAVEPOINT active_record_1
53
+ SQL (7.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
54
+  (0.1ms) RELEASE SAVEPOINT active_record_1
55
+  (0.3ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+  (0.1ms) SAVEPOINT active_record_1
58
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
59
+  (0.1ms) RELEASE SAVEPOINT active_record_1
60
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
61
+  (0.0ms) SAVEPOINT active_record_1
62
+ SQL (0.5ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
63
+  (0.1ms) RELEASE SAVEPOINT active_record_1
64
+  (0.5ms) rollback transaction
65
+  (0.1ms) begin transaction
66
+  (0.1ms) SAVEPOINT active_record_1
67
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
68
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69
+  (0.0ms) SAVEPOINT active_record_1
70
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
71
+  (0.1ms) RELEASE SAVEPOINT active_record_1
72
+  (0.4ms) rollback transaction
73
+ Connecting to database specified by database.yml
74
+  (1.4ms) select sqlite_version(*)
75
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer)
76
+ SQLite3::SQLException: table "users" already exists: CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer)
77
+ Connecting to database specified by database.yml
78
+  (1.4ms) select sqlite_version(*)
79
+  (0.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer)
80
+ SQLite3::SQLException: table "users" already exists: CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer)
81
+ Connecting to database specified by database.yml
82
+  (1.1ms) select sqlite_version(*)
83
+  (1.0ms) DROP TABLE "users"
84
+  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer) 
85
+  (0.1ms) begin transaction
86
+  (0.0ms) rollback transaction
87
+  (0.1ms) begin transaction
88
+  (0.0ms) rollback transaction
89
+  (0.1ms) begin transaction
90
+  (0.0ms) rollback transaction
91
+  (0.1ms) begin transaction
92
+  (0.0ms) rollback transaction
93
+  (0.1ms) begin transaction
94
+  (0.1ms) rollback transaction
95
+  (0.1ms) begin transaction
96
+  (0.0ms) rollback transaction
97
+  (0.1ms) begin transaction
98
+  (0.0ms) rollback transaction
99
+  (0.1ms) begin transaction
100
+  (0.1ms) SAVEPOINT active_record_1
101
+ SQL (6.7ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
102
+  (0.1ms) RELEASE SAVEPOINT active_record_1
103
+  (0.4ms) rollback transaction
104
+  (0.1ms) begin transaction
105
+  (0.1ms) SAVEPOINT active_record_1
106
+ SQL (0.8ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
108
+  (0.1ms) SAVEPOINT active_record_1
109
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
110
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
111
+  (0.4ms) rollback transaction
112
+  (0.1ms) begin transaction
113
+  (0.1ms) SAVEPOINT active_record_1
114
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
116
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
117
+  (0.1ms) SAVEPOINT active_record_1
118
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
120
+  (0.1ms) SAVEPOINT active_record_1
121
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
122
+ SQL (2.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:32:52 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 16:32:52 UTC +00:00], ["user_id", 2]]
123
+  (0.2ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
125
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
126
+  (0.5ms) rollback transaction
127
+  (0.1ms) begin transaction
128
+  (0.1ms) SAVEPOINT active_record_1
129
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
131
+  (0.1ms) SAVEPOINT active_record_1
132
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
134
+  (0.1ms) SAVEPOINT active_record_1
135
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
136
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:32:52 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 16:32:52 UTC +00:00], ["user_id", 1]]
137
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
139
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
140
+  (0.1ms) SAVEPOINT active_record_1
141
+ SQL (0.3ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
142
+  (0.2ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
144
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
145
+  (0.4ms) rollback transaction
146
+ Connecting to database specified by database.yml
147
+  (23.8ms) select sqlite_version(*)
148
+  (1.2ms) DROP TABLE "users"
149
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer) 
150
+  (0.1ms) begin transaction
151
+  (0.1ms) rollback transaction
152
+  (0.1ms) begin transaction
153
+  (0.1ms) rollback transaction
154
+  (0.1ms) begin transaction
155
+  (0.1ms) rollback transaction
156
+  (0.1ms) begin transaction
157
+  (0.0ms) rollback transaction
158
+  (0.1ms) begin transaction
159
+  (0.0ms) rollback transaction
160
+  (0.0ms) begin transaction
161
+  (0.0ms) rollback transaction
162
+  (0.0ms) begin transaction
163
+  (0.0ms) rollback transaction
164
+  (0.1ms) begin transaction
165
+  (0.1ms) SAVEPOINT active_record_1
166
+ SQL (6.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
168
+  (0.4ms) rollback transaction
169
+  (0.1ms) begin transaction
170
+  (0.1ms) SAVEPOINT active_record_1
171
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
172
+  (0.1ms) RELEASE SAVEPOINT active_record_1
173
+  (0.1ms) SAVEPOINT active_record_1
174
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
175
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
176
+  (0.3ms) rollback transaction
177
+  (0.1ms) begin transaction
178
+  (0.0ms) SAVEPOINT active_record_1
179
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
181
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
182
+  (0.1ms) SAVEPOINT active_record_1
183
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
185
+  (0.0ms) SAVEPOINT active_record_1
186
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
187
+ SQL (1.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:34:49 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 16:34:49 UTC +00:00], ["user_id", 2]]
188
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
190
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
191
+  (0.4ms) rollback transaction
192
+  (0.1ms) begin transaction
193
+  (0.0ms) SAVEPOINT active_record_1
194
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
196
+  (0.0ms) SAVEPOINT active_record_1
197
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
199
+  (0.1ms) SAVEPOINT active_record_1
200
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
201
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:34:49 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 16:34:49 UTC +00:00], ["user_id", 1]]
202
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
204
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
205
+  (0.1ms) SAVEPOINT active_record_1
206
+ SQL (0.2ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
207
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
208
+  (0.1ms) RELEASE SAVEPOINT active_record_1
209
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
210
+  (0.5ms) rollback transaction
211
+ Connecting to database specified by database.yml
212
+  (1.6ms) select sqlite_version(*)
213
+  (0.9ms) DROP TABLE "users"
214
+  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer) 
215
+  (0.1ms) begin transaction
216
+ Following Exists (2.0ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
217
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
218
+  (0.1ms) rollback transaction
219
+  (0.1ms) begin transaction
220
+  (0.0ms) rollback transaction
221
+  (0.2ms) begin transaction
222
+  (0.1ms) rollback transaction
223
+  (0.1ms) begin transaction
224
+  (0.0ms) rollback transaction
225
+  (0.1ms) begin transaction
226
+  (0.0ms) rollback transaction
227
+  (0.1ms) begin transaction
228
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
229
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
230
+  (0.1ms) rollback transaction
231
+  (0.1ms) begin transaction
232
+  (0.0ms) rollback transaction
233
+  (0.0ms) begin transaction
234
+  (0.1ms) SAVEPOINT active_record_1
235
+ SQL (2.6ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
237
+  (0.4ms) rollback transaction
238
+  (0.1ms) begin transaction
239
+  (0.1ms) SAVEPOINT active_record_1
240
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
242
+  (0.1ms) SAVEPOINT active_record_1
243
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
244
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
245
+  (0.4ms) rollback transaction
246
+  (0.1ms) begin transaction
247
+  (0.1ms) SAVEPOINT active_record_1
248
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
249
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
251
+  (0.1ms) SAVEPOINT active_record_1
252
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
254
+  (0.1ms) SAVEPOINT active_record_1
255
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
256
+ SQL (1.1ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:35:46 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 16:35:46 UTC +00:00], ["user_id", 2]]
257
+  (0.2ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
259
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
260
+  (0.5ms) rollback transaction
261
+  (0.1ms) begin transaction
262
+  (0.0ms) SAVEPOINT active_record_1
263
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
265
+  (0.0ms) SAVEPOINT active_record_1
266
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
267
+  (0.0ms) RELEASE SAVEPOINT active_record_1
268
+  (0.0ms) SAVEPOINT active_record_1
269
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
270
+ SQL (0.3ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:35:46 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 16:35:46 UTC +00:00], ["user_id", 1]]
271
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
273
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
274
+  (0.1ms) SAVEPOINT active_record_1
275
+ SQL (0.2ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
276
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
278
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
279
+  (0.4ms) rollback transaction
280
+ Connecting to database specified by database.yml
281
+  (1.7ms) select sqlite_version(*)
282
+  (1.0ms) DROP TABLE "users"
283
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer) 
284
+  (0.1ms) begin transaction
285
+  (0.1ms) rollback transaction
286
+  (0.1ms) begin transaction
287
+ Following Exists (2.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
288
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
289
+  (0.1ms) rollback transaction
290
+  (0.1ms) begin transaction
291
+  (0.0ms) rollback transaction
292
+  (0.1ms) begin transaction
293
+  (0.1ms) rollback transaction
294
+  (0.1ms) begin transaction
295
+  (0.0ms) rollback transaction
296
+  (0.1ms) begin transaction
297
+ Following Exists (0.3ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
298
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
299
+  (0.1ms) rollback transaction
300
+  (0.1ms) begin transaction
301
+  (0.0ms) rollback transaction
302
+  (0.1ms) begin transaction
303
+  (0.1ms) SAVEPOINT active_record_1
304
+ SQL (3.0ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
306
+  (0.1ms) SAVEPOINT active_record_1
307
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
309
+  (0.1ms) SAVEPOINT active_record_1
310
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
311
+ SQL (1.2ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:36:09 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 16:36:09 UTC +00:00], ["user_id", 1]]
312
+  (0.2ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
314
+ Following Load (0.2ms) SELECT "followings".* FROM "followings" LIMIT 1
315
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
316
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
317
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
318
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
319
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
320
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
321
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
322
+  (0.5ms) rollback transaction
323
+  (0.1ms) begin transaction
324
+  (0.1ms) SAVEPOINT active_record_1
325
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
327
+  (0.1ms) SAVEPOINT active_record_1
328
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
329
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
330
+  (0.4ms) rollback transaction
331
+  (0.1ms) begin transaction
332
+  (0.1ms) SAVEPOINT active_record_1
333
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
334
+  (0.1ms) RELEASE SAVEPOINT active_record_1
335
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
336
+  (0.1ms) SAVEPOINT active_record_1
337
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
339
+  (0.1ms) SAVEPOINT active_record_1
340
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
341
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:36:09 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 16:36:09 UTC +00:00], ["user_id", 2]]
342
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
343
+  (0.1ms) RELEASE SAVEPOINT active_record_1
344
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
345
+  (0.4ms) rollback transaction
346
+  (0.1ms) begin transaction
347
+  (0.0ms) SAVEPOINT active_record_1
348
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
350
+  (0.1ms) SAVEPOINT active_record_1
351
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", nil]]
352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
353
+  (0.0ms) SAVEPOINT active_record_1
354
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
355
+ SQL (0.3ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:36:09 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 16:36:09 UTC +00:00], ["user_id", 1]]
356
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
358
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
359
+  (0.0ms) SAVEPOINT active_record_1
360
+ SQL (0.2ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
361
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
363
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
364
+  (0.5ms) rollback transaction
365
+ Connecting to database specified by database.yml
366
+  (1.6ms) select sqlite_version(*)
367
+  (1.1ms) DROP TABLE "users"
368
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0) 
369
+  (0.1ms) begin transaction
370
+  (0.1ms) rollback transaction
371
+  (0.1ms) begin transaction
372
+  (0.0ms) rollback transaction
373
+  (0.1ms) begin transaction
374
+ Following Exists (2.0ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
375
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
376
+  (0.1ms) rollback transaction
377
+  (0.1ms) begin transaction
378
+  (0.0ms) rollback transaction
379
+  (0.1ms) begin transaction
380
+  (0.1ms) rollback transaction
381
+  (0.1ms) begin transaction
382
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
383
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
384
+  (0.1ms) rollback transaction
385
+  (0.1ms) begin transaction
386
+  (0.1ms) rollback transaction
387
+  (0.1ms) begin transaction
388
+  (0.1ms) SAVEPOINT active_record_1
389
+ SQL (0.5ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
391
+  (0.1ms) SAVEPOINT active_record_1
392
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
393
+  (0.1ms) RELEASE SAVEPOINT active_record_1
394
+  (0.1ms) SAVEPOINT active_record_1
395
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
396
+ SQL (1.1ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:36:45 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 16:36:45 UTC +00:00], ["user_id", 1]]
397
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
399
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
400
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
401
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
402
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
403
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
404
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
405
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
406
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
407
+  (0.4ms) rollback transaction
408
+  (0.1ms) begin transaction
409
+  (0.1ms) SAVEPOINT active_record_1
410
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
412
+  (0.0ms) SAVEPOINT active_record_1
413
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
414
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
415
+  (0.3ms) rollback transaction
416
+  (0.1ms) begin transaction
417
+  (0.0ms) SAVEPOINT active_record_1
418
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
420
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
421
+  (0.0ms) SAVEPOINT active_record_1
422
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
424
+  (0.1ms) SAVEPOINT active_record_1
425
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
426
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:36:45 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 16:36:45 UTC +00:00], ["user_id", 2]]
427
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
429
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
430
+  (0.5ms) rollback transaction
431
+  (0.1ms) begin transaction
432
+  (0.0ms) SAVEPOINT active_record_1
433
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
435
+  (0.0ms) SAVEPOINT active_record_1
436
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
437
+  (0.0ms) RELEASE SAVEPOINT active_record_1
438
+  (0.0ms) SAVEPOINT active_record_1
439
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
440
+ SQL (0.3ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 16:36:45 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 16:36:45 UTC +00:00], ["user_id", 1]]
441
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
442
+  (0.0ms) RELEASE SAVEPOINT active_record_1
443
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
444
+  (0.0ms) SAVEPOINT active_record_1
445
+ SQL (0.2ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
446
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
448
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
449
+  (0.5ms) rollback transaction
450
+ Connecting to database specified by database.yml
451
+ Connecting to database specified by database.yml
452
+ Connecting to database specified by database.yml
453
+ Connecting to database specified by database.yml
454
+ Connecting to database specified by database.yml
455
+ Connecting to database specified by database.yml
456
+ Connecting to database specified by database.yml
457
+  (2.2ms) select sqlite_version(*)
458
+  (1.3ms) DROP TABLE "users"
459
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0) 
460
+  (0.1ms) begin transaction
461
+ Following Exists (2.7ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
462
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
463
+  (0.1ms) rollback transaction
464
+  (0.2ms) begin transaction
465
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
466
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
467
+  (0.1ms) rollback transaction
468
+  (0.1ms) begin transaction
469
+  (0.1ms) rollback transaction
470
+  (0.1ms) begin transaction
471
+  (0.1ms) rollback transaction
472
+  (0.1ms) begin transaction
473
+  (0.1ms) rollback transaction
474
+  (0.1ms) begin transaction
475
+  (0.0ms) rollback transaction
476
+  (0.1ms) begin transaction
477
+  (0.0ms) rollback transaction
478
+  (0.1ms) begin transaction
479
+  (0.1ms) SAVEPOINT active_record_1
480
+ SQL (0.5ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
482
+  (0.0ms) SAVEPOINT active_record_1
483
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
485
+  (0.0ms) SAVEPOINT active_record_1
486
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
487
+ SQL (2.2ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:14:26 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:14:26 UTC +00:00], ["user_id", 1]]
488
+  (0.2ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
490
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
491
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
492
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
493
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
494
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
495
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
496
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
497
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
498
+  (0.5ms) rollback transaction
499
+  (0.1ms) begin transaction
500
+  (0.1ms) SAVEPOINT active_record_1
501
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
502
+  (0.1ms) RELEASE SAVEPOINT active_record_1
503
+  (0.1ms) SAVEPOINT active_record_1
504
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
505
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
506
+  (0.5ms) rollback transaction
507
+  (0.1ms) begin transaction
508
+  (0.1ms) SAVEPOINT active_record_1
509
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
511
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
512
+  (0.1ms) SAVEPOINT active_record_1
513
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
515
+  (0.1ms) SAVEPOINT active_record_1
516
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
517
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:14:26 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 17:14:26 UTC +00:00], ["user_id", 2]]
518
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
520
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
521
+  (0.4ms) rollback transaction
522
+  (0.1ms) begin transaction
523
+  (0.0ms) SAVEPOINT active_record_1
524
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
526
+  (0.0ms) SAVEPOINT active_record_1
527
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
528
+  (0.0ms) RELEASE SAVEPOINT active_record_1
529
+  (0.0ms) SAVEPOINT active_record_1
530
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
531
+ SQL (0.3ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:14:26 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:14:26 UTC +00:00], ["user_id", 1]]
532
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
534
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
535
+  (0.0ms) SAVEPOINT active_record_1
536
+ SQL (0.2ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
537
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
539
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
540
+  (0.5ms) rollback transaction
541
+ Connecting to database specified by database.yml
542
+  (1.1ms) select sqlite_version(*)
543
+  (3.0ms) DROP TABLE "users"
544
+  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0) 
545
+  (0.1ms) begin transaction
546
+ Following Exists (1.3ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
547
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
548
+  (0.1ms) rollback transaction
549
+  (0.1ms) begin transaction
550
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
551
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
552
+  (0.1ms) rollback transaction
553
+  (0.1ms) begin transaction
554
+  (0.0ms) rollback transaction
555
+  (0.1ms) begin transaction
556
+  (0.1ms) rollback transaction
557
+  (0.1ms) begin transaction
558
+  (0.0ms) rollback transaction
559
+  (0.1ms) begin transaction
560
+  (0.0ms) rollback transaction
561
+  (0.1ms) begin transaction
562
+  (0.0ms) rollback transaction
563
+  (0.1ms) begin transaction
564
+  (0.0ms) SAVEPOINT active_record_1
565
+ SQL (0.5ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
567
+  (0.1ms) SAVEPOINT active_record_1
568
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
570
+  (0.1ms) SAVEPOINT active_record_1
571
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
572
+ SQL (1.2ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:14:31 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:14:31 UTC +00:00], ["user_id", 1]]
573
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
574
+  (0.1ms) RELEASE SAVEPOINT active_record_1
575
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
576
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
577
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
578
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
579
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
580
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
581
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
582
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
583
+  (0.5ms) rollback transaction
584
+  (0.1ms) begin transaction
585
+  (0.1ms) SAVEPOINT active_record_1
586
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
588
+  (0.1ms) SAVEPOINT active_record_1
589
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
590
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
591
+  (0.4ms) rollback transaction
592
+  (0.1ms) begin transaction
593
+  (0.1ms) SAVEPOINT active_record_1
594
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
595
+  (0.1ms) RELEASE SAVEPOINT active_record_1
596
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
597
+  (0.1ms) SAVEPOINT active_record_1
598
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
599
+  (0.1ms) RELEASE SAVEPOINT active_record_1
600
+  (0.1ms) SAVEPOINT active_record_1
601
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
602
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:14:31 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 17:14:31 UTC +00:00], ["user_id", 2]]
603
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
605
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
606
+  (0.4ms) rollback transaction
607
+  (0.1ms) begin transaction
608
+  (0.0ms) SAVEPOINT active_record_1
609
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
611
+  (0.0ms) SAVEPOINT active_record_1
612
+ SQL (0.2ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
613
+  (0.1ms) RELEASE SAVEPOINT active_record_1
614
+  (0.0ms) SAVEPOINT active_record_1
615
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
616
+ SQL (0.3ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:14:31 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:14:31 UTC +00:00], ["user_id", 1]]
617
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
618
+  (0.0ms) RELEASE SAVEPOINT active_record_1
619
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
620
+  (0.0ms) SAVEPOINT active_record_1
621
+ SQL (0.2ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
622
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
624
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
625
+  (0.4ms) rollback transaction
626
+ Connecting to database specified by database.yml
627
+  (1.5ms) select sqlite_version(*)
628
+  (1.0ms) DROP TABLE "users"
629
+  (1.0ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0) 
630
+ Connecting to database specified by database.yml
631
+  (1.9ms) select sqlite_version(*)
632
+  (1.1ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0)
633
+  (0.1ms) begin transaction
634
+ Following Exists (2.8ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
635
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
636
+  (0.1ms) rollback transaction
637
+  (0.1ms) begin transaction
638
+  (0.0ms) rollback transaction
639
+  (0.1ms) begin transaction
640
+  (0.0ms) rollback transaction
641
+  (0.1ms) begin transaction
642
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
643
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
644
+  (0.1ms) rollback transaction
645
+  (0.1ms) begin transaction
646
+  (0.1ms) rollback transaction
647
+  (0.1ms) begin transaction
648
+  (0.1ms) rollback transaction
649
+  (0.1ms) begin transaction
650
+  (0.1ms) rollback transaction
651
+  (0.1ms) begin transaction
652
+  (0.1ms) SAVEPOINT active_record_1
653
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
654
+  (0.1ms) RELEASE SAVEPOINT active_record_1
655
+  (0.0ms) SAVEPOINT active_record_1
656
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
658
+  (0.1ms) SAVEPOINT active_record_1
659
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
660
+ SQL (2.0ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:15:32 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:15:32 UTC +00:00], ["user_id", 1]]
661
+  (0.2ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
663
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
664
+  (0.1ms) SAVEPOINT active_record_1
665
+ SQL (0.6ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
666
+  (0.2ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
668
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
669
+  (0.6ms) rollback transaction
670
+  (0.1ms) begin transaction
671
+  (0.1ms) SAVEPOINT active_record_1
672
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
674
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
675
+  (0.1ms) SAVEPOINT active_record_1
676
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
678
+  (0.1ms) SAVEPOINT active_record_1
679
+ Following Exists (0.3ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
680
+ SQL (0.7ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:15:32 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 17:15:32 UTC +00:00], ["user_id", 2]]
681
+  (0.2ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
683
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
684
+  (0.5ms) rollback transaction
685
+  (0.1ms) begin transaction
686
+  (0.1ms) SAVEPOINT active_record_1
687
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
689
+  (0.1ms) SAVEPOINT active_record_1
690
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
691
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
692
+  (0.2ms) rollback transaction
693
+  (0.1ms) begin transaction
694
+  (0.1ms) SAVEPOINT active_record_1
695
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
696
+  (0.0ms) RELEASE SAVEPOINT active_record_1
697
+  (0.0ms) SAVEPOINT active_record_1
698
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
699
+  (0.0ms) RELEASE SAVEPOINT active_record_1
700
+  (0.0ms) SAVEPOINT active_record_1
701
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
702
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:15:32 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:15:32 UTC +00:00], ["user_id", 1]]
703
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
704
+  (0.0ms) RELEASE SAVEPOINT active_record_1
705
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
706
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
707
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
708
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
709
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
710
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
711
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
712
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
713
+  (0.5ms) rollback transaction
714
+ Connecting to database specified by database.yml
715
+  (1.7ms) select sqlite_version(*)
716
+  (1.0ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0)
717
+  (0.1ms) begin transaction
718
+  (0.0ms) rollback transaction
719
+  (0.1ms) begin transaction
720
+  (0.1ms) rollback transaction
721
+  (0.1ms) begin transaction
722
+  (0.0ms) rollback transaction
723
+  (0.1ms) begin transaction
724
+  (0.1ms) rollback transaction
725
+  (0.1ms) begin transaction
726
+  (0.0ms) rollback transaction
727
+  (0.1ms) begin transaction
728
+  (0.1ms) rollback transaction
729
+  (0.1ms) begin transaction
730
+  (0.1ms) rollback transaction
731
+  (0.1ms) begin transaction
732
+  (0.1ms) rollback transaction
733
+  (0.1ms) begin transaction
734
+  (0.1ms) SAVEPOINT active_record_1
735
+ SQL (2.6ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
736
+  (0.1ms) RELEASE SAVEPOINT active_record_1
737
+  (0.2ms) rollback transaction
738
+  (0.1ms) begin transaction
739
+  (0.1ms) SAVEPOINT active_record_1
740
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
741
+  (0.1ms) RELEASE SAVEPOINT active_record_1
742
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
743
+  (0.1ms) SAVEPOINT active_record_1
744
+ SQL (0.4ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
745
+  (0.1ms) RELEASE SAVEPOINT active_record_1
746
+  (0.1ms) rollback transaction
747
+  (0.1ms) begin transaction
748
+  (0.1ms) SAVEPOINT active_record_1
749
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
750
+  (0.1ms) RELEASE SAVEPOINT active_record_1
751
+  (0.0ms) SAVEPOINT active_record_1
752
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
754
+  (0.1ms) rollback transaction
755
+ Connecting to database specified by database.yml
756
+  (1.6ms) select sqlite_version(*)
757
+  (1.0ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0)
758
+  (0.1ms) begin transaction
759
+  (0.1ms) rollback transaction
760
+  (0.1ms) begin transaction
761
+  (0.0ms) rollback transaction
762
+  (0.1ms) begin transaction
763
+  (0.0ms) rollback transaction
764
+  (0.1ms) begin transaction
765
+ Following Exists (1.8ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
766
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
767
+  (0.1ms) rollback transaction
768
+  (0.1ms) begin transaction
769
+  (0.0ms) rollback transaction
770
+  (0.1ms) begin transaction
771
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
772
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
773
+  (0.1ms) rollback transaction
774
+  (0.1ms) begin transaction
775
+  (0.0ms) rollback transaction
776
+  (0.0ms) begin transaction
777
+  (0.0ms) SAVEPOINT active_record_1
778
+ SQL (0.2ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
780
+  (0.0ms) SAVEPOINT active_record_1
781
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
783
+  (0.0ms) SAVEPOINT active_record_1
784
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
785
+ SQL (1.9ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:17:21 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:17:21 UTC +00:00], ["user_id", 1]]
786
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
788
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
789
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
790
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
791
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
792
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
793
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
794
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
795
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
796
+  (0.5ms) rollback transaction
797
+  (0.1ms) begin transaction
798
+  (0.1ms) SAVEPOINT active_record_1
799
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
800
+  (0.1ms) RELEASE SAVEPOINT active_record_1
801
+  (0.1ms) SAVEPOINT active_record_1
802
+ Following Exists (0.3ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
803
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
804
+  (0.1ms) rollback transaction
805
+  (0.1ms) begin transaction
806
+  (0.0ms) SAVEPOINT active_record_1
807
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
809
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
810
+  (0.1ms) SAVEPOINT active_record_1
811
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
812
+  (0.1ms) RELEASE SAVEPOINT active_record_1
813
+  (0.0ms) SAVEPOINT active_record_1
814
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
815
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:17:21 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 17:17:21 UTC +00:00], ["user_id", 2]]
816
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
818
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
819
+  (0.5ms) rollback transaction
820
+  (0.1ms) begin transaction
821
+  (0.1ms) SAVEPOINT active_record_1
822
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
824
+  (0.0ms) SAVEPOINT active_record_1
825
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
826
+  (0.1ms) RELEASE SAVEPOINT active_record_1
827
+  (0.1ms) SAVEPOINT active_record_1
828
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
829
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:17:21 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:17:21 UTC +00:00], ["user_id", 1]]
830
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
832
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
833
+  (0.0ms) SAVEPOINT active_record_1
834
+ SQL (0.4ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
835
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
836
+  (0.0ms) RELEASE SAVEPOINT active_record_1
837
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
838
+  (0.4ms) rollback transaction
839
+ Connecting to database specified by database.yml
840
+  (1.1ms) select sqlite_version(*)
841
+  (0.8ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0)
842
+  (0.1ms) begin transaction
843
+  (0.1ms) rollback transaction
844
+  (0.1ms) begin transaction
845
+  (0.0ms) rollback transaction
846
+  (0.1ms) begin transaction
847
+  (0.0ms) rollback transaction
848
+  (0.1ms) begin transaction
849
+  (0.0ms) rollback transaction
850
+  (0.1ms) begin transaction
851
+  (0.0ms) rollback transaction
852
+  (0.1ms) begin transaction
853
+ Following Exists (1.4ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
854
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
855
+  (0.1ms) rollback transaction
856
+  (0.1ms) begin transaction
857
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
858
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
859
+  (0.1ms) rollback transaction
860
+  (0.1ms) begin transaction
861
+  (0.1ms) SAVEPOINT active_record_1
862
+ SQL (0.2ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
864
+  (0.0ms) SAVEPOINT active_record_1
865
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
867
+  (0.1ms) SAVEPOINT active_record_1
868
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
869
+ SQL (1.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:17:27 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:17:27 UTC +00:00], ["user_id", 1]]
870
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
872
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
873
+  (0.0ms) SAVEPOINT active_record_1
874
+ SQL (0.4ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
875
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
876
+  (0.0ms) RELEASE SAVEPOINT active_record_1
877
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
878
+  (0.4ms) rollback transaction
879
+  (0.1ms) begin transaction
880
+  (0.0ms) SAVEPOINT active_record_1
881
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
883
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
884
+  (0.0ms) SAVEPOINT active_record_1
885
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
886
+  (0.1ms) RELEASE SAVEPOINT active_record_1
887
+  (0.1ms) SAVEPOINT active_record_1
888
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
889
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:17:27 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 17:17:27 UTC +00:00], ["user_id", 2]]
890
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
891
+  (0.0ms) RELEASE SAVEPOINT active_record_1
892
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
893
+  (0.4ms) rollback transaction
894
+  (0.1ms) begin transaction
895
+  (0.0ms) SAVEPOINT active_record_1
896
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
898
+  (0.0ms) SAVEPOINT active_record_1
899
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
900
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
901
+  (0.1ms) rollback transaction
902
+  (0.1ms) begin transaction
903
+  (0.0ms) SAVEPOINT active_record_1
904
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
905
+  (0.0ms) RELEASE SAVEPOINT active_record_1
906
+  (0.0ms) SAVEPOINT active_record_1
907
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
909
+  (0.0ms) SAVEPOINT active_record_1
910
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
911
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:17:27 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:17:27 UTC +00:00], ["user_id", 1]]
912
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
913
+  (0.1ms) RELEASE SAVEPOINT active_record_1
914
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
915
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
916
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
917
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
918
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
919
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
920
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
921
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
922
+  (0.4ms) rollback transaction
923
+ Connecting to database specified by database.yml
924
+  (1.6ms) select sqlite_version(*)
925
+  (1.0ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0)
926
+ Connecting to database specified by database.yml
927
+  (1.0ms) select sqlite_version(*)
928
+  (0.7ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0)
929
+  (0.1ms) begin transaction
930
+  (0.1ms) rollback transaction
931
+  (0.1ms) begin transaction
932
+ Following Exists (2.0ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
933
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
934
+  (0.1ms) rollback transaction
935
+  (0.1ms) begin transaction
936
+  (0.0ms) rollback transaction
937
+  (0.1ms) begin transaction
938
+  (0.1ms) rollback transaction
939
+  (0.1ms) begin transaction
940
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
941
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
942
+  (0.1ms) rollback transaction
943
+  (0.1ms) begin transaction
944
+  (0.0ms) rollback transaction
945
+  (0.1ms) begin transaction
946
+  (0.0ms) rollback transaction
947
+  (0.1ms) begin transaction
948
+  (0.1ms) SAVEPOINT active_record_1
949
+ SQL (0.2ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
951
+  (0.0ms) SAVEPOINT active_record_1
952
+ SQL (0.3ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
954
+  (0.1ms) SAVEPOINT active_record_1
955
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
956
+ SQL (1.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:18:51 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:18:51 UTC +00:00], ["user_id", 1]]
957
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
959
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
960
+  (0.0ms) SAVEPOINT active_record_1
961
+ SQL (0.4ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
962
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
964
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
965
+  (0.4ms) rollback transaction
966
+  (0.1ms) begin transaction
967
+  (0.0ms) SAVEPOINT active_record_1
968
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
969
+  (0.1ms) RELEASE SAVEPOINT active_record_1
970
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
971
+  (0.0ms) SAVEPOINT active_record_1
972
+ SQL (0.0ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
974
+  (0.1ms) SAVEPOINT active_record_1
975
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
976
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:18:51 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 17:18:51 UTC +00:00], ["user_id", 2]]
977
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
979
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
980
+  (0.4ms) rollback transaction
981
+  (0.1ms) begin transaction
982
+  (0.0ms) SAVEPOINT active_record_1
983
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
984
+  (0.1ms) RELEASE SAVEPOINT active_record_1
985
+  (0.1ms) SAVEPOINT active_record_1
986
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
987
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
988
+  (0.1ms) rollback transaction
989
+  (0.1ms) begin transaction
990
+  (0.0ms) SAVEPOINT active_record_1
991
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
992
+  (0.1ms) RELEASE SAVEPOINT active_record_1
993
+  (0.0ms) SAVEPOINT active_record_1
994
+ SQL (0.1ms) INSERT INTO "users" ("followers_count") VALUES (?) [["followers_count", 0]]
995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
996
+  (0.0ms) SAVEPOINT active_record_1
997
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
998
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:18:51 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:18:51 UTC +00:00], ["user_id", 1]]
999
+  (0.2ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1000
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1001
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
1002
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1003
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1004
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1005
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1006
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1007
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
1008
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
1009
+  (0.4ms) rollback transaction
1010
+  (0.1ms) begin transaction
1011
+  (0.1ms) rollback transaction
1012
+  (0.1ms) begin transaction
1013
+  (0.1ms) rollback transaction
1014
+  (0.1ms) begin transaction
1015
+  (0.1ms) rollback transaction
1016
+  (0.1ms) begin transaction
1017
+  (0.1ms) rollback transaction
1018
+  (0.1ms) begin transaction
1019
+  (0.1ms) rollback transaction
1020
+  (0.1ms) begin transaction
1021
+  (0.1ms) rollback transaction
1022
+  (0.1ms) begin transaction
1023
+  (0.1ms) rollback transaction
1024
+  (0.1ms) begin transaction
1025
+  (0.1ms) rollback transaction
1026
+  (0.1ms) begin transaction
1027
+  (0.2ms) SELECT COUNT(*) FROM "followings" 
1028
+  (0.1ms) rollback transaction
1029
+  (0.0ms) begin transaction
1030
+  (0.0ms) rollback transaction
1031
+  (0.1ms) begin transaction
1032
+  (0.0ms) rollback transaction
1033
+ Connecting to database specified by database.yml
1034
+  (1.4ms) select sqlite_version(*)
1035
+  (0.7ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0, "name" varchar(255))
1036
+  (0.1ms) begin transaction
1037
+  (0.1ms) SAVEPOINT active_record_1
1038
+ SQL (1.5ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1040
+  (0.1ms) rollback transaction
1041
+  (0.0ms) begin transaction
1042
+  (0.0ms) SAVEPOINT active_record_1
1043
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1045
+  (0.1ms) rollback transaction
1046
+  (0.1ms) begin transaction
1047
+  (0.1ms) SAVEPOINT active_record_1
1048
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1049
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1050
+  (0.1ms) rollback transaction
1051
+  (0.1ms) begin transaction
1052
+  (0.1ms) SELECT COUNT(*) FROM "followings" 
1053
+  (0.0ms) SAVEPOINT active_record_1
1054
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1056
+  (0.1ms) rollback transaction
1057
+  (0.0ms) begin transaction
1058
+  (0.1ms) SAVEPOINT active_record_1
1059
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1061
+  (0.1ms) rollback transaction
1062
+  (0.1ms) begin transaction
1063
+  (0.1ms) SAVEPOINT active_record_1
1064
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1066
+  (0.1ms) rollback transaction
1067
+  (0.1ms) begin transaction
1068
+  (0.1ms) rollback transaction
1069
+  (0.1ms) begin transaction
1070
+  (0.0ms) rollback transaction
1071
+  (0.1ms) begin transaction
1072
+  (0.0ms) rollback transaction
1073
+  (0.0ms) begin transaction
1074
+  (0.0ms) rollback transaction
1075
+  (0.0ms) begin transaction
1076
+  (0.0ms) rollback transaction
1077
+  (0.0ms) begin transaction
1078
+  (0.1ms) rollback transaction
1079
+  (0.0ms) begin transaction
1080
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1081
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1082
+  (0.1ms) rollback transaction
1083
+  (0.1ms) begin transaction
1084
+  (0.0ms) rollback transaction
1085
+  (0.0ms) begin transaction
1086
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1087
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1088
+  (0.0ms) rollback transaction
1089
+  (0.0ms) begin transaction
1090
+  (0.0ms) rollback transaction
1091
+  (0.0ms) begin transaction
1092
+  (0.0ms) rollback transaction
1093
+  (0.0ms) begin transaction
1094
+  (0.0ms) rollback transaction
1095
+  (0.0ms) begin transaction
1096
+  (0.1ms) SAVEPOINT active_record_1
1097
+ SQL (0.2ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1098
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1099
+  (0.1ms) SAVEPOINT active_record_1
1100
+ SQL (0.4ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1102
+  (0.1ms) SAVEPOINT active_record_1
1103
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1104
+ SQL (1.1ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:19:41 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:19:41 UTC +00:00], ["user_id", 1]]
1105
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1107
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
1108
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1109
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1110
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1111
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1112
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1113
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
1114
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
1115
+  (0.5ms) rollback transaction
1116
+  (0.1ms) begin transaction
1117
+  (0.0ms) SAVEPOINT active_record_1
1118
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1120
+  (0.0ms) SAVEPOINT active_record_1
1121
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 1) LIMIT 1
1122
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1123
+  (0.1ms) rollback transaction
1124
+  (0.1ms) begin transaction
1125
+  (0.0ms) SAVEPOINT active_record_1
1126
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1128
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1129
+  (0.1ms) SAVEPOINT active_record_1
1130
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1132
+  (0.0ms) SAVEPOINT active_record_1
1133
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 1 AND "followings"."user_id" = 2) LIMIT 1
1134
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:19:41 UTC +00:00], ["followed_id", 1], ["updated_at", Wed, 05 Dec 2012 17:19:41 UTC +00:00], ["user_id", 2]]
1135
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 1
1136
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1137
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
1138
+  (0.4ms) rollback transaction
1139
+  (0.1ms) begin transaction
1140
+  (0.0ms) SAVEPOINT active_record_1
1141
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1143
+  (0.0ms) SAVEPOINT active_record_1
1144
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1146
+  (0.1ms) SAVEPOINT active_record_1
1147
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1148
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:19:41 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:19:41 UTC +00:00], ["user_id", 1]]
1149
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1151
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1152
+  (0.1ms) SAVEPOINT active_record_1
1153
+ SQL (0.4ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1154
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1155
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1156
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1157
+  (0.5ms) rollback transaction
1158
+ Connecting to database specified by database.yml
1159
+  (0.9ms) select sqlite_version(*)
1160
+  (1.0ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0, "name" varchar(255))
1161
+ Connecting to database specified by database.yml
1162
+  (1.4ms) select sqlite_version(*)
1163
+  (0.8ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0, "name" varchar(255))
1164
+ Connecting to database specified by database.yml
1165
+  (1.0ms) select sqlite_version(*)
1166
+  (0.9ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0, "name" varchar(255))
1167
+  (0.1ms) begin transaction
1168
+ SQL (2.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1169
+  (0.1ms) commit transaction
1170
+  (0.1ms) begin transaction
1171
+  (0.1ms) SELECT COUNT(*) FROM "followings" 
1172
+  (0.1ms) SAVEPOINT active_record_1
1173
+ SQL (0.2ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1175
+  (0.1ms) rollback transaction
1176
+  (0.1ms) begin transaction
1177
+  (0.1ms) SAVEPOINT active_record_1
1178
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1180
+  (0.1ms) rollback transaction
1181
+  (0.1ms) begin transaction
1182
+  (0.1ms) SAVEPOINT active_record_1
1183
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1185
+  (0.1ms) rollback transaction
1186
+  (0.0ms) begin transaction
1187
+  (0.0ms) SAVEPOINT active_record_1
1188
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1190
+  (0.1ms) rollback transaction
1191
+  (0.0ms) begin transaction
1192
+  (0.0ms) SAVEPOINT active_record_1
1193
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1195
+  (0.1ms) rollback transaction
1196
+  (0.0ms) begin transaction
1197
+  (0.0ms) SAVEPOINT active_record_1
1198
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1200
+  (0.1ms) rollback transaction
1201
+  (0.1ms) begin transaction
1202
+  (0.1ms) SAVEPOINT active_record_1
1203
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1205
+  (0.1ms) SAVEPOINT active_record_1
1206
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1207
+ SQL (1.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["user_id", 1]]
1208
+  (0.4ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1210
+  (0.1ms) SELECT COUNT(*) FROM "followings"
1211
+  (0.4ms) rollback transaction
1212
+  (0.1ms) begin transaction
1213
+  (0.1ms) SAVEPOINT active_record_1
1214
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1216
+  (0.1ms) SAVEPOINT active_record_1
1217
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1218
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["user_id", 1]]
1219
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1221
+  (0.4ms) rollback transaction
1222
+  (0.1ms) begin transaction
1223
+  (0.1ms) SAVEPOINT active_record_1
1224
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1226
+  (0.1ms) SAVEPOINT active_record_1
1227
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1228
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["user_id", 1]]
1229
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1230
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1231
+  (0.4ms) rollback transaction
1232
+  (0.1ms) begin transaction
1233
+  (0.0ms) SAVEPOINT active_record_1
1234
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1236
+  (0.0ms) SAVEPOINT active_record_1
1237
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1238
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["user_id", 1]]
1239
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1241
+  (0.4ms) rollback transaction
1242
+  (0.1ms) begin transaction
1243
+  (0.0ms) SAVEPOINT active_record_1
1244
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1245
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1246
+  (0.1ms) SAVEPOINT active_record_1
1247
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1248
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["user_id", 1]]
1249
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1250
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1251
+  (0.4ms) rollback transaction
1252
+  (0.1ms) begin transaction
1253
+  (0.1ms) rollback transaction
1254
+  (0.1ms) begin transaction
1255
+  (0.0ms) rollback transaction
1256
+  (0.1ms) begin transaction
1257
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1258
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1259
+  (0.1ms) rollback transaction
1260
+  (0.1ms) begin transaction
1261
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1262
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1263
+  (0.0ms) rollback transaction
1264
+  (0.1ms) begin transaction
1265
+  (0.1ms) rollback transaction
1266
+  (0.1ms) begin transaction
1267
+  (0.1ms) rollback transaction
1268
+  (0.1ms) begin transaction
1269
+  (0.1ms) rollback transaction
1270
+  (0.1ms) begin transaction
1271
+  (0.1ms) SAVEPOINT active_record_1
1272
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1274
+  (0.1ms) SAVEPOINT active_record_1
1275
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1276
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1277
+  (0.0ms) SAVEPOINT active_record_1
1278
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1279
+ SQL (0.7ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["followed_id", 3], ["updated_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["user_id", 2]]
1280
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 3
1281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1282
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
1283
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1284
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1285
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1286
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1287
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1288
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 3) LIMIT 1
1289
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 3) LIMIT 1
1290
+  (0.4ms) rollback transaction
1291
+  (0.1ms) begin transaction
1292
+  (0.0ms) SAVEPOINT active_record_1
1293
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1295
+  (0.1ms) SAVEPOINT active_record_1
1296
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
1297
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1298
+  (0.1ms) rollback transaction
1299
+  (0.0ms) begin transaction
1300
+  (0.0ms) SAVEPOINT active_record_1
1301
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1303
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1304
+  (0.0ms) SAVEPOINT active_record_1
1305
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1307
+  (0.0ms) SAVEPOINT active_record_1
1308
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 3) LIMIT 1
1309
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["user_id", 3]]
1310
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1312
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1313
+  (0.5ms) rollback transaction
1314
+  (0.1ms) begin transaction
1315
+  (0.1ms) SAVEPOINT active_record_1
1316
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1318
+  (0.0ms) SAVEPOINT active_record_1
1319
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1321
+  (0.1ms) SAVEPOINT active_record_1
1322
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1323
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["followed_id", 3], ["updated_at", Wed, 05 Dec 2012 17:21:23 UTC +00:00], ["user_id", 2]]
1324
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 3
1325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1326
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1327
+  (0.0ms) SAVEPOINT active_record_1
1328
+ SQL (0.5ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1329
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 3
1330
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1331
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1332
+  (0.5ms) rollback transaction
1333
+ Connecting to database specified by database.yml
1334
+  (1.0ms) select sqlite_version(*)
1335
+  (1.0ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0, "name" varchar(255))
1336
+  (0.1ms) begin transaction
1337
+ SQL (2.6ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1338
+  (0.1ms) commit transaction
1339
+  (0.1ms) begin transaction
1340
+  (0.0ms) SAVEPOINT active_record_1
1341
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1343
+ Processing by FollowingsController#create as HTML
1344
+ Parameters: {"user_id"=>"2"}
1345
+ Completed 500 Internal Server Error in 1ms
1346
+  (0.1ms) rollback transaction
1347
+  (0.1ms) begin transaction
1348
+  (0.1ms) SAVEPOINT active_record_1
1349
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1350
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1351
+ Processing by FollowingsController#create as HTML
1352
+ Parameters: {"user_id"=>"2"}
1353
+ Completed 500 Internal Server Error in 0ms
1354
+  (0.1ms) rollback transaction
1355
+  (0.1ms) begin transaction
1356
+  (0.1ms) SAVEPOINT active_record_1
1357
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1358
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1359
+ Processing by FollowingsController#create as HTML
1360
+ Parameters: {"user_id"=>"2"}
1361
+ Completed 500 Internal Server Error in 0ms
1362
+  (0.1ms) rollback transaction
1363
+  (0.1ms) begin transaction
1364
+  (0.1ms) SELECT COUNT(*) FROM "followings"
1365
+  (0.1ms) SAVEPOINT active_record_1
1366
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1368
+ Processing by FollowingsController#create as HTML
1369
+ Parameters: {"user_id"=>"2"}
1370
+ Completed 500 Internal Server Error in 0ms
1371
+  (0.1ms) rollback transaction
1372
+  (0.1ms) begin transaction
1373
+  (0.1ms) SAVEPOINT active_record_1
1374
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1376
+ Processing by FollowingsController#create as HTML
1377
+ Parameters: {"user_id"=>"2"}
1378
+ Completed 500 Internal Server Error in 0ms
1379
+  (0.1ms) rollback transaction
1380
+  (0.1ms) begin transaction
1381
+  (0.1ms) SAVEPOINT active_record_1
1382
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1384
+ Processing by FollowingsController#create as HTML
1385
+ Parameters: {"user_id"=>"2"}
1386
+ Completed 500 Internal Server Error in 0ms
1387
+  (0.1ms) rollback transaction
1388
+  (0.1ms) begin transaction
1389
+  (0.1ms) SAVEPOINT active_record_1
1390
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1392
+  (0.1ms) SAVEPOINT active_record_1
1393
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1394
+ SQL (1.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:22:07 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:22:07 UTC +00:00], ["user_id", 1]]
1395
+  (0.3ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1396
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1397
+ Processing by FollowingsController#destroy as HTML
1398
+ Parameters: {"user_id"=>"2"}
1399
+ Completed 500 Internal Server Error in 0ms
1400
+  (0.4ms) rollback transaction
1401
+  (0.1ms) begin transaction
1402
+  (0.0ms) SAVEPOINT active_record_1
1403
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1405
+  (0.0ms) SAVEPOINT active_record_1
1406
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1407
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:22:07 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:22:07 UTC +00:00], ["user_id", 1]]
1408
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1409
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1410
+ Processing by FollowingsController#destroy as HTML
1411
+ Parameters: {"user_id"=>"2"}
1412
+ Completed 500 Internal Server Error in 0ms
1413
+  (0.4ms) rollback transaction
1414
+  (0.1ms) begin transaction
1415
+  (0.0ms) SAVEPOINT active_record_1
1416
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1418
+  (0.0ms) SAVEPOINT active_record_1
1419
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1420
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:22:07 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:22:07 UTC +00:00], ["user_id", 1]]
1421
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1422
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1423
+ Processing by FollowingsController#destroy as HTML
1424
+ Parameters: {"user_id"=>"2"}
1425
+ Completed 500 Internal Server Error in 0ms
1426
+  (0.4ms) rollback transaction
1427
+  (0.0ms) begin transaction
1428
+  (0.0ms) SAVEPOINT active_record_1
1429
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1431
+  (0.1ms) SAVEPOINT active_record_1
1432
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1433
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:22:07 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:22:07 UTC +00:00], ["user_id", 1]]
1434
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1436
+  (0.1ms) SELECT COUNT(*) FROM "followings"
1437
+ Processing by FollowingsController#destroy as HTML
1438
+ Parameters: {"user_id"=>"2"}
1439
+ Completed 500 Internal Server Error in 0ms
1440
+  (0.4ms) rollback transaction
1441
+  (0.1ms) begin transaction
1442
+  (0.1ms) SAVEPOINT active_record_1
1443
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1445
+  (0.0ms) SAVEPOINT active_record_1
1446
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1447
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:22:07 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:22:07 UTC +00:00], ["user_id", 1]]
1448
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1450
+ Processing by FollowingsController#destroy as HTML
1451
+ Parameters: {"user_id"=>"2"}
1452
+ Completed 500 Internal Server Error in 0ms
1453
+  (0.4ms) rollback transaction
1454
+  (0.1ms) begin transaction
1455
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1456
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1457
+  (0.0ms) rollback transaction
1458
+  (0.1ms) begin transaction
1459
+  (0.0ms) rollback transaction
1460
+  (0.1ms) begin transaction
1461
+  (0.1ms) rollback transaction
1462
+  (0.1ms) begin transaction
1463
+  (0.1ms) rollback transaction
1464
+  (0.1ms) begin transaction
1465
+  (0.1ms) rollback transaction
1466
+  (0.1ms) begin transaction
1467
+  (0.1ms) rollback transaction
1468
+  (0.1ms) begin transaction
1469
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1470
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1471
+  (0.1ms) rollback transaction
1472
+  (0.1ms) begin transaction
1473
+  (0.1ms) SAVEPOINT active_record_1
1474
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1476
+  (0.1ms) SAVEPOINT active_record_1
1477
+ SQL (0.2ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1478
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1479
+  (0.1ms) SAVEPOINT active_record_1
1480
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1481
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:22:08 UTC +00:00], ["followed_id", 3], ["updated_at", Wed, 05 Dec 2012 17:22:08 UTC +00:00], ["user_id", 2]]
1482
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 3
1483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1484
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
1485
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1486
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1487
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1488
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1489
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1490
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 3) LIMIT 1
1491
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 3) LIMIT 1
1492
+  (0.4ms) rollback transaction
1493
+  (0.1ms) begin transaction
1494
+  (0.1ms) SAVEPOINT active_record_1
1495
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1496
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1497
+  (0.1ms) SAVEPOINT active_record_1
1498
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
1499
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1500
+  (0.2ms) rollback transaction
1501
+  (0.1ms) begin transaction
1502
+  (0.1ms) SAVEPOINT active_record_1
1503
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1504
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1505
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1506
+  (0.0ms) SAVEPOINT active_record_1
1507
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1509
+  (0.0ms) SAVEPOINT active_record_1
1510
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 3) LIMIT 1
1511
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:22:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:22:08 UTC +00:00], ["user_id", 3]]
1512
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1514
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
1515
+  (0.4ms) rollback transaction
1516
+  (0.1ms) begin transaction
1517
+  (0.0ms) SAVEPOINT active_record_1
1518
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1520
+  (0.0ms) SAVEPOINT active_record_1
1521
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1523
+  (0.0ms) SAVEPOINT active_record_1
1524
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1525
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:22:08 UTC +00:00], ["followed_id", 3], ["updated_at", Wed, 05 Dec 2012 17:22:08 UTC +00:00], ["user_id", 2]]
1526
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 3
1527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1528
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1529
+  (0.1ms) SAVEPOINT active_record_1
1530
+ SQL (0.5ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1531
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 3
1532
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1533
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
1534
+  (0.5ms) rollback transaction
1535
+ Connecting to database specified by database.yml
1536
+  (1.0ms) select sqlite_version(*)
1537
+  (1.0ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0, "name" varchar(255))
1538
+  (0.1ms) begin transaction
1539
+ SQL (2.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1540
+  (0.1ms) commit transaction
1541
+  (0.1ms) begin transaction
1542
+  (0.1ms) SAVEPOINT active_record_1
1543
+ SQL (0.2ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1544
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1545
+ Processing by FollowingsController#create as HTML
1546
+ Parameters: {"user_id"=>"2"}
1547
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1548
+  (0.1ms) SAVEPOINT active_record_1
1549
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1550
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1551
+ SQL (1.7ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1552
+  (0.3ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1553
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1554
+ Redirected to
1555
+ Completed 500 Internal Server Error in 52ms
1556
+  (0.4ms) rollback transaction
1557
+  (0.1ms) begin transaction
1558
+  (0.1ms) SAVEPOINT active_record_1
1559
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1560
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1561
+ Processing by FollowingsController#create as HTML
1562
+ Parameters: {"user_id"=>"2"}
1563
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1564
+  (0.1ms) SAVEPOINT active_record_1
1565
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1566
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1567
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1568
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1570
+ Redirected to
1571
+ Completed 500 Internal Server Error in 8ms
1572
+  (0.4ms) rollback transaction
1573
+  (0.1ms) begin transaction
1574
+  (0.0ms) SAVEPOINT active_record_1
1575
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1577
+ Processing by FollowingsController#create as HTML
1578
+ Parameters: {"user_id"=>"2"}
1579
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1580
+  (0.0ms) SAVEPOINT active_record_1
1581
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1582
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1583
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1584
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1586
+ Redirected to
1587
+ Completed 500 Internal Server Error in 6ms
1588
+  (0.4ms) rollback transaction
1589
+  (0.1ms) begin transaction
1590
+  (0.2ms) SELECT COUNT(*) FROM "followings" 
1591
+  (0.1ms) SAVEPOINT active_record_1
1592
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1593
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1594
+ Processing by FollowingsController#create as HTML
1595
+ Parameters: {"user_id"=>"2"}
1596
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1597
+  (0.0ms) SAVEPOINT active_record_1
1598
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1599
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1600
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1601
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1603
+ Redirected to
1604
+ Completed 500 Internal Server Error in 8ms
1605
+  (1.1ms) rollback transaction
1606
+  (0.1ms) begin transaction
1607
+  (0.0ms) SAVEPOINT active_record_1
1608
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1610
+ Processing by FollowingsController#create as HTML
1611
+ Parameters: {"user_id"=>"2"}
1612
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1613
+  (0.0ms) SAVEPOINT active_record_1
1614
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1615
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1616
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1617
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1618
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1619
+ Redirected to
1620
+ Completed 500 Internal Server Error in 7ms
1621
+  (0.5ms) rollback transaction
1622
+  (0.1ms) begin transaction
1623
+  (0.0ms) SAVEPOINT active_record_1
1624
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1625
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1626
+ Processing by FollowingsController#create as HTML
1627
+ Parameters: {"user_id"=>"2"}
1628
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1629
+  (0.0ms) SAVEPOINT active_record_1
1630
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1631
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1632
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1633
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1635
+ Redirected to
1636
+ Completed 500 Internal Server Error in 8ms
1637
+  (0.4ms) rollback transaction
1638
+  (0.1ms) begin transaction
1639
+  (0.1ms) SAVEPOINT active_record_1
1640
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1642
+  (0.0ms) SAVEPOINT active_record_1
1643
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1644
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1645
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1647
+ Processing by FollowingsController#destroy as HTML
1648
+ Parameters: {"user_id"=>"2"}
1649
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1650
+ Following Load (0.2ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
1651
+  (0.1ms) SAVEPOINT active_record_1
1652
+ SQL (0.5ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1653
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1654
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1655
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1656
+ Redirected to
1657
+ Completed 500 Internal Server Error in 11ms
1658
+  (0.5ms) rollback transaction
1659
+  (0.1ms) begin transaction
1660
+  (0.1ms) SAVEPOINT active_record_1
1661
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1663
+  (0.1ms) SAVEPOINT active_record_1
1664
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1665
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1666
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1668
+ Processing by FollowingsController#destroy as HTML
1669
+ Parameters: {"user_id"=>"2"}
1670
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1671
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
1672
+  (0.0ms) SAVEPOINT active_record_1
1673
+ SQL (0.3ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1674
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1675
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1677
+ Redirected to
1678
+ Completed 500 Internal Server Error in 5ms
1679
+  (0.5ms) rollback transaction
1680
+  (0.1ms) begin transaction
1681
+  (0.1ms) SAVEPOINT active_record_1
1682
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1684
+  (0.0ms) SAVEPOINT active_record_1
1685
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1686
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1687
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1689
+ Processing by FollowingsController#destroy as HTML
1690
+ Parameters: {"user_id"=>"2"}
1691
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1692
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
1693
+  (0.0ms) SAVEPOINT active_record_1
1694
+ SQL (0.3ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1695
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1696
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1698
+ Redirected to
1699
+ Completed 500 Internal Server Error in 31ms
1700
+  (0.5ms) rollback transaction
1701
+  (0.1ms) begin transaction
1702
+  (0.1ms) SAVEPOINT active_record_1
1703
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1704
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1705
+  (0.1ms) SAVEPOINT active_record_1
1706
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1707
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1708
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1710
+  (0.1ms) SELECT COUNT(*) FROM "followings" 
1711
+ Processing by FollowingsController#destroy as HTML
1712
+ Parameters: {"user_id"=>"2"}
1713
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1714
+ Following Load (0.2ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
1715
+  (0.0ms) SAVEPOINT active_record_1
1716
+ SQL (0.4ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1717
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1718
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1720
+ Redirected to
1721
+ Completed 500 Internal Server Error in 8ms
1722
+  (0.4ms) rollback transaction
1723
+  (0.0ms) begin transaction
1724
+  (0.0ms) SAVEPOINT active_record_1
1725
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1727
+  (0.0ms) SAVEPOINT active_record_1
1728
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1729
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:25:00 UTC +00:00], ["user_id", 1]]
1730
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1732
+ Processing by FollowingsController#destroy as HTML
1733
+ Parameters: {"user_id"=>"2"}
1734
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1735
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
1736
+  (0.0ms) SAVEPOINT active_record_1
1737
+ SQL (0.3ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1738
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1739
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1741
+ Redirected to
1742
+ Completed 500 Internal Server Error in 7ms
1743
+  (0.5ms) rollback transaction
1744
+ Connecting to database specified by database.yml
1745
+  (1.0ms) select sqlite_version(*)
1746
+  (0.7ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0, "name" varchar(255))
1747
+  (0.1ms) begin transaction
1748
+ SQL (3.7ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1749
+  (0.1ms) commit transaction
1750
+  (0.1ms) begin transaction
1751
+  (0.1ms) SAVEPOINT active_record_1
1752
+ SQL (0.2ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1754
+ Processing by FollowingsController#create as HTML
1755
+ Parameters: {"user_id"=>"2"}
1756
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1757
+  (0.1ms) SAVEPOINT active_record_1
1758
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1759
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1760
+ SQL (1.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1761
+  (0.4ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1763
+ Redirected to http://test.host/users/2
1764
+ Completed 302 Found in 51ms (ActiveRecord: 2.7ms)
1765
+  (0.5ms) rollback transaction
1766
+  (0.1ms) begin transaction
1767
+  (0.1ms) SAVEPOINT active_record_1
1768
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1769
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1770
+ Processing by FollowingsController#create as HTML
1771
+ Parameters: {"user_id"=>"2"}
1772
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1773
+  (0.1ms) SAVEPOINT active_record_1
1774
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1775
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1776
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1777
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1778
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1779
+ Redirected to http://test.host/users/2
1780
+ Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
1781
+  (0.5ms) rollback transaction
1782
+  (0.1ms) begin transaction
1783
+  (0.1ms) SAVEPOINT active_record_1
1784
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1786
+ Processing by FollowingsController#create as HTML
1787
+ Parameters: {"user_id"=>"2"}
1788
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1789
+  (0.1ms) SAVEPOINT active_record_1
1790
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1791
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1792
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1793
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1795
+ Redirected to http://test.host/users/2
1796
+ Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
1797
+  (0.5ms) rollback transaction
1798
+  (0.1ms) begin transaction
1799
+  (0.2ms) SELECT COUNT(*) FROM "followings" 
1800
+  (0.1ms) SAVEPOINT active_record_1
1801
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1803
+ Processing by FollowingsController#create as HTML
1804
+ Parameters: {"user_id"=>"2"}
1805
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1806
+  (0.1ms) SAVEPOINT active_record_1
1807
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1808
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1809
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1810
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1812
+ Redirected to http://test.host/users/2
1813
+ Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
1814
+  (0.1ms) SELECT COUNT(*) FROM "followings"
1815
+  (0.5ms) rollback transaction
1816
+  (0.1ms) begin transaction
1817
+  (0.1ms) SAVEPOINT active_record_1
1818
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1820
+ Processing by FollowingsController#create as HTML
1821
+ Parameters: {"user_id"=>"2"}
1822
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1823
+  (0.1ms) SAVEPOINT active_record_1
1824
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1825
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1826
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1827
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1828
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1829
+ Redirected to http://test.host/users/2
1830
+ Completed 302 Found in 8ms (ActiveRecord: 1.3ms)
1831
+  (0.5ms) rollback transaction
1832
+  (0.1ms) begin transaction
1833
+  (0.1ms) SAVEPOINT active_record_1
1834
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1835
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1836
+ Processing by FollowingsController#create as HTML
1837
+ Parameters: {"user_id"=>"2"}
1838
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1839
+  (0.1ms) SAVEPOINT active_record_1
1840
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1841
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1842
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1843
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1844
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1845
+ Redirected to http://test.host/users/2
1846
+ Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
1847
+  (0.4ms) rollback transaction
1848
+  (0.1ms) begin transaction
1849
+  (0.0ms) SAVEPOINT active_record_1
1850
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1851
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1852
+  (0.0ms) SAVEPOINT active_record_1
1853
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1854
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1855
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1856
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1857
+ Processing by FollowingsController#destroy as HTML
1858
+ Parameters: {"user_id"=>"2"}
1859
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1860
+ Following Load (0.2ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
1861
+  (0.1ms) SAVEPOINT active_record_1
1862
+ SQL (0.5ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1863
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1864
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1866
+ Redirected to http://test.host/users/2
1867
+ Completed 302 Found in 9ms (ActiveRecord: 1.1ms)
1868
+  (0.6ms) rollback transaction
1869
+  (0.1ms) begin transaction
1870
+  (0.1ms) SAVEPOINT active_record_1
1871
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1872
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1873
+  (0.1ms) SAVEPOINT active_record_1
1874
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1875
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1876
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1878
+ Processing by FollowingsController#destroy as HTML
1879
+ Parameters: {"user_id"=>"2"}
1880
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1881
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
1882
+  (0.0ms) SAVEPOINT active_record_1
1883
+ SQL (0.3ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1884
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1885
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1886
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1887
+ Redirected to http://test.host/users/2
1888
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
1889
+  (0.5ms) rollback transaction
1890
+  (0.1ms) begin transaction
1891
+  (0.1ms) SAVEPOINT active_record_1
1892
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1894
+  (0.1ms) SAVEPOINT active_record_1
1895
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1896
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1897
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1898
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1899
+ Processing by FollowingsController#destroy as HTML
1900
+ Parameters: {"user_id"=>"2"}
1901
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1902
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
1903
+  (0.0ms) SAVEPOINT active_record_1
1904
+ SQL (0.4ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1905
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1906
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1907
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1908
+ Redirected to http://test.host/users/2
1909
+ Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
1910
+  (0.5ms) rollback transaction
1911
+  (0.1ms) begin transaction
1912
+  (0.1ms) SAVEPOINT active_record_1
1913
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1915
+  (0.0ms) SAVEPOINT active_record_1
1916
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1917
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1918
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1920
+  (0.1ms) SELECT COUNT(*) FROM "followings"
1921
+ Processing by FollowingsController#destroy as HTML
1922
+ Parameters: {"user_id"=>"2"}
1923
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1924
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
1925
+  (0.0ms) SAVEPOINT active_record_1
1926
+ SQL (0.3ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1927
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1928
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1930
+ Redirected to http://test.host/users/2
1931
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
1932
+  (0.1ms) SELECT COUNT(*) FROM "followings"
1933
+  (0.4ms) rollback transaction
1934
+  (0.1ms) begin transaction
1935
+  (0.0ms) SAVEPOINT active_record_1
1936
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
1937
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1938
+  (0.0ms) SAVEPOINT active_record_1
1939
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
1940
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 1]]
1941
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
1942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1943
+ Processing by FollowingsController#destroy as HTML
1944
+ Parameters: {"user_id"=>"2"}
1945
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
1946
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
1947
+  (0.0ms) SAVEPOINT active_record_1
1948
+ SQL (0.4ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
1949
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1950
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
1951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1952
+ Redirected to http://test.host/users/2
1953
+ Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
1954
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."id" = ? LIMIT 1 [["id", 1]]
1955
+  (0.5ms) rollback transaction
1956
+  (0.1ms) begin transaction
1957
+  (0.0ms) rollback transaction
1958
+  (0.1ms) begin transaction
1959
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1960
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1961
+  (0.1ms) rollback transaction
1962
+  (0.1ms) begin transaction
1963
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1964
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
1965
+  (0.1ms) rollback transaction
1966
+  (0.1ms) begin transaction
1967
+  (0.0ms) rollback transaction
1968
+  (0.1ms) begin transaction
1969
+  (0.0ms) rollback transaction
1970
+  (0.1ms) begin transaction
1971
+  (0.1ms) rollback transaction
1972
+  (0.1ms) begin transaction
1973
+  (0.0ms) rollback transaction
1974
+  (0.1ms) begin transaction
1975
+  (0.0ms) SAVEPOINT active_record_1
1976
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1978
+  (0.0ms) SAVEPOINT active_record_1
1979
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1981
+  (0.0ms) SAVEPOINT active_record_1
1982
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1983
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 3], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 2]]
1984
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 3
1985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1986
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
1987
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
1988
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1989
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1990
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
1991
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
1992
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 3) LIMIT 1
1993
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 3) LIMIT 1
1994
+  (0.4ms) rollback transaction
1995
+  (0.1ms) begin transaction
1996
+  (0.0ms) SAVEPOINT active_record_1
1997
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
1998
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1999
+  (0.0ms) SAVEPOINT active_record_1
2000
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
2001
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2002
+  (0.1ms) rollback transaction
2003
+  (0.1ms) begin transaction
2004
+  (0.1ms) SAVEPOINT active_record_1
2005
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2007
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2008
+  (0.1ms) SAVEPOINT active_record_1
2009
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2011
+  (0.1ms) SAVEPOINT active_record_1
2012
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 3) LIMIT 1
2013
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 3]]
2014
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2015
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2016
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2017
+  (0.5ms) rollback transaction
2018
+  (0.1ms) begin transaction
2019
+  (0.1ms) SAVEPOINT active_record_1
2020
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2022
+  (0.0ms) SAVEPOINT active_record_1
2023
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2024
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2025
+  (0.1ms) SAVEPOINT active_record_1
2026
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
2027
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["followed_id", 3], ["updated_at", Wed, 05 Dec 2012 17:28:08 UTC +00:00], ["user_id", 2]]
2028
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 3
2029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2030
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
2031
+  (0.1ms) SAVEPOINT active_record_1
2032
+ SQL (0.3ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
2033
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 3
2034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2035
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
2036
+  (0.4ms) rollback transaction
2037
+ Connecting to database specified by database.yml
2038
+  (1.6ms) select sqlite_version(*)
2039
+  (0.9ms) CREATE TEMPORARY TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followers_count" integer DEFAULT 0, "name" varchar(255))
2040
+  (0.1ms) begin transaction
2041
+ SQL (3.2ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2042
+  (0.1ms) commit transaction
2043
+  (0.1ms) begin transaction
2044
+  (0.1ms) rollback transaction
2045
+  (0.1ms) begin transaction
2046
+  (0.0ms) rollback transaction
2047
+  (0.0ms) begin transaction
2048
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
2049
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
2050
+  (0.1ms) rollback transaction
2051
+  (0.1ms) begin transaction
2052
+  (0.1ms) rollback transaction
2053
+  (0.1ms) begin transaction
2054
+  (0.1ms) rollback transaction
2055
+  (0.1ms) begin transaction
2056
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
2057
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" IS NULL AND "followings"."user_id" IS NULL) LIMIT 1
2058
+  (0.1ms) rollback transaction
2059
+  (0.1ms) begin transaction
2060
+  (0.0ms) rollback transaction
2061
+  (0.1ms) begin transaction
2062
+  (0.0ms) rollback transaction
2063
+  (0.1ms) begin transaction
2064
+  (0.0ms) rollback transaction
2065
+  (0.1ms) begin transaction
2066
+  (0.1ms) SAVEPOINT active_record_1
2067
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2069
+  (0.0ms) SAVEPOINT active_record_1
2070
+ SQL (0.3ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2072
+  (0.0ms) SAVEPOINT active_record_1
2073
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
2074
+ SQL (1.2ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 3], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 2]]
2075
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 3
2076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2077
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" LIMIT 1
2078
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
2079
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
2080
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
2081
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
2082
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
2083
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 3) LIMIT 1
2084
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 3) LIMIT 1
2085
+  (0.5ms) rollback transaction
2086
+  (0.1ms) begin transaction
2087
+  (0.1ms) SAVEPOINT active_record_1
2088
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2090
+  (0.1ms) SAVEPOINT active_record_1
2091
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 2) LIMIT 1
2092
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2093
+  (0.1ms) rollback transaction
2094
+  (0.1ms) begin transaction
2095
+  (0.0ms) SAVEPOINT active_record_1
2096
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2098
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2099
+  (0.1ms) SAVEPOINT active_record_1
2100
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2102
+  (0.0ms) SAVEPOINT active_record_1
2103
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 3) LIMIT 1
2104
+ SQL (0.5ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 3]]
2105
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2107
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
2108
+  (0.4ms) rollback transaction
2109
+  (0.1ms) begin transaction
2110
+  (0.0ms) SAVEPOINT active_record_1
2111
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2113
+  (0.0ms) SAVEPOINT active_record_1
2114
+ SQL (0.0ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", nil]]
2115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2116
+  (0.0ms) SAVEPOINT active_record_1
2117
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 3 AND "followings"."user_id" = 2) LIMIT 1
2118
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 3], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 2]]
2119
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 3
2120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2121
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
2122
+  (0.0ms) SAVEPOINT active_record_1
2123
+ SQL (0.5ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
2124
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 3
2125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2126
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
2127
+  (0.4ms) rollback transaction
2128
+  (0.1ms) begin transaction
2129
+  (0.0ms) SAVEPOINT active_record_1
2130
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2131
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2132
+ Processing by FollowingsController#create as HTML
2133
+ Parameters: {"user_id"=>"2"}
2134
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2135
+  (0.1ms) SAVEPOINT active_record_1
2136
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2137
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2138
+ SQL (0.8ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2139
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2141
+ Redirected to http://test.host/users/2
2142
+ Completed 302 Found in 16ms (ActiveRecord: 1.4ms)
2143
+  (0.5ms) rollback transaction
2144
+  (0.1ms) begin transaction
2145
+  (0.1ms) SAVEPOINT active_record_1
2146
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2147
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2148
+ Processing by FollowingsController#create as HTML
2149
+ Parameters: {"user_id"=>"2"}
2150
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2151
+  (0.0ms) SAVEPOINT active_record_1
2152
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2153
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2154
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2155
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2157
+ Redirected to http://test.host/users/2
2158
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
2159
+  (0.4ms) rollback transaction
2160
+  (0.1ms) begin transaction
2161
+  (0.1ms) SELECT COUNT(*) FROM "followings"
2162
+  (0.0ms) SAVEPOINT active_record_1
2163
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2165
+ Processing by FollowingsController#create as HTML
2166
+ Parameters: {"user_id"=>"2"}
2167
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2168
+  (0.0ms) SAVEPOINT active_record_1
2169
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2170
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2171
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2172
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2174
+ Redirected to http://test.host/users/2
2175
+ Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
2176
+  (0.1ms) SELECT COUNT(*) FROM "followings" 
2177
+  (0.4ms) rollback transaction
2178
+  (0.1ms) begin transaction
2179
+  (0.0ms) SAVEPOINT active_record_1
2180
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2181
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2182
+ Processing by FollowingsController#create as HTML
2183
+ Parameters: {"user_id"=>"2"}
2184
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2185
+  (0.0ms) SAVEPOINT active_record_1
2186
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2187
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2188
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2189
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2190
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2191
+ Redirected to http://test.host/users/2
2192
+ Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
2193
+  (0.4ms) rollback transaction
2194
+  (0.1ms) begin transaction
2195
+  (0.0ms) SAVEPOINT active_record_1
2196
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2198
+ Processing by FollowingsController#create as HTML
2199
+ Parameters: {"user_id"=>"2"}
2200
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2201
+  (0.1ms) SAVEPOINT active_record_1
2202
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2203
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2204
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2205
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2207
+ Redirected to http://test.host/users/2
2208
+ Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
2209
+  (0.4ms) rollback transaction
2210
+  (0.1ms) begin transaction
2211
+  (0.1ms) SAVEPOINT active_record_1
2212
+ SQL (0.2ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2214
+ Processing by FollowingsController#create as HTML
2215
+ Parameters: {"user_id"=>"2"}
2216
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2217
+  (0.1ms) SAVEPOINT active_record_1
2218
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2219
+ Following Exists (0.1ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2220
+ SQL (0.4ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2221
+  (0.2ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2222
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2223
+ Redirected to http://test.host/users/2
2224
+ Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
2225
+  (0.5ms) rollback transaction
2226
+  (0.1ms) begin transaction
2227
+  (0.1ms) SAVEPOINT active_record_1
2228
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2229
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2230
+  (0.1ms) SAVEPOINT active_record_1
2231
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2232
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2233
+  (27.3ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2235
+ Processing by FollowingsController#destroy as HTML
2236
+ Parameters: {"user_id"=>"2"}
2237
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2238
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
2239
+  (0.0ms) SAVEPOINT active_record_1
2240
+ SQL (0.3ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
2241
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
2242
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
2243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2244
+ Redirected to http://test.host/users/2
2245
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
2246
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."id" = ? LIMIT 1 [["id", 1]]
2247
+  (0.5ms) rollback transaction
2248
+  (0.1ms) begin transaction
2249
+  (0.0ms) SAVEPOINT active_record_1
2250
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2252
+  (0.1ms) SAVEPOINT active_record_1
2253
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2254
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2255
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2257
+  (0.1ms) SELECT COUNT(*) FROM "followings"
2258
+ Processing by FollowingsController#destroy as HTML
2259
+ Parameters: {"user_id"=>"2"}
2260
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2261
+ Following Load (0.2ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
2262
+  (0.0ms) SAVEPOINT active_record_1
2263
+ SQL (0.4ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
2264
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
2265
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
2266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2267
+ Redirected to http://test.host/users/2
2268
+ Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
2269
+  (0.1ms) SELECT COUNT(*) FROM "followings"
2270
+  (0.5ms) rollback transaction
2271
+  (0.1ms) begin transaction
2272
+  (0.1ms) SAVEPOINT active_record_1
2273
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2275
+  (0.1ms) SAVEPOINT active_record_1
2276
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2277
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2278
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2279
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2280
+ Processing by FollowingsController#destroy as HTML
2281
+ Parameters: {"user_id"=>"2"}
2282
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2283
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
2284
+  (0.0ms) SAVEPOINT active_record_1
2285
+ SQL (0.3ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
2286
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
2287
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
2288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2289
+ Redirected to http://test.host/users/2
2290
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
2291
+  (0.6ms) rollback transaction
2292
+  (0.1ms) begin transaction
2293
+  (0.1ms) SAVEPOINT active_record_1
2294
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2296
+  (0.1ms) SAVEPOINT active_record_1
2297
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2298
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2299
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2301
+ Processing by FollowingsController#destroy as HTML
2302
+ Parameters: {"user_id"=>"2"}
2303
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2304
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
2305
+  (0.0ms) SAVEPOINT active_record_1
2306
+ SQL (0.3ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
2307
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
2308
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
2309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2310
+ Redirected to http://test.host/users/2
2311
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
2312
+  (0.5ms) rollback transaction
2313
+  (0.1ms) begin transaction
2314
+  (0.1ms) SAVEPOINT active_record_1
2315
+ SQL (0.1ms) INSERT INTO "users" ("followers_count", "name") VALUES (?, ?) [["followers_count", 0], ["name", "Cajuina da Silva"]]
2316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2317
+  (0.0ms) SAVEPOINT active_record_1
2318
+ Following Exists (0.2ms) SELECT 1 AS one FROM "followings" WHERE ("followings"."followed_id" = 2 AND "followings"."user_id" = 1) LIMIT 1
2319
+ SQL (0.6ms) INSERT INTO "followings" ("created_at", "followed_id", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["followed_id", 2], ["updated_at", Wed, 05 Dec 2012 17:29:02 UTC +00:00], ["user_id", 1]]
2320
+  (0.1ms) UPDATE "users" SET "followers_count" = 1 WHERE "users"."id" = 2
2321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2322
+ Processing by FollowingsController#destroy as HTML
2323
+ Parameters: {"user_id"=>"2"}
2324
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2325
+ Following Load (0.1ms) SELECT "followings".* FROM "followings" WHERE "followings"."user_id" = 1 AND "followings"."followed_id" = 2 LIMIT 1
2326
+  (0.1ms) SAVEPOINT active_record_1
2327
+ SQL (0.4ms) DELETE FROM "followings" WHERE "followings"."id" = ? [["id", 1]]
2328
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
2329
+  (0.1ms) UPDATE "users" SET "followers_count" = 0 WHERE "users"."id" = 2
2330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2331
+ Redirected to http://test.host/users/2
2332
+ Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
2333
+  (0.5ms) rollback transaction