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