news_feed 0.0.1 → 0.0.2
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/lib/app/model/news_feed_event.rb +1 -1
- data/lib/generators/news_feed/news_feed_generator.rb +13 -18
- data/lib/news_feed/acts_as_news_feedable.rb +3 -2
- data/lib/news_feed/version.rb +1 -1
- data/lib/news_feed.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20120807021300_insert_news_feed_events.rb +2 -2
- data/test/dummy/db/schema.rb +4 -4
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/lib/news_feed/news_feed_events.rb +30 -0
- data/test/dummy/log/development.log +75 -156
- data/test/dummy/log/test.log +1065 -2119
- data/test/generators/install_generator_test.rb +4 -4
- data/test/test_helper.rb +40 -1
- metadata +4 -51
- data/lib/tasks/news_feed_tasks.rake +0 -4
data/test/dummy/log/test.log
CHANGED
@@ -1,2394 +1,1340 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (18.2ms)[0m [1mbegin transaction[0m
|
3
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2
4
|
Connecting to database specified by database.yml
|
5
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
6
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3
7
|
Connecting to database specified by database.yml
|
4
|
-
|
5
|
-
[1m[
|
6
|
-
[1m[
|
7
|
-
|
8
|
-
[1m[36m (0.
|
9
|
-
[1m[35m (0.
|
10
|
-
|
11
|
-
[1m[
|
12
|
-
[1m[
|
13
|
-
|
14
|
-
Connecting to database specified by database.yml
|
15
|
-
Connecting to database specified by database.yml
|
16
|
-
Connecting to database specified by database.yml
|
17
|
-
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
18
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
19
|
-
Connecting to database specified by database.yml
|
20
|
-
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
21
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
22
|
-
Connecting to database specified by database.yml
|
23
|
-
Connecting to database specified by database.yml
|
24
|
-
Connecting to database specified by database.yml
|
25
|
-
Connecting to database specified by database.yml
|
26
|
-
Connecting to database specified by database.yml
|
27
|
-
Connecting to database specified by database.yml
|
28
|
-
Connecting to database specified by database.yml
|
29
|
-
Connecting to database specified by database.yml
|
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
|
-
Connecting to database specified by database.yml
|
34
|
-
Connecting to database specified by database.yml
|
35
|
-
Connecting to database specified by database.yml
|
36
|
-
Connecting to database specified by database.yml
|
37
|
-
Connecting to database specified by database.yml
|
38
|
-
Connecting to database specified by database.yml
|
39
|
-
Connecting to database specified by database.yml
|
40
|
-
Connecting to database specified by database.yml
|
41
|
-
Connecting to database specified by database.yml
|
42
|
-
Connecting to database specified by database.yml
|
43
|
-
Connecting to database specified by database.yml
|
44
|
-
Connecting to database specified by database.yml
|
45
|
-
Connecting to database specified by database.yml
|
46
|
-
Connecting to database specified by database.yml
|
47
|
-
Connecting to database specified by database.yml
|
48
|
-
Connecting to database specified by database.yml
|
49
|
-
Connecting to database specified by database.yml
|
50
|
-
Connecting to database specified by database.yml
|
51
|
-
Connecting to database specified by database.yml
|
52
|
-
Connecting to database specified by database.yml
|
53
|
-
Connecting to database specified by database.yml
|
54
|
-
Connecting to database specified by database.yml
|
55
|
-
Connecting to database specified by database.yml
|
56
|
-
Connecting to database specified by database.yml
|
57
|
-
Connecting to database specified by database.yml
|
58
|
-
Connecting to database specified by database.yml
|
59
|
-
Connecting to database specified by database.yml
|
60
|
-
Connecting to database specified by database.yml
|
61
|
-
Connecting to database specified by database.yml
|
62
|
-
Connecting to database specified by database.yml
|
63
|
-
Connecting to database specified by database.yml
|
64
|
-
Connecting to database specified by database.yml
|
65
|
-
Connecting to database specified by database.yml
|
66
|
-
Connecting to database specified by database.yml
|
67
|
-
Connecting to database specified by database.yml
|
68
|
-
Connecting to database specified by database.yml
|
69
|
-
Connecting to database specified by database.yml
|
70
|
-
Connecting to database specified by database.yml
|
71
|
-
Connecting to database specified by database.yml
|
72
|
-
Connecting to database specified by database.yml
|
73
|
-
Connecting to database specified by database.yml
|
74
|
-
Connecting to database specified by database.yml
|
75
|
-
Connecting to database specified by database.yml
|
76
|
-
Connecting to database specified by database.yml
|
77
|
-
Connecting to database specified by database.yml
|
78
|
-
Connecting to database specified by database.yml
|
79
|
-
Connecting to database specified by database.yml
|
80
|
-
Connecting to database specified by database.yml
|
81
|
-
Connecting to database specified by database.yml
|
82
|
-
Connecting to database specified by database.yml
|
83
|
-
Connecting to database specified by database.yml
|
84
|
-
Connecting to database specified by database.yml
|
85
|
-
Connecting to database specified by database.yml
|
86
|
-
Connecting to database specified by database.yml
|
87
|
-
Connecting to database specified by database.yml
|
88
|
-
Connecting to database specified by database.yml
|
89
|
-
Connecting to database specified by database.yml
|
90
|
-
Connecting to database specified by database.yml
|
91
|
-
Connecting to database specified by database.yml
|
92
|
-
Connecting to database specified by database.yml
|
93
|
-
Connecting to database specified by database.yml
|
94
|
-
Connecting to database specified by database.yml
|
95
|
-
Connecting to database specified by database.yml
|
96
|
-
Connecting to database specified by database.yml
|
97
|
-
Connecting to database specified by database.yml
|
98
|
-
Connecting to database specified by database.yml
|
99
|
-
Connecting to database specified by database.yml
|
100
|
-
Connecting to database specified by database.yml
|
101
|
-
Connecting to database specified by database.yml
|
102
|
-
Connecting to database specified by database.yml
|
103
|
-
Connecting to database specified by database.yml
|
104
|
-
Connecting to database specified by database.yml
|
105
|
-
Connecting to database specified by database.yml
|
106
|
-
Connecting to database specified by database.yml
|
107
|
-
Connecting to database specified by database.yml
|
108
|
-
Connecting to database specified by database.yml
|
109
|
-
Connecting to database specified by database.yml
|
110
|
-
Connecting to database specified by database.yml
|
111
|
-
Connecting to database specified by database.yml
|
112
|
-
Connecting to database specified by database.yml
|
113
|
-
Connecting to database specified by database.yml
|
114
|
-
Connecting to database specified by database.yml
|
115
|
-
Connecting to database specified by database.yml
|
116
|
-
Connecting to database specified by database.yml
|
117
|
-
Connecting to database specified by database.yml
|
118
|
-
Connecting to database specified by database.yml
|
119
|
-
Connecting to database specified by database.yml
|
120
|
-
Connecting to database specified by database.yml
|
121
|
-
Connecting to database specified by database.yml
|
122
|
-
Connecting to database specified by database.yml
|
123
|
-
Connecting to database specified by database.yml
|
124
|
-
Connecting to database specified by database.yml
|
125
|
-
Connecting to database specified by database.yml
|
126
|
-
Connecting to database specified by database.yml
|
127
|
-
Connecting to database specified by database.yml
|
128
|
-
Connecting to database specified by database.yml
|
129
|
-
Connecting to database specified by database.yml
|
130
|
-
Connecting to database specified by database.yml
|
131
|
-
Connecting to database specified by database.yml
|
132
|
-
Connecting to database specified by database.yml
|
133
|
-
Connecting to database specified by database.yml
|
134
|
-
Connecting to database specified by database.yml
|
135
|
-
Connecting to database specified by database.yml
|
136
|
-
Connecting to database specified by database.yml
|
137
|
-
Connecting to database specified by database.yml
|
138
|
-
Connecting to database specified by database.yml
|
139
|
-
Connecting to database specified by database.yml
|
140
|
-
Connecting to database specified by database.yml
|
141
|
-
Connecting to database specified by database.yml
|
142
|
-
Connecting to database specified by database.yml
|
143
|
-
Connecting to database specified by database.yml
|
144
|
-
Connecting to database specified by database.yml
|
145
|
-
Connecting to database specified by database.yml
|
146
|
-
Connecting to database specified by database.yml
|
147
|
-
Connecting to database specified by database.yml
|
148
|
-
Connecting to database specified by database.yml
|
149
|
-
Connecting to database specified by database.yml
|
150
|
-
Connecting to database specified by database.yml
|
151
|
-
Connecting to database specified by database.yml
|
152
|
-
Connecting to database specified by database.yml
|
153
|
-
Connecting to database specified by database.yml
|
154
|
-
Connecting to database specified by database.yml
|
155
|
-
Connecting to database specified by database.yml
|
156
|
-
Connecting to database specified by database.yml
|
157
|
-
Connecting to database specified by database.yml
|
158
|
-
Connecting to database specified by database.yml
|
159
|
-
Connecting to database specified by database.yml
|
160
|
-
Connecting to database specified by database.yml
|
161
|
-
Connecting to database specified by database.yml
|
162
|
-
Connecting to database specified by database.yml
|
163
|
-
Connecting to database specified by database.yml
|
164
|
-
Connecting to database specified by database.yml
|
165
|
-
Connecting to database specified by database.yml
|
166
|
-
Connecting to database specified by database.yml
|
167
|
-
Connecting to database specified by database.yml
|
168
|
-
Connecting to database specified by database.yml
|
169
|
-
Connecting to database specified by database.yml
|
170
|
-
Connecting to database specified by database.yml
|
171
|
-
Connecting to database specified by database.yml
|
172
|
-
Connecting to database specified by database.yml
|
173
|
-
Connecting to database specified by database.yml
|
174
|
-
Connecting to database specified by database.yml
|
175
|
-
Connecting to database specified by database.yml
|
176
|
-
Connecting to database specified by database.yml
|
177
|
-
Connecting to database specified by database.yml
|
178
|
-
Connecting to database specified by database.yml
|
179
|
-
Connecting to database specified by database.yml
|
180
|
-
Connecting to database specified by database.yml
|
181
|
-
Connecting to database specified by database.yml
|
182
|
-
Connecting to database specified by database.yml
|
183
|
-
Connecting to database specified by database.yml
|
184
|
-
Connecting to database specified by database.yml
|
185
|
-
Connecting to database specified by database.yml
|
186
|
-
Connecting to database specified by database.yml
|
187
|
-
Connecting to database specified by database.yml
|
188
|
-
Connecting to database specified by database.yml
|
189
|
-
Connecting to database specified by database.yml
|
190
|
-
Connecting to database specified by database.yml
|
191
|
-
Connecting to database specified by database.yml
|
192
|
-
Connecting to database specified by database.yml
|
193
|
-
Connecting to database specified by database.yml
|
194
|
-
Connecting to database specified by database.yml
|
195
|
-
Connecting to database specified by database.yml
|
196
|
-
Connecting to database specified by database.yml
|
197
|
-
Connecting to database specified by database.yml
|
198
|
-
Connecting to database specified by database.yml
|
199
|
-
Connecting to database specified by database.yml
|
200
|
-
Connecting to database specified by database.yml
|
201
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
202
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
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
|
207
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
208
|
-
[1m[35mSQL (139.7ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:41:27 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:41:27 UTC +00:00]]
|
209
|
-
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
210
|
-
[1m[35m (0.1ms)[0m begin transaction
|
211
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:41:27 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:41:27 UTC +00:00]]
|
212
|
-
[1m[35m (1.5ms)[0m commit transaction
|
213
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
214
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:41:27 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:41:27 UTC +00:00]]
|
215
|
-
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
216
|
-
Connecting to database specified by database.yml
|
217
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
218
|
-
[1m[35mSQL (3.8ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:41:48 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:41:48 UTC +00:00]]
|
219
|
-
[1m[36m (7.2ms)[0m [1mcommit transaction[0m
|
220
|
-
[1m[35m (0.1ms)[0m begin transaction
|
221
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:41:48 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:41:48 UTC +00:00]]
|
222
|
-
[1m[35m (2.5ms)[0m commit transaction
|
223
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
224
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:41:48 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:41:48 UTC +00:00]]
|
225
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
226
|
-
[1m[35m (0.0ms)[0m begin transaction
|
227
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "timestamp") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["event_type", :Create], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["timestamp", nil]]
|
228
|
-
[1m[35m (0.9ms)[0m commit transaction
|
229
|
-
Connecting to database specified by database.yml
|
230
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
231
|
-
[1m[35mSQL (6.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:42:23 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:42:23 UTC +00:00]]
|
232
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
233
|
-
[1m[35m (0.1ms)[0m begin transaction
|
234
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:42:23 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:42:23 UTC +00:00]]
|
235
|
-
[1m[35m (1.6ms)[0m commit transaction
|
236
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
237
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:42:23 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:42:23 UTC +00:00]]
|
238
|
-
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
239
|
-
[1m[35m (0.1ms)[0m begin transaction
|
240
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "timestamp") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["timestamp", nil]]
|
241
|
-
[1m[35m (1.4ms)[0m commit transaction
|
242
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3[0m
|
243
|
-
Connecting to database specified by database.yml
|
244
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
245
|
-
[1m[35mSQL (3.8ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:46:51 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:46:51 UTC +00:00]]
|
246
|
-
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
247
|
-
[1m[35m (0.0ms)[0m begin transaction
|
248
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:46:51 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:46:51 UTC +00:00]]
|
249
|
-
[1m[35m (1.2ms)[0m commit transaction
|
250
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
251
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:46:51 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:46:51 UTC +00:00]]
|
252
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
253
|
-
[1m[35m (0.1ms)[0m begin transaction
|
254
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"]]
|
255
|
-
[1m[35m (1.0ms)[0m commit transaction
|
256
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1[0m
|
257
|
-
Connecting to database specified by database.yml
|
258
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
259
|
-
[1m[35mSQL (5.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:47:58 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:47:58 UTC +00:00]]
|
260
|
-
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
261
|
-
[1m[35m (0.1ms)[0m begin transaction
|
262
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:47:58 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:47:58 UTC +00:00]]
|
263
|
-
[1m[35m (0.9ms)[0m commit transaction
|
264
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
265
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:47:58 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:47:58 UTC +00:00]]
|
266
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
267
|
-
[1m[35m (0.1ms)[0m begin transaction
|
268
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:47:58 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 20:47:58 UTC +00:00]]
|
269
|
-
[1m[35m (1.3ms)[0m commit transaction
|
270
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1[0m
|
271
|
-
Connecting to database specified by database.yml
|
272
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
273
|
-
[1m[35mSQL (11.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:49:51 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:49:51 UTC +00:00]]
|
274
|
-
[1m[36m (5.7ms)[0m [1mcommit transaction[0m
|
275
|
-
[1m[35m (0.0ms)[0m begin transaction
|
276
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:49:51 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:49:51 UTC +00:00]]
|
277
|
-
[1m[35m (1.2ms)[0m commit transaction
|
278
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
279
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:49:51 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:49:51 UTC +00:00]]
|
280
|
-
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
281
|
-
[1m[35m (0.1ms)[0m begin transaction
|
282
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:49:51 UTC +00:00], ["event_type", :Create], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 20:49:51 UTC +00:00]]
|
283
|
-
[1m[35m (3.9ms)[0m commit transaction
|
284
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 2[0m
|
285
|
-
Connecting to database specified by database.yml
|
286
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
287
|
-
[1m[35mSQL (5.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:50:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:50:11 UTC +00:00]]
|
288
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
289
|
-
[1m[35m (0.1ms)[0m begin transaction
|
290
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:50:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:50:11 UTC +00:00]]
|
291
|
-
[1m[35m (1.2ms)[0m commit transaction
|
292
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
293
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:50:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:50:11 UTC +00:00]]
|
294
|
-
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
295
|
-
[1m[35m (0.1ms)[0m begin transaction
|
296
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:50:11 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 20:50:11 UTC +00:00]]
|
297
|
-
[1m[35m (8.1ms)[0m commit transaction
|
298
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 LIMIT 1[0m
|
299
|
-
Connecting to database specified by database.yml
|
300
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
301
|
-
[1m[35mSQL (4.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:51:51 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:51:51 UTC +00:00]]
|
302
|
-
[1m[36m (7.3ms)[0m [1mcommit transaction[0m
|
303
|
-
[1m[35m (0.0ms)[0m begin transaction
|
304
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:51:51 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:51:51 UTC +00:00]]
|
305
|
-
[1m[35m (1.6ms)[0m commit transaction
|
306
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
307
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:51:51 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:51:51 UTC +00:00]]
|
308
|
-
[1m[36m (7.5ms)[0m [1mcommit transaction[0m
|
309
|
-
[1m[35m (0.1ms)[0m begin transaction
|
310
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:51:51 UTC +00:00], ["event_type", :Create], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 20:51:51 UTC +00:00]]
|
311
|
-
[1m[35m (1.1ms)[0m commit transaction
|
312
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 4 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
313
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
314
|
-
Connecting to database specified by database.yml
|
315
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
316
|
-
[1m[35mSQL (19.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:52:46 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:52:46 UTC +00:00]]
|
317
|
-
[1m[36m (11.4ms)[0m [1mcommit transaction[0m
|
318
|
-
[1m[35m (0.1ms)[0m begin transaction
|
319
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:52:46 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:52:46 UTC +00:00]]
|
320
|
-
[1m[35m (0.9ms)[0m commit transaction
|
321
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
322
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:52:46 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:52:46 UTC +00:00]]
|
323
|
-
[1m[36m (7.8ms)[0m [1mcommit transaction[0m
|
324
|
-
[1m[35m (0.1ms)[0m begin transaction
|
325
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:52:46 UTC +00:00], ["event_type", :Create], ["object_id", 5], ["object_type", "Message"], ["recipient_id", 9], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 20:52:46 UTC +00:00]]
|
326
|
-
[1m[35m (5.1ms)[0m commit transaction
|
327
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
328
|
-
Connecting to database specified by database.yml
|
329
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
330
|
-
[1m[35mSQL (4.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:53:31 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:53:31 UTC +00:00]]
|
331
|
-
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
332
|
-
[1m[35m (0.0ms)[0m begin transaction
|
333
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:53:31 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:53:31 UTC +00:00]]
|
334
|
-
[1m[35m (0.8ms)[0m commit transaction
|
335
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
336
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:53:31 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:53:31 UTC +00:00]]
|
337
|
-
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
338
|
-
[1m[35m (0.1ms)[0m begin transaction
|
339
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:53:31 UTC +00:00], ["event_type", :Create], ["object_id", 6], ["object_type", "Message"], ["recipient_id", 11], ["recipient_type", "User"], ["sender_id", 12], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 20:53:31 UTC +00:00]]
|
340
|
-
[1m[35m (1.2ms)[0m commit transaction
|
341
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 11[0m
|
342
|
-
Connecting to database specified by database.yml
|
343
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
344
|
-
[1m[35mSQL (3.6ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:53:55 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:53:55 UTC +00:00]]
|
345
|
-
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
346
|
-
[1m[35m (0.1ms)[0m begin transaction
|
347
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:53:55 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:53:55 UTC +00:00]]
|
348
|
-
[1m[35m (1.0ms)[0m commit transaction
|
349
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
350
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 20:53:55 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 20:53:55 UTC +00:00]]
|
351
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
352
|
-
[1m[35m (0.1ms)[0m begin transaction
|
353
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 20:53:55 UTC +00:00], ["event_type", :Create], ["object_id", 7], ["object_type", "Message"], ["recipient_id", 13], ["recipient_type", "User"], ["sender_id", 14], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 20:53:55 UTC +00:00]]
|
354
|
-
[1m[35m (10.2ms)[0m commit transaction
|
355
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 13 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
356
|
-
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
357
|
-
Connecting to database specified by database.yml
|
358
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
359
|
-
[1m[35mSQL (5.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
360
|
-
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
361
|
-
[1m[35m (0.1ms)[0m begin transaction
|
362
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
363
|
-
[1m[35m (0.9ms)[0m commit transaction
|
364
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
365
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
366
|
-
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
367
|
-
[1m[35m (0.1ms)[0m begin transaction
|
368
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["event_type", :Create], ["object_id", 8], ["object_type", "Message"], ["recipient_id", 15], ["recipient_type", "User"], ["sender_id", 16], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
369
|
-
[1m[35m (5.7ms)[0m commit transaction
|
370
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
371
|
-
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
372
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
373
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
374
|
-
[1m[36m (11.8ms)[0m [1mcommit transaction[0m
|
375
|
-
[1m[35m (0.1ms)[0m begin transaction
|
376
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
377
|
-
[1m[35m (8.2ms)[0m commit transaction
|
378
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
379
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
380
|
-
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
381
|
-
[1m[35m (0.0ms)[0m begin transaction
|
382
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["event_type", :Updated], ["object_id", 9], ["object_type", "Message"], ["recipient_id", 17], ["recipient_type", "User"], ["sender_id", 18], ["sender_type", 0], ["text", nil], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
383
|
-
[1m[35m (1.7ms)[0m commit transaction
|
384
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 17 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
385
|
-
[1m[35m (0.0ms)[0m begin transaction
|
386
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
387
|
-
[1m[35m (4.0ms)[0m commit transaction
|
388
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
389
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
390
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
391
|
-
[1m[35m (0.1ms)[0m begin transaction
|
392
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
393
|
-
[1m[35m (8.6ms)[0m commit transaction
|
394
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
395
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["event_type", :Send], ["object_id", 10], ["object_type", "Message"], ["recipient_id", 19], ["recipient_type", "User"], ["sender_id", 20], ["sender_type", 0], ["text", nil], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
396
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
397
|
-
[1m[35m (0.1ms)[0m begin transaction
|
398
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["event_type", :Send], ["object_id", 10], ["object_type", "Message"], ["recipient_id", 20], ["recipient_type", "User"], ["sender_id", 20], ["sender_type", 0], ["text", nil], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
399
|
-
[1m[35m (1.0ms)[0m commit transaction
|
400
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 19[0m
|
401
|
-
[1m[35m (0.1ms)[0m begin transaction
|
402
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
403
|
-
[1m[35m (3.5ms)[0m commit transaction
|
404
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
405
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
406
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
407
|
-
[1m[35m (0.1ms)[0m begin transaction
|
408
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
409
|
-
[1m[35m (1.4ms)[0m commit transaction
|
410
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
411
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00], ["event_type", :Updated], ["object_id", 22], ["object_type", "User"], ["recipient_id", 22], ["recipient_type", "User"], ["sender_id", 22], ["sender_type", 0], ["text", nil], ["updated_at", Tue, 07 Aug 2012 21:03:01 UTC +00:00]]
|
412
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
413
|
-
[1m[35mNewsFeedEvent Load (0.3ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 21 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
414
|
-
Connecting to database specified by database.yml
|
415
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
416
|
-
[1m[35mSQL (15.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
417
|
-
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
418
|
-
[1m[35m (0.1ms)[0m begin transaction
|
419
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
420
|
-
[1m[35m (8.0ms)[0m commit transaction
|
421
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
422
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
423
|
-
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
424
|
-
[1m[35m (0.1ms)[0m begin transaction
|
425
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["event_type", :Create], ["object_id", 12], ["object_type", "Message"], ["recipient_id", 23], ["recipient_type", "User"], ["sender_id", 24], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
426
|
-
[1m[35m (9.3ms)[0m commit transaction
|
427
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 23 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
428
|
-
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
429
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
430
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
431
|
-
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
432
|
-
[1m[35m (0.1ms)[0m begin transaction
|
433
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
434
|
-
[1m[35m (1.4ms)[0m commit transaction
|
435
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
436
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
437
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
438
|
-
[1m[35m (0.1ms)[0m begin transaction
|
439
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
440
|
-
[1m[35m (1.2ms)[0m commit transaction
|
441
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
442
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
443
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
444
|
-
[1m[35m (0.1ms)[0m begin transaction
|
445
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
446
|
-
[1m[35m (1.1ms)[0m commit transaction
|
447
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
448
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
449
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
450
|
-
[1m[35m (0.0ms)[0m begin transaction
|
451
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
452
|
-
[1m[35m (0.9ms)[0m commit transaction
|
453
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
454
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:05:28 UTC +00:00]]
|
455
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
456
|
-
Connecting to database specified by database.yml
|
457
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
458
|
-
[1m[35mSQL (10.7ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
459
|
-
[1m[36m (5.8ms)[0m [1mcommit transaction[0m
|
460
|
-
[1m[35m (0.1ms)[0m begin transaction
|
461
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
462
|
-
[1m[35m (2.2ms)[0m commit transaction
|
463
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
464
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
465
|
-
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
466
|
-
[1m[35m (0.1ms)[0m begin transaction
|
467
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["event_type", :Create], ["object_id", 16], ["object_type", "Message"], ["recipient_id", 31], ["recipient_type", "User"], ["sender_id", 32], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
468
|
-
[1m[35m (1.3ms)[0m commit transaction
|
469
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 31 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
470
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
471
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
472
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
473
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
474
|
-
[1m[35m (0.0ms)[0m begin transaction
|
475
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
476
|
-
[1m[35m (0.8ms)[0m commit transaction
|
477
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
478
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
479
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
480
|
-
[1m[35m (0.0ms)[0m begin transaction
|
481
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["event_type", :Delete], ["object_id", 17], ["object_type", "Message"], ["recipient_id", 33], ["recipient_type", "User"], ["sender_id", 34], ["sender_type", 0], ["text", "translation missing: en.news_feeds.delete_object"], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
482
|
-
[1m[35m (9.1ms)[0m commit transaction
|
483
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 33 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
484
|
-
[1m[35m (0.1ms)[0m begin transaction
|
485
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
486
|
-
[1m[35m (0.9ms)[0m commit transaction
|
487
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
488
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
489
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
490
|
-
[1m[35m (0.0ms)[0m begin transaction
|
491
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
492
|
-
[1m[35m (0.9ms)[0m commit transaction
|
493
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
494
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["event_type", :Send], ["object_id", 18], ["object_type", "Message"], ["recipient_id", 35], ["recipient_type", "User"], ["sender_id", 36], ["sender_type", 0], ["text", "translation missing: en.news_feeds.send_object"], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
495
|
-
[1m[36m (9.1ms)[0m [1mcommit transaction[0m
|
496
|
-
[1m[35m (0.0ms)[0m begin transaction
|
497
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["event_type", :Send], ["object_id", 18], ["object_type", "Message"], ["recipient_id", 36], ["recipient_type", "User"], ["sender_id", 36], ["sender_type", 0], ["text", "translation missing: en.news_feeds.send_object"], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
498
|
-
[1m[35m (1.0ms)[0m commit transaction
|
499
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 35[0m
|
500
|
-
[1m[35m (0.1ms)[0m begin transaction
|
501
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
502
|
-
[1m[35m (1.0ms)[0m commit transaction
|
503
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
504
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
505
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
506
|
-
[1m[35m (0.0ms)[0m begin transaction
|
507
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
508
|
-
[1m[35m (0.9ms)[0m commit transaction
|
509
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
510
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00], ["event_type", :Update], ["object_id", 38], ["object_type", "User"], ["recipient_id", 38], ["recipient_type", "User"], ["sender_id", 38], ["sender_type", 0], ["text", "translation missing: en.news_feeds.update_object"], ["updated_at", Tue, 07 Aug 2012 21:08:42 UTC +00:00]]
|
511
|
-
[1m[36m (8.6ms)[0m [1mcommit transaction[0m
|
512
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 37 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
513
|
-
Connecting to database specified by database.yml
|
514
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
515
|
-
[1m[35mSQL (5.7ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
516
|
-
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
517
|
-
[1m[35m (0.1ms)[0m begin transaction
|
518
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
519
|
-
[1m[35m (1.0ms)[0m commit transaction
|
520
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
521
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
522
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
523
|
-
[1m[35m (0.1ms)[0m begin transaction
|
524
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["event_type", :Create], ["object_id", 20], ["object_type", "Message"], ["recipient_id", 39], ["recipient_type", "User"], ["sender_id", 40], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
525
|
-
[1m[35m (1.1ms)[0m commit transaction
|
526
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 39 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
527
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
528
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
529
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
530
|
-
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
531
|
-
[1m[35m (0.1ms)[0m begin transaction
|
532
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
533
|
-
[1m[35m (2.3ms)[0m commit transaction
|
534
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
535
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
536
|
-
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
537
|
-
[1m[35m (0.1ms)[0m begin transaction
|
538
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["event_type", :Delete], ["object_id", 21], ["object_type", "Message"], ["recipient_id", 41], ["recipient_type", "User"], ["sender_id", 42], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
539
|
-
[1m[35m (3.2ms)[0m commit transaction
|
540
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 41 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
541
|
-
[1m[35m (0.1ms)[0m begin transaction
|
542
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
543
|
-
[1m[35m (2.7ms)[0m commit transaction
|
544
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
545
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
546
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
547
|
-
[1m[35m (0.0ms)[0m begin transaction
|
548
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
549
|
-
[1m[35m (1.0ms)[0m commit transaction
|
550
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
551
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["event_type", :Send], ["object_id", 22], ["object_type", "Message"], ["recipient_id", 43], ["recipient_type", "User"], ["sender_id", 44], ["sender_type", 0], ["text", "Bob Smith has sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
552
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
553
|
-
[1m[35m (0.1ms)[0m begin transaction
|
554
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["event_type", :Send], ["object_id", 22], ["object_type", "Message"], ["recipient_id", 44], ["recipient_type", "User"], ["sender_id", 44], ["sender_type", 0], ["text", "You have sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
555
|
-
[1m[35m (1.1ms)[0m commit transaction
|
556
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 43[0m
|
557
|
-
[1m[35m (0.1ms)[0m begin transaction
|
558
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
559
|
-
[1m[35m (1.1ms)[0m commit transaction
|
560
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
561
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
562
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
563
|
-
[1m[35m (0.1ms)[0m begin transaction
|
564
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
565
|
-
[1m[35m (1.0ms)[0m commit transaction
|
566
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
567
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00], ["event_type", :Update], ["object_id", 46], ["object_type", "User"], ["recipient_id", 46], ["recipient_type", "User"], ["sender_id", 46], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 21:09:53 UTC +00:00]]
|
568
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
569
|
-
[1m[35mNewsFeedEvent Load (0.3ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 45 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
570
|
-
Connecting to database specified by database.yml
|
571
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
572
|
-
[1m[35mSQL (3.8ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
573
|
-
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
574
|
-
[1m[35m (0.0ms)[0m begin transaction
|
575
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
576
|
-
[1m[35m (1.0ms)[0m commit transaction
|
577
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
578
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
579
|
-
[1m[36m (3.7ms)[0m [1mcommit transaction[0m
|
580
|
-
[1m[35m (0.1ms)[0m begin transaction
|
581
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["event_type", :Create], ["object_id", 24], ["object_type", "Message"], ["recipient_id", 47], ["recipient_type", "User"], ["sender_id", 48], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
582
|
-
[1m[35m (1.0ms)[0m commit transaction
|
583
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 47 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
584
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
585
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
586
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
587
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
588
|
-
[1m[35m (0.0ms)[0m begin transaction
|
589
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
590
|
-
[1m[35m (1.1ms)[0m commit transaction
|
591
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
592
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
593
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
594
|
-
[1m[35m (0.0ms)[0m begin transaction
|
595
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["event_type", :Delete], ["object_id", 25], ["object_type", "Message"], ["recipient_id", 49], ["recipient_type", "User"], ["sender_id", 50], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
596
|
-
[1m[35m (0.9ms)[0m commit transaction
|
597
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 49 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
598
|
-
[1m[35m (0.0ms)[0m begin transaction
|
599
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
600
|
-
[1m[35m (0.9ms)[0m commit transaction
|
601
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
602
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
603
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
604
|
-
[1m[35m (0.0ms)[0m begin transaction
|
605
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
606
|
-
[1m[35m (0.8ms)[0m commit transaction
|
607
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
608
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["event_type", :Send], ["object_id", 26], ["object_type", "Message"], ["recipient_id", 51], ["recipient_type", "User"], ["sender_id", 52], ["sender_type", 0], ["text", "Bob Smith has sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
609
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
610
|
-
[1m[35m (0.0ms)[0m begin transaction
|
611
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["event_type", :Send], ["object_id", 26], ["object_type", "Message"], ["recipient_id", 52], ["recipient_type", "User"], ["sender_id", 52], ["sender_type", 0], ["text", "You have sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
612
|
-
[1m[35m (1.0ms)[0m commit transaction
|
613
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 51[0m
|
614
|
-
[1m[35m (0.1ms)[0m begin transaction
|
615
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
616
|
-
[1m[35m (1.1ms)[0m commit transaction
|
617
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
618
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
619
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
620
|
-
[1m[35m (0.0ms)[0m begin transaction
|
621
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
622
|
-
[1m[35m (1.1ms)[0m commit transaction
|
623
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
624
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00], ["event_type", :Update], ["object_id", 54], ["object_type", "User"], ["recipient_id", 54], ["recipient_type", "User"], ["sender_id", 54], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 21:10:49 UTC +00:00]]
|
625
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
626
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 53 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
627
|
-
Connecting to database specified by database.yml
|
628
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
629
|
-
[1m[35mSQL (5.8ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
630
|
-
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
631
|
-
[1m[35m (0.1ms)[0m begin transaction
|
632
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
633
|
-
[1m[35m (1.1ms)[0m commit transaction
|
634
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
635
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
636
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
637
|
-
[1m[35m (0.1ms)[0m begin transaction
|
638
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["event_type", :Create], ["object_id", 28], ["object_type", "Message"], ["recipient_id", 55], ["recipient_type", "User"], ["sender_id", 56], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
639
|
-
[1m[35m (1.1ms)[0m commit transaction
|
640
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 55 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
641
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
8
|
+
[1m[36m (31.0ms)[0m [1mselect sqlite_version(*)[0m
|
9
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
10
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
11
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
12
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
13
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
14
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
15
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
16
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
17
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
642
18
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
643
|
-
[1m[
|
644
|
-
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
645
|
-
[1m[35m (0.0ms)[0m begin transaction
|
646
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
647
|
-
[1m[35m (0.9ms)[0m commit transaction
|
648
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
649
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
650
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
651
|
-
[1m[35m (0.0ms)[0m begin transaction
|
652
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["event_type", :Delete], ["object_id", 29], ["object_type", "Message"], ["recipient_id", 57], ["recipient_type", "User"], ["sender_id", 58], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
653
|
-
[1m[35m (1.4ms)[0m commit transaction
|
654
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 57 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
655
|
-
[1m[35m (0.1ms)[0m begin transaction
|
656
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
657
|
-
[1m[35m (1.4ms)[0m commit transaction
|
658
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
659
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
660
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
661
|
-
[1m[35m (0.0ms)[0m begin transaction
|
662
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
663
|
-
[1m[35m (1.1ms)[0m commit transaction
|
19
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
664
20
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
665
|
-
[1m[35mSQL (
|
666
|
-
[1m[36m (
|
21
|
+
[1m[35mSQL (29.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
22
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
667
23
|
[1m[35m (0.0ms)[0m begin transaction
|
668
|
-
[1m[36mSQL (0.
|
669
|
-
[1m[35m (
|
670
|
-
[1m[36mNewsFeedEvent Load (0.4ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" [0m
|
671
|
-
[1m[35m (0.1ms)[0m begin transaction
|
672
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
673
|
-
[1m[35m (3.1ms)[0m commit transaction
|
674
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
675
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
676
|
-
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
677
|
-
[1m[35m (0.1ms)[0m begin transaction
|
678
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
679
|
-
[1m[35m (2.5ms)[0m commit transaction
|
680
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
681
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00], ["event_type", :Update], ["object_id", 62], ["object_type", "User"], ["recipient_id", 62], ["recipient_type", "User"], ["sender_id", 62], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 21:11:19 UTC +00:00]]
|
682
|
-
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
683
|
-
[1m[35mNewsFeedEvent Load (0.3ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 61 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
684
|
-
Connecting to database specified by database.yml
|
685
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
686
|
-
[1m[35mSQL (6.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:12:30 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:30 UTC +00:00]]
|
687
|
-
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
688
|
-
[1m[35m (0.1ms)[0m begin transaction
|
689
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:12:30 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:30 UTC +00:00]]
|
690
|
-
[1m[35m (0.9ms)[0m commit transaction
|
24
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
25
|
+
[1m[35m (0.0ms)[0m commit transaction
|
691
26
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
692
|
-
[1m[35mSQL (0.
|
693
|
-
[1m[36m (
|
27
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
28
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
694
29
|
[1m[35m (0.1ms)[0m begin transaction
|
695
|
-
[1m[36mSQL (0.
|
696
|
-
[1m[35m (
|
697
|
-
[1m[36mNewsFeedEvent Load (0.
|
698
|
-
[1m[35mNewsFeedEvent Load (0.
|
30
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
31
|
+
[1m[35m (0.1ms)[0m commit transaction
|
32
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
33
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
699
34
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
700
|
-
[1m[35mSQL (0.
|
701
|
-
[1m[36m (
|
702
|
-
[1m[35m (0.1ms)[0m begin transaction
|
703
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00]]
|
704
|
-
[1m[35m (1.1ms)[0m commit transaction
|
705
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
706
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00]]
|
707
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
708
|
-
[1m[35m (0.1ms)[0m begin transaction
|
709
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00], ["event_type", :Delete], ["object_id", 33], ["object_type", "Message"], ["recipient_id", 65], ["recipient_type", "User"], ["sender_id", 66], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00]]
|
710
|
-
[1m[35m (1.3ms)[0m commit transaction
|
711
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 65 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
35
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
36
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
712
37
|
[1m[35m (0.0ms)[0m begin transaction
|
713
|
-
[1m[36mSQL (0.
|
714
|
-
[1m[35m (
|
38
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
39
|
+
[1m[35m (0.0ms)[0m commit transaction
|
715
40
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
716
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "
|
717
|
-
[1m[36m (
|
41
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
42
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
718
43
|
[1m[35m (0.0ms)[0m begin transaction
|
719
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "
|
720
|
-
[1m[35m (
|
721
|
-
[1m[
|
722
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00], ["event_type", :Send], ["object_id", 34], ["object_type", "Message"], ["recipient_id", 67], ["recipient_type", "User"], ["sender_id", 68], ["sender_type", 0], ["text", "Bob Smith has sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00]]
|
723
|
-
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
44
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
45
|
+
[1m[35m (0.1ms)[0m commit transaction
|
46
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
724
47
|
[1m[35m (0.1ms)[0m begin transaction
|
725
|
-
[1m[36mSQL (0.
|
726
|
-
[1m[35m (
|
727
|
-
[1m[36mNewsFeedEvent Load (0.4ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" [0m
|
728
|
-
[1m[35m (0.2ms)[0m begin transaction
|
729
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00]]
|
730
|
-
[1m[35m (1.3ms)[0m commit transaction
|
731
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
732
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00]]
|
733
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
734
|
-
[1m[35m (0.0ms)[0m begin transaction
|
735
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:31 UTC +00:00]]
|
736
|
-
[1m[35m (1.8ms)[0m commit transaction
|
48
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
49
|
+
[1m[35m (0.0ms)[0m commit transaction
|
737
50
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
738
|
-
[1m[35mSQL (0.
|
739
|
-
[1m[36m (
|
740
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 69 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
741
|
-
Connecting to database specified by database.yml
|
742
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
743
|
-
[1m[35mSQL (20.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
744
|
-
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
51
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
52
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
745
53
|
[1m[35m (0.0ms)[0m begin transaction
|
746
|
-
[1m[36mSQL (0.
|
747
|
-
[1m[35m (0.
|
54
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
55
|
+
[1m[35m (0.0ms)[0m commit transaction
|
748
56
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
749
|
-
[1m[35mSQL (0.
|
750
|
-
[1m[36m (
|
57
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
58
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
751
59
|
[1m[35m (0.1ms)[0m begin transaction
|
752
|
-
[1m[36mSQL (0.
|
753
|
-
[1m[35m (
|
754
|
-
[1m[
|
755
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
756
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
757
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
758
|
-
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
759
|
-
[1m[35m (0.0ms)[0m begin transaction
|
760
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
761
|
-
[1m[35m (1.9ms)[0m commit transaction
|
762
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
763
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
764
|
-
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
765
|
-
[1m[35m (0.0ms)[0m begin transaction
|
766
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["event_type", :Delete], ["object_id", 37], ["object_type", "Message"], ["recipient_id", 73], ["recipient_type", "User"], ["sender_id", 74], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
767
|
-
[1m[35m (2.4ms)[0m commit transaction
|
768
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 73 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
769
|
-
[1m[35m (0.0ms)[0m begin transaction
|
770
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
771
|
-
[1m[35m (2.0ms)[0m commit transaction
|
772
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
773
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
774
|
-
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
775
|
-
[1m[35m (0.0ms)[0m begin transaction
|
776
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
777
|
-
[1m[35m (2.0ms)[0m commit transaction
|
778
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
779
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["event_type", :Send], ["object_id", 38], ["object_type", "Message"], ["recipient_id", 75], ["recipient_type", "User"], ["sender_id", 76], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
780
|
-
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
781
|
-
[1m[35m (0.0ms)[0m begin transaction
|
782
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["event_type", :Send], ["object_id", 38], ["object_type", "Message"], ["recipient_id", 76], ["recipient_type", "User"], ["sender_id", 76], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
783
|
-
[1m[35m (1.2ms)[0m commit transaction
|
784
|
-
[1m[36mNewsFeedEvent Load (0.5ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" [0m
|
60
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
61
|
+
[1m[35m (0.0ms)[0m commit transaction
|
62
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
785
63
|
[1m[35m (0.1ms)[0m begin transaction
|
786
|
-
[1m[36mSQL (0.
|
787
|
-
[1m[35m (
|
64
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
65
|
+
[1m[35m (0.0ms)[0m commit transaction
|
788
66
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
789
|
-
[1m[35mSQL (0.
|
790
|
-
[1m[36m (
|
67
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
68
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
791
69
|
[1m[35m (0.0ms)[0m begin transaction
|
792
|
-
[1m[36mSQL (0.
|
793
|
-
[1m[35m (
|
794
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
795
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00], ["event_type", :Update], ["object_id", 78], ["object_type", "User"], ["recipient_id", 78], ["recipient_type", "User"], ["sender_id", 78], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 21:12:49 UTC +00:00]]
|
796
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
797
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 77 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
798
|
-
Connecting to database specified by database.yml
|
799
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
800
|
-
[1m[35mSQL (12.0ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
801
|
-
[1m[36m (7.6ms)[0m [1mcommit transaction[0m
|
802
|
-
[1m[35m (0.1ms)[0m begin transaction
|
803
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
804
|
-
[1m[35m (2.1ms)[0m commit transaction
|
805
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
806
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
807
|
-
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
808
|
-
[1m[35m (0.1ms)[0m begin transaction
|
809
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["event_type", :Create], ["object_id", 40], ["object_type", "Message"], ["recipient_id", 79], ["recipient_type", "User"], ["sender_id", 80], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
810
|
-
[1m[35m (6.5ms)[0m commit transaction
|
811
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 79 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
812
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
70
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
71
|
+
[1m[35m (0.0ms)[0m commit transaction
|
813
72
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
814
|
-
[1m[35mSQL (0.
|
815
|
-
[1m[36m (
|
73
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
74
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
816
75
|
[1m[35m (0.0ms)[0m begin transaction
|
817
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "
|
818
|
-
[1m[35m (
|
76
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
77
|
+
[1m[35m (0.0ms)[0m commit transaction
|
78
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
79
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
819
80
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
820
|
-
[1m[35mSQL (0.
|
821
|
-
[1m[36m (
|
81
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
82
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
822
83
|
[1m[35m (0.0ms)[0m begin transaction
|
823
|
-
[1m[36mSQL (0.
|
824
|
-
[1m[35m (
|
825
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 81 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
826
|
-
[1m[35m (0.0ms)[0m begin transaction
|
827
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
828
|
-
[1m[35m (1.3ms)[0m commit transaction
|
84
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
85
|
+
[1m[35m (0.0ms)[0m commit transaction
|
829
86
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
830
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "
|
831
|
-
[1m[36m (
|
87
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
88
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
832
89
|
[1m[35m (0.0ms)[0m begin transaction
|
833
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "
|
834
|
-
[1m[35m (
|
835
|
-
[1m[
|
836
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["event_type", :Send], ["object_id", 42], ["object_type", "Message"], ["recipient_id", 83], ["recipient_type", "User"], ["sender_id", 84], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
837
|
-
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
838
|
-
[1m[35m (0.1ms)[0m begin transaction
|
839
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["event_type", :Send], ["object_id", 42], ["object_type", "Message"], ["recipient_id", 84], ["recipient_type", "User"], ["sender_id", 84], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
840
|
-
[1m[35m (2.3ms)[0m commit transaction
|
841
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 83 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
842
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 84 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
843
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
844
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
845
|
-
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
846
|
-
[1m[35m (0.1ms)[0m begin transaction
|
847
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
848
|
-
[1m[35m (1.8ms)[0m commit transaction
|
849
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
850
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
851
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
852
|
-
[1m[35m (0.1ms)[0m begin transaction
|
853
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00], ["event_type", :Update], ["object_id", 86], ["object_type", "User"], ["recipient_id", 86], ["recipient_type", "User"], ["sender_id", 86], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 21:13:34 UTC +00:00]]
|
854
|
-
[1m[35m (2.9ms)[0m commit transaction
|
855
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 85 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
90
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 03:18:23 UTC +00:00]]
|
91
|
+
[1m[35m (0.0ms)[0m commit transaction
|
92
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
856
93
|
Connecting to database specified by database.yml
|
94
|
+
[1m[36m (29.8ms)[0m [1mselect sqlite_version(*)[0m
|
95
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
96
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
97
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
98
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
99
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
100
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
101
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
102
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
103
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
857
104
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
858
|
-
[1m[
|
859
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
860
|
-
[1m[35m (0.1ms)[0m begin transaction
|
861
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:07 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:07 UTC +00:00]]
|
862
|
-
[1m[35m (1.3ms)[0m commit transaction
|
863
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
864
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
865
|
-
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
866
|
-
[1m[35m (0.1ms)[0m begin transaction
|
867
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["event_type", :Create], ["object_id", 44], ["object_type", "Message"], ["recipient_id", 87], ["recipient_type", "User"], ["sender_id", 88], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
868
|
-
[1m[35m (1.5ms)[0m commit transaction
|
869
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 87 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
870
|
-
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
105
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
871
106
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
872
|
-
[1m[35mSQL (
|
873
|
-
[1m[36m (
|
874
|
-
[1m[35m (0.0ms)[0m begin transaction
|
875
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
876
|
-
[1m[35m (1.2ms)[0m commit transaction
|
877
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
878
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
879
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
880
|
-
[1m[35m (0.0ms)[0m begin transaction
|
881
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["event_type", :Delete], ["object_id", 45], ["object_type", "Message"], ["recipient_id", 89], ["recipient_type", "User"], ["sender_id", 90], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
882
|
-
[1m[35m (1.1ms)[0m commit transaction
|
883
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 89 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
884
|
-
[1m[35m (0.0ms)[0m begin transaction
|
885
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
886
|
-
[1m[35m (2.4ms)[0m commit transaction
|
887
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
888
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
889
|
-
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
890
|
-
[1m[35m (0.0ms)[0m begin transaction
|
891
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
892
|
-
[1m[35m (2.2ms)[0m commit transaction
|
893
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
894
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["event_type", :Send], ["object_id", 46], ["object_type", "Message"], ["recipient_id", 91], ["recipient_type", "User"], ["sender_id", 92], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
895
|
-
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
896
|
-
[1m[35m (0.0ms)[0m begin transaction
|
897
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["event_type", :Send], ["object_id", 46], ["object_type", "Message"], ["recipient_id", 92], ["recipient_type", "User"], ["sender_id", 92], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
898
|
-
[1m[35m (2.0ms)[0m commit transaction
|
899
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 91 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
900
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 92 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
901
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
902
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
903
|
-
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
904
|
-
[1m[35m (0.1ms)[0m begin transaction
|
905
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
906
|
-
[1m[35m (1.6ms)[0m commit transaction
|
907
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
908
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:08 UTC +00:00]]
|
909
|
-
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
107
|
+
[1m[35mSQL (38.6ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
108
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
910
109
|
[1m[35m (0.0ms)[0m begin transaction
|
911
|
-
[1m[36mSQL (0.
|
912
|
-
[1m[35m (
|
913
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 94[0m
|
914
|
-
Connecting to database specified by database.yml
|
110
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
111
|
+
[1m[35m (0.0ms)[0m commit transaction
|
915
112
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
916
|
-
[1m[35mSQL (
|
917
|
-
[1m[36m (
|
113
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
114
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
918
115
|
[1m[35m (0.1ms)[0m begin transaction
|
919
|
-
[1m[36mSQL (0.
|
920
|
-
[1m[35m (0.
|
921
|
-
[1m[
|
922
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
923
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
924
|
-
[1m[35m (0.1ms)[0m begin transaction
|
925
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["event_type", :Create], ["object_id", 48], ["object_type", "Message"], ["recipient_id", 95], ["recipient_type", "User"], ["sender_id", 96], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
926
|
-
[1m[35m (1.1ms)[0m commit transaction
|
927
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 95 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
116
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
117
|
+
[1m[35m (0.1ms)[0m commit transaction
|
118
|
+
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
928
119
|
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
929
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
930
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
931
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
932
|
-
[1m[35m (0.0ms)[0m begin transaction
|
933
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
934
|
-
[1m[35m (0.9ms)[0m commit transaction
|
935
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
936
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
937
|
-
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
938
|
-
[1m[35m (0.1ms)[0m begin transaction
|
939
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["event_type", :Delete], ["object_id", 49], ["object_type", "Message"], ["recipient_id", 97], ["recipient_type", "User"], ["sender_id", 98], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
940
|
-
[1m[35m (1.2ms)[0m commit transaction
|
941
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 97 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
942
|
-
[1m[35m (0.1ms)[0m begin transaction
|
943
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
944
|
-
[1m[35m (1.0ms)[0m commit transaction
|
945
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
946
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
947
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
948
|
-
[1m[35m (0.0ms)[0m begin transaction
|
949
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
950
|
-
[1m[35m (1.2ms)[0m commit transaction
|
951
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
952
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["event_type", :Send], ["object_id", 50], ["object_type", "Message"], ["recipient_id", 99], ["recipient_type", "User"], ["sender_id", 100], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
953
|
-
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
954
|
-
[1m[35m (0.1ms)[0m begin transaction
|
955
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["event_type", :Send], ["object_id", 50], ["object_type", "Message"], ["recipient_id", 100], ["recipient_type", "User"], ["sender_id", 100], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
956
|
-
[1m[35m (2.8ms)[0m commit transaction
|
957
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 99 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
958
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 100 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
959
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
960
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
961
|
-
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
962
|
-
[1m[35m (0.0ms)[0m begin transaction
|
963
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:14:38 UTC +00:00]]
|
964
|
-
[1m[35m (1.8ms)[0m commit transaction
|
965
120
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
966
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "
|
967
|
-
[1m[36m (
|
121
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
122
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
968
123
|
[1m[35m (0.0ms)[0m begin transaction
|
969
|
-
[1m[36mSQL (0.
|
970
|
-
[1m[35m (
|
971
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 101 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
972
|
-
Connecting to database specified by database.yml
|
973
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
974
|
-
[1m[35mSQL (6.7ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
975
|
-
[1m[36m (16.2ms)[0m [1mcommit transaction[0m
|
976
|
-
[1m[35m (0.1ms)[0m begin transaction
|
977
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
978
|
-
[1m[35m (1.4ms)[0m commit transaction
|
124
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
125
|
+
[1m[35m (0.0ms)[0m commit transaction
|
979
126
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
980
|
-
[1m[35mSQL (0.
|
981
|
-
[1m[36m (
|
982
|
-
[1m[35m (0.1ms)[0m begin transaction
|
983
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["event_type", :Create], ["object_id", 52], ["object_type", "Message"], ["recipient_id", 103], ["recipient_type", "User"], ["sender_id", 104], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
984
|
-
[1m[35m (1.2ms)[0m commit transaction
|
985
|
-
[1m[36mNewsFeedEvent Load (0.5ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 103 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
986
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
987
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
988
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
989
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
990
|
-
[1m[35m (0.1ms)[0m begin transaction
|
991
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
992
|
-
[1m[35m (1.1ms)[0m commit transaction
|
993
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
994
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
995
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
996
|
-
[1m[35m (0.1ms)[0m begin transaction
|
997
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["event_type", :Delete], ["object_id", 53], ["object_type", "Message"], ["recipient_id", 105], ["recipient_type", "User"], ["sender_id", 106], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
998
|
-
[1m[35m (1.1ms)[0m commit transaction
|
999
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 105 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
127
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
128
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1000
129
|
[1m[35m (0.0ms)[0m begin transaction
|
1001
|
-
[1m[36mSQL (0.
|
1002
|
-
[1m[35m (
|
1003
|
-
[1m[
|
1004
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
1005
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
1006
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1007
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
1008
|
-
[1m[35m (0.9ms)[0m commit transaction
|
1009
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1010
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["event_type", :Send], ["object_id", 54], ["object_type", "Message"], ["recipient_id", 107], ["recipient_type", "User"], ["sender_id", 108], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
1011
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1012
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1013
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["event_type", :Send], ["object_id", 54], ["object_type", "Message"], ["recipient_id", 108], ["recipient_type", "User"], ["sender_id", 108], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
1014
|
-
[1m[35m (1.0ms)[0m commit transaction
|
1015
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 107 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1016
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 108 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1017
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1018
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
1019
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
130
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
131
|
+
[1m[35m (0.0ms)[0m commit transaction
|
132
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1020
133
|
[1m[35m (0.0ms)[0m begin transaction
|
1021
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at",
|
1022
|
-
[1m[35m (0.
|
134
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
135
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1023
136
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1024
|
-
[1m[35mSQL (0.
|
1025
|
-
[1m[36m (
|
1026
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1027
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00], ["event_type", :Update], ["object_id", 110], ["object_type", "User"], ["recipient_id", 110], ["recipient_type", "User"], ["sender_id", 110], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 21:15:11 UTC +00:00]]
|
1028
|
-
[1m[35m (1.0ms)[0m commit transaction
|
1029
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 109 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1030
|
-
Connecting to database specified by database.yml
|
1031
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1032
|
-
[1m[35mSQL (3.9ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00]]
|
1033
|
-
[1m[36m (7.6ms)[0m [1mcommit transaction[0m
|
137
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
138
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1034
139
|
[1m[35m (0.0ms)[0m begin transaction
|
1035
|
-
[1m[36mSQL (0.
|
1036
|
-
[1m[35m (
|
1037
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1038
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00]]
|
1039
|
-
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
1040
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1041
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00], ["event_type", :Create], ["object_id", 56], ["object_type", "Message"], ["recipient_id", 111], ["recipient_type", "User"], ["sender_id", 112], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00]]
|
1042
|
-
[1m[35m (5.2ms)[0m commit transaction
|
1043
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 111 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1044
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
140
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
141
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1045
142
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1046
|
-
[1m[35mSQL (0.
|
1047
|
-
[1m[36m (
|
1048
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1049
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00]]
|
1050
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1051
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1052
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00]]
|
1053
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
143
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
144
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1054
145
|
[1m[35m (0.0ms)[0m begin transaction
|
1055
|
-
[1m[36mSQL (0.
|
1056
|
-
[1m[35m (
|
1057
|
-
[1m[
|
146
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
147
|
+
[1m[35m (0.0ms)[0m commit transaction
|
148
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
1058
149
|
[1m[35m (0.0ms)[0m begin transaction
|
1059
|
-
[1m[36mSQL (0.
|
1060
|
-
[1m[35m (
|
150
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
151
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1061
152
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1062
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at",
|
1063
|
-
[1m[36m (
|
153
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
154
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1064
155
|
[1m[35m (0.0ms)[0m begin transaction
|
1065
|
-
[1m[36mSQL (0.
|
1066
|
-
[1m[35m (
|
1067
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1068
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00], ["event_type", :Send], ["object_id", 58], ["object_type", "Message"], ["recipient_id", 115], ["recipient_type", "User"], ["sender_id", 116], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00]]
|
1069
|
-
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
1070
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1071
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00], ["event_type", :Send], ["object_id", 58], ["object_type", "Message"], ["recipient_id", 116], ["recipient_type", "User"], ["sender_id", 116], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00]]
|
1072
|
-
[1m[35m (2.3ms)[0m commit transaction
|
1073
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 115 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1074
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 116 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1075
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1076
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00]]
|
1077
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
1078
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1079
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00]]
|
1080
|
-
[1m[35m (2.1ms)[0m commit transaction
|
156
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
157
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1081
158
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1082
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "
|
1083
|
-
[1m[36m (
|
1084
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1085
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00], ["event_type", :Update], ["object_id", 118], ["object_type", "User"], ["recipient_id", 118], ["recipient_type", "User"], ["sender_id", 118], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 21:15:38 UTC +00:00]]
|
1086
|
-
[1m[35m (2.4ms)[0m commit transaction
|
1087
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 117 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1088
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 117
|
1089
|
-
Connecting to database specified by database.yml
|
1090
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1091
|
-
[1m[35mSQL (5.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00]]
|
1092
|
-
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
1093
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1094
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00]]
|
1095
|
-
[1m[35m (1.0ms)[0m commit transaction
|
1096
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1097
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00]]
|
1098
|
-
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
159
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
160
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1099
161
|
[1m[35m (0.1ms)[0m begin transaction
|
1100
|
-
[1m[36mSQL (0.
|
1101
|
-
[1m[35m (
|
1102
|
-
[1m[36mNewsFeedEvent Load (0.
|
1103
|
-
[1m[35mNewsFeedEvent Load (0.
|
1104
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1105
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00]]
|
1106
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
1107
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1108
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00]]
|
1109
|
-
[1m[35m (0.9ms)[0m commit transaction
|
1110
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1111
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00]]
|
1112
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
1113
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1114
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00], ["event_type", :Delete], ["object_id", 61], ["object_type", "Message"], ["recipient_id", 121], ["recipient_type", "User"], ["sender_id", 122], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:16:04 UTC +00:00]]
|
1115
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1116
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 121 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1117
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1118
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:05 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:05 UTC +00:00]]
|
1119
|
-
[1m[35m (1.2ms)[0m commit transaction
|
162
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
163
|
+
[1m[35m (0.0ms)[0m commit transaction
|
164
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
165
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1120
166
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1121
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at",
|
1122
|
-
[1m[36m (
|
167
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
168
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1123
169
|
[1m[35m (0.0ms)[0m begin transaction
|
1124
|
-
[1m[36mSQL (0.
|
1125
|
-
[1m[35m (0.
|
170
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
171
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1126
172
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1127
|
-
[1m[35mSQL (0.
|
1128
|
-
[1m[36m (0.
|
173
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
174
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1129
175
|
[1m[35m (0.0ms)[0m begin transaction
|
1130
|
-
[1m[36mSQL (0.
|
1131
|
-
[1m[35m (
|
1132
|
-
[1m[36mNewsFeedEvent Load (0.
|
1133
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 124 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1134
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1135
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:05 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:05 UTC +00:00]]
|
1136
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1137
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1138
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:05 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:05 UTC +00:00]]
|
1139
|
-
[1m[35m (1.0ms)[0m commit transaction
|
1140
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1141
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:05 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:05 UTC +00:00]]
|
1142
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1143
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1144
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:05 UTC +00:00], ["event_type", :Update], ["object_id", 126], ["object_type", "User"], ["recipient_id", 126], ["recipient_type", "User"], ["sender_id", 126], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 21:16:05 UTC +00:00]]
|
1145
|
-
[1m[35m (2.6ms)[0m commit transaction
|
1146
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 126 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
176
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 03:19:30 UTC +00:00]]
|
177
|
+
[1m[35m (0.0ms)[0m commit transaction
|
178
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1147
179
|
Connecting to database specified by database.yml
|
180
|
+
[1m[36m (37.7ms)[0m [1mselect sqlite_version(*)[0m
|
181
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
182
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
183
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
184
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
185
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
186
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
187
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
188
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
189
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
1148
190
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1149
|
-
[1m[
|
1150
|
-
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
1151
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1152
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1153
|
-
[1m[35m (1.7ms)[0m commit transaction
|
1154
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1155
|
-
[1m[35mSQL (6.7ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1156
|
-
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
1157
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1158
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["event_type", :Create], ["object_id", 64], ["object_type", "Message"], ["recipient_id", 127], ["recipient_type", "User"], ["sender_id", 128], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1159
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1160
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 127 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1161
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1162
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1163
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1164
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1165
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1166
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1167
|
-
[1m[35m (0.9ms)[0m commit transaction
|
1168
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1169
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1170
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1171
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1172
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["event_type", :Delete], ["object_id", 65], ["object_type", "Message"], ["recipient_id", 129], ["recipient_type", "User"], ["sender_id", 130], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1173
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1174
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 129 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1175
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1176
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1177
|
-
[1m[35m (0.9ms)[0m commit transaction
|
1178
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1179
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1180
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1181
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1182
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1183
|
-
[1m[35m (1.1ms)[0m commit transaction
|
1184
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1185
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["event_type", :Send], ["object_id", 66], ["object_type", "Message"], ["recipient_id", 131], ["recipient_type", "User"], ["sender_id", 132], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1186
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
1187
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1188
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["event_type", :Send], ["object_id", 66], ["object_type", "Message"], ["recipient_id", 132], ["recipient_type", "User"], ["sender_id", 132], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1189
|
-
[1m[35m (1.0ms)[0m commit transaction
|
1190
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 131 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1191
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 132 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1192
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1193
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1194
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1195
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1196
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1197
|
-
[1m[35m (0.9ms)[0m commit transaction
|
1198
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1199
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1200
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1201
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1202
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00], ["event_type", :Update], ["object_id", 134], ["object_type", "User"], ["recipient_id", 134], ["recipient_type", "User"], ["sender_id", 134], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 21:16:35 UTC +00:00]]
|
1203
|
-
[1m[35m (1.0ms)[0m commit transaction
|
1204
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 134 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1205
|
-
Connecting to database specified by database.yml
|
191
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1206
192
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1207
|
-
[1m[35mSQL (
|
1208
|
-
[1m[36m (
|
193
|
+
[1m[35mSQL (31.8ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
194
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1209
195
|
[1m[35m (0.1ms)[0m begin transaction
|
1210
|
-
[1m[36mSQL (0.
|
1211
|
-
[1m[35m (
|
196
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
197
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1212
198
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1213
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at",
|
1214
|
-
[1m[36m (
|
199
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
200
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1215
201
|
[1m[35m (0.1ms)[0m begin transaction
|
1216
|
-
[1m[36mSQL (0.
|
1217
|
-
[1m[35m (
|
1218
|
-
[1m[36mNewsFeedEvent Load (0.
|
1219
|
-
[1m[35mNewsFeedEvent Load (0.
|
1220
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1221
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1222
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1223
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1224
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1225
|
-
[1m[35m (1.0ms)[0m commit transaction
|
202
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
203
|
+
[1m[35m (0.0ms)[0m commit transaction
|
204
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
205
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1226
206
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1227
|
-
[1m[35mSQL (0.
|
1228
|
-
[1m[36m (
|
1229
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1230
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["event_type", :Delete], ["object_id", 69], ["object_type", "Message"], ["recipient_id", 137], ["recipient_type", "User"], ["sender_id", 138], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1231
|
-
[1m[35m (1.1ms)[0m commit transaction
|
1232
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 137 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
207
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
208
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1233
209
|
[1m[35m (0.0ms)[0m begin transaction
|
1234
|
-
[1m[36mSQL (0.
|
1235
|
-
[1m[35m (
|
210
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
211
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1236
212
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1237
|
-
[1m[35mSQL (0.
|
1238
|
-
[1m[36m (
|
213
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
214
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1239
215
|
[1m[35m (0.0ms)[0m begin transaction
|
1240
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "
|
1241
|
-
[1m[35m (0.
|
1242
|
-
[1m[
|
1243
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["event_type", :Delete], ["object_id", 70], ["object_type", "Message"], ["recipient_id", 139], ["recipient_type", "User"], ["sender_id", 140], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1244
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1245
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1246
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["event_type", :Create], ["object_id", 70], ["object_type", "Message"], ["recipient_id", 139], ["recipient_type", "User"], ["sender_id", 140], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1247
|
-
[1m[35m (0.9ms)[0m commit transaction
|
1248
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 139[0m
|
1249
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1250
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1251
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1252
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1253
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1254
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
216
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
217
|
+
[1m[35m (0.0ms)[0m commit transaction
|
218
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1255
219
|
[1m[35m (0.0ms)[0m begin transaction
|
1256
|
-
[1m[36mSQL (0.
|
1257
|
-
[1m[35m (0.
|
1258
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1259
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["event_type", :Send], ["object_id", 71], ["object_type", "Message"], ["recipient_id", 141], ["recipient_type", "User"], ["sender_id", 142], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1260
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1261
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1262
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["event_type", :Send], ["object_id", 71], ["object_type", "Message"], ["recipient_id", 142], ["recipient_type", "User"], ["sender_id", 142], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1263
|
-
[1m[35m (2.7ms)[0m commit transaction
|
1264
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 141 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1265
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 142 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
220
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
221
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1266
222
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1267
|
-
[1m[35mSQL (0.
|
1268
|
-
[1m[36m (
|
1269
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1270
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1271
|
-
[1m[35m (2.3ms)[0m commit transaction
|
1272
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1273
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1274
|
-
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
1275
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1276
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00], ["event_type", :Update], ["object_id", 144], ["object_type", "User"], ["recipient_id", 144], ["recipient_type", "User"], ["sender_id", 144], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 21:17:53 UTC +00:00]]
|
1277
|
-
[1m[35m (3.0ms)[0m commit transaction
|
1278
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 144 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1279
|
-
Connecting to database specified by database.yml
|
1280
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1281
|
-
[1m[35mSQL (5.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1282
|
-
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
1283
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1284
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1285
|
-
[1m[35m (1.0ms)[0m commit transaction
|
1286
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1287
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1288
|
-
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
1289
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1290
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["event_type", :Create], ["object_id", 73], ["object_type", "Message"], ["recipient_id", 145], ["recipient_type", "User"], ["sender_id", 146], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1291
|
-
[1m[35m (1.0ms)[0m commit transaction
|
1292
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 145 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1293
|
-
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1294
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1295
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1296
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
223
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
224
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1297
225
|
[1m[35m (0.0ms)[0m begin transaction
|
1298
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "
|
1299
|
-
[1m[35m (
|
1300
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1301
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1302
|
-
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
1303
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1304
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["event_type", :Delete], ["object_id", 74], ["object_type", "Message"], ["recipient_id", 147], ["recipient_type", "User"], ["sender_id", 148], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1305
|
-
[1m[35m (2.4ms)[0m commit transaction
|
1306
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 147 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1307
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1308
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1309
|
-
[1m[35m (1.0ms)[0m commit transaction
|
226
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
227
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1310
228
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1311
|
-
[1m[35mSQL (0.
|
1312
|
-
[1m[36m (
|
229
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
230
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1313
231
|
[1m[35m (0.0ms)[0m begin transaction
|
1314
|
-
[1m[36mSQL (0.
|
1315
|
-
[1m[35m (
|
1316
|
-
[1m[36m (0.
|
1317
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["event_type", :Delete], ["object_id", 75], ["object_type", "Message"], ["recipient_id", 149], ["recipient_type", "User"], ["sender_id", 150], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1318
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
232
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
233
|
+
[1m[35m (0.0ms)[0m commit transaction
|
234
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
1319
235
|
[1m[35m (0.0ms)[0m begin transaction
|
1320
|
-
[1m[36mSQL (0.
|
1321
|
-
[1m[35m (
|
1322
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 149[0m
|
1323
|
-
[1m[35mNewsFeedEvent Load (0.3ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 75
|
236
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
237
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1324
238
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1325
|
-
[1m[35mSQL (0.
|
1326
|
-
[1m[36m (
|
239
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
240
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1327
241
|
[1m[35m (0.0ms)[0m begin transaction
|
1328
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "
|
1329
|
-
[1m[35m (
|
1330
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1331
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1332
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1333
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1334
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["event_type", :Send], ["object_id", 76], ["object_type", "Message"], ["recipient_id", 151], ["recipient_type", "User"], ["sender_id", 152], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1335
|
-
[1m[35m (1.2ms)[0m commit transaction
|
242
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
243
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1336
244
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1337
|
-
[1m[35mSQL (0.
|
1338
|
-
[1m[36m (
|
1339
|
-
[1m[35mNewsFeedEvent Load (0.3ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 151 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1340
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 152 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1341
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1342
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1343
|
-
[1m[35m (1.3ms)[0m commit transaction
|
1344
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1345
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:18:16 UTC +00:00]]
|
1346
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
245
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
246
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1347
247
|
[1m[35m (0.0ms)[0m begin transaction
|
1348
|
-
[1m[36mSQL (0.
|
1349
|
-
[1m[35m (
|
1350
|
-
[1m[
|
1351
|
-
[1m[
|
1352
|
-
[1m[36m (
|
1353
|
-
[1m[
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
248
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
249
|
+
[1m[35m (0.0ms)[0m commit transaction
|
250
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
251
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
252
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
253
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
254
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
255
|
+
[1m[35m (0.0ms)[0m begin transaction
|
256
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
257
|
+
[1m[35m (0.0ms)[0m commit transaction
|
258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
259
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
260
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
261
|
+
[1m[35m (0.0ms)[0m begin transaction
|
262
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 03:20:00 UTC +00:00]]
|
263
|
+
[1m[35m (0.0ms)[0m commit transaction
|
264
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1358
265
|
Connecting to database specified by database.yml
|
1359
|
-
[1m[36m (
|
266
|
+
[1m[36m (34.5ms)[0m [1mselect sqlite_version(*)[0m
|
267
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
268
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
269
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
270
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
271
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
272
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
273
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
274
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
275
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1360
277
|
[1m[35m (0.1ms)[0m rollback transaction
|
1361
278
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1362
|
-
[1m[35mSQL (
|
1363
|
-
[1m[36m (
|
279
|
+
[1m[35mSQL (43.6ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
280
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1364
281
|
[1m[35m (0.1ms)[0m begin transaction
|
1365
|
-
[1m[36mSQL (0.
|
1366
|
-
[1m[35m (
|
282
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
283
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1367
284
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1368
|
-
[1m[35mSQL (0.
|
1369
|
-
[1m[36m (
|
285
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
286
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1370
287
|
[1m[35m (0.1ms)[0m begin transaction
|
1371
|
-
[1m[36mSQL (
|
1372
|
-
[1m[35m (
|
1373
|
-
[1m[36mNewsFeedEvent Load (
|
1374
|
-
[1m[35mNewsFeedEvent Load (0.
|
1375
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1376
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:50:13 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:50:13 UTC +00:00]]
|
1377
|
-
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
1378
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1379
|
-
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:50:13 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:50:13 UTC +00:00]]
|
1380
|
-
[1m[35m (2.9ms)[0m commit transaction
|
288
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
289
|
+
[1m[35m (0.1ms)[0m commit transaction
|
290
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
291
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1381
292
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1382
|
-
[1m[35mSQL (0.
|
1383
|
-
[1m[36m (
|
1384
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1385
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:50:13 UTC +00:00], ["event_type", :Delete], ["object_id", 79], ["object_type", "Message"], ["recipient_id", 157], ["recipient_type", "User"], ["sender_id", 158], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:50:13 UTC +00:00]]
|
1386
|
-
[1m[35m (2.1ms)[0m commit transaction
|
1387
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 157 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
293
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
294
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1388
295
|
[1m[35m (0.0ms)[0m begin transaction
|
1389
|
-
[1m[36mSQL (0.
|
1390
|
-
[1m[35m (
|
1391
|
-
[1m[36m (0.
|
1392
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "
|
1393
|
-
[1m[36m (
|
296
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
297
|
+
[1m[35m (0.0ms)[0m commit transaction
|
298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
299
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
300
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1394
301
|
[1m[35m (0.0ms)[0m begin transaction
|
1395
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "
|
1396
|
-
[1m[35m (
|
1397
|
-
[1m[
|
1398
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:50:13 UTC +00:00], ["event_type", :Delete], ["object_id", 80], ["object_type", "Message"], ["recipient_id", 159], ["recipient_type", "User"], ["sender_id", 160], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:50:13 UTC +00:00]]
|
1399
|
-
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
302
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
303
|
+
[1m[35m (0.0ms)[0m commit transaction
|
304
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1400
305
|
[1m[35m (0.0ms)[0m begin transaction
|
1401
|
-
[1m[36mSQL (0.
|
1402
|
-
[1m[35m (
|
1403
|
-
[1m[36m (0.
|
306
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
307
|
+
[1m[35m (0.0ms)[0m commit transaction
|
308
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
309
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
310
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1404
311
|
[1m[35m (0.0ms)[0m begin transaction
|
1405
|
-
[1m[36mSQL (0.
|
1406
|
-
[1m[35m (
|
312
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
313
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1407
314
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1408
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "
|
1409
|
-
[1m[36m (
|
315
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
316
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1410
317
|
[1m[35m (0.0ms)[0m begin transaction
|
1411
|
-
[1m[36mSQL (0.
|
1412
|
-
[1m[35m (
|
318
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
319
|
+
[1m[35m (0.0ms)[0m commit transaction
|
320
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
321
|
+
[1m[35m (0.0ms)[0m begin transaction
|
322
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
323
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1413
324
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1414
|
-
[1m[35mSQL (0.
|
1415
|
-
[1m[36m (
|
325
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
326
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1416
327
|
[1m[35m (0.0ms)[0m begin transaction
|
1417
|
-
[1m[36mSQL (0.
|
1418
|
-
[1m[35m (
|
1419
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 161 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1420
|
-
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 162 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
328
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
329
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1421
330
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1422
|
-
[1m[35mSQL (0.
|
1423
|
-
[1m[36m (
|
331
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
332
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1424
333
|
[1m[35m (0.0ms)[0m begin transaction
|
1425
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "
|
1426
|
-
[1m[35m (
|
334
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
335
|
+
[1m[35m (0.0ms)[0m commit transaction
|
336
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
337
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
339
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
340
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
341
|
+
[1m[35m (0.1ms)[0m begin transaction
|
342
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
343
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1427
344
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1428
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at",
|
1429
|
-
[1m[36m (
|
345
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
346
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1430
347
|
[1m[35m (0.0ms)[0m begin transaction
|
1431
|
-
[1m[36mSQL (0.
|
1432
|
-
[1m[35m (
|
1433
|
-
[1m[36mNewsFeedEvent Load (0.
|
348
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 03:20:27 UTC +00:00]]
|
349
|
+
[1m[35m (0.0ms)[0m commit transaction
|
350
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
351
|
+
Connecting to database specified by database.yml
|
352
|
+
[1m[36m (43.9ms)[0m [1mselect sqlite_version(*)[0m
|
353
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
354
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
355
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
356
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
357
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
358
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
359
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
360
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
361
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
1434
362
|
Connecting to database specified by database.yml
|
1435
|
-
[1m[36m (
|
363
|
+
[1m[36m (32.2ms)[0m [1mselect sqlite_version(*)[0m
|
364
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
365
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
366
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
367
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
368
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
369
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
370
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
371
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
372
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
373
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1436
374
|
[1m[35m (0.0ms)[0m rollback transaction
|
1437
375
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1438
|
-
[1m[35mSQL (
|
1439
|
-
[1m[36m (
|
376
|
+
[1m[35mSQL (4.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
377
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1440
378
|
[1m[35m (0.1ms)[0m begin transaction
|
1441
|
-
[1m[36mSQL (0.
|
1442
|
-
[1m[35m (0.
|
379
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
380
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1443
381
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1444
|
-
[1m[35mSQL (0.
|
1445
|
-
[1m[36m (
|
382
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
383
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1446
384
|
[1m[35m (0.1ms)[0m begin transaction
|
1447
|
-
[1m[36mSQL (0.
|
1448
|
-
[1m[35m (
|
1449
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" =
|
385
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
386
|
+
[1m[35m (0.1ms)[0m commit transaction
|
387
|
+
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1450
388
|
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1451
389
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1452
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at",
|
1453
|
-
[1m[36m (
|
390
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
391
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1454
392
|
[1m[35m (0.0ms)[0m begin transaction
|
1455
|
-
[1m[36mSQL (0.
|
1456
|
-
[1m[35m (
|
1457
|
-
[1m[36m (0.
|
1458
|
-
[1m[35mSQL (0.
|
1459
|
-
[1m[36m (
|
393
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
394
|
+
[1m[35m (0.0ms)[0m commit transaction
|
395
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
396
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
397
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
398
|
+
[1m[35m (0.1ms)[0m begin transaction
|
399
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
400
|
+
[1m[35m (0.1ms)[0m commit transaction
|
401
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1460
402
|
[1m[35m (0.1ms)[0m begin transaction
|
1461
|
-
[1m[36mSQL (0.
|
1462
|
-
[1m[35m (
|
1463
|
-
[1m[
|
403
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
404
|
+
[1m[35m (0.0ms)[0m commit transaction
|
405
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
406
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
407
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1464
408
|
[1m[35m (0.0ms)[0m begin transaction
|
1465
|
-
[1m[36mSQL (0.
|
1466
|
-
[1m[35m (
|
1467
|
-
[1m[36m (0.
|
1468
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "
|
1469
|
-
[1m[36m (
|
409
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
410
|
+
[1m[35m (0.0ms)[0m commit transaction
|
411
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
412
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
413
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
414
|
+
[1m[35m (0.0ms)[0m begin transaction
|
415
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
416
|
+
[1m[35m (0.0ms)[0m commit transaction
|
417
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
1470
418
|
[1m[35m (0.0ms)[0m begin transaction
|
1471
|
-
[1m[36mSQL (0.
|
1472
|
-
[1m[35m (
|
419
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
420
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1473
421
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1474
|
-
[1m[35mSQL (0.
|
1475
|
-
[1m[36m (
|
1476
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1477
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:51:13 UTC +00:00], ["event_type", :Create], ["object_id", 85], ["object_type", "Message"], ["recipient_id", 169], ["recipient_type", "User"], ["sender_id", 170], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:51:13 UTC +00:00]]
|
1478
|
-
[1m[35m (5.5ms)[0m commit transaction
|
1479
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 169[0m
|
422
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
423
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1480
424
|
[1m[35m (0.0ms)[0m begin transaction
|
1481
|
-
[1m[36mSQL (0.
|
1482
|
-
[1m[35m (
|
1483
|
-
[1m[36m (0.
|
1484
|
-
[1m[35mSQL (0.
|
1485
|
-
[1m[36m (
|
1486
|
-
[1m[35m (0.
|
1487
|
-
[1m[36mSQL (0.
|
1488
|
-
[1m[35m (
|
1489
|
-
[1m[
|
1490
|
-
[1m[
|
1491
|
-
[1m[36m (
|
1492
|
-
[1m[
|
1493
|
-
[1m[
|
1494
|
-
[1m[35m (0.
|
1495
|
-
[1m[
|
1496
|
-
[1m[
|
1497
|
-
[1m[36m (0.
|
1498
|
-
[1m[35mSQL (0.
|
1499
|
-
[1m[36m (
|
1500
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1501
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:51:13 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:51:13 UTC +00:00]]
|
1502
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1503
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1504
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:51:13 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:51:13 UTC +00:00]]
|
1505
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
425
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
426
|
+
[1m[35m (0.0ms)[0m commit transaction
|
427
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
428
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
429
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
431
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
432
|
+
[1m[35m (0.0ms)[0m commit transaction
|
433
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
434
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
435
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
436
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
437
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
438
|
+
[1m[35m (0.0ms)[0m begin transaction
|
439
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
440
|
+
[1m[35m (0.0ms)[0m commit transaction
|
441
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
442
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
443
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1506
444
|
[1m[35m (0.0ms)[0m begin transaction
|
1507
|
-
[1m[36mSQL (0.
|
1508
|
-
[1m[35m (
|
1509
|
-
[1m[36mNewsFeedEvent Load (0.
|
445
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 22:29:56 UTC +00:00]]
|
446
|
+
[1m[35m (0.0ms)[0m commit transaction
|
447
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1510
448
|
Connecting to database specified by database.yml
|
1511
|
-
[1m[36m (
|
1512
|
-
[1m[35m (0.
|
1513
|
-
[1m[36m (0.
|
1514
|
-
[1m[
|
1515
|
-
[1m[36m (
|
1516
|
-
[1m[35m (0.
|
1517
|
-
[1m[
|
1518
|
-
[1m[35m (
|
449
|
+
[1m[36m (37.4ms)[0m [1mselect sqlite_version(*)[0m
|
450
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
451
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
452
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
453
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
454
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
455
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
456
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
457
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
458
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
1519
459
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1520
|
-
[1m[
|
1521
|
-
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
1522
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1523
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:56:11 UTC +00:00], ["event_type", :Create], ["object_id", 88], ["object_type", "Message"], ["recipient_id", 175], ["recipient_type", "User"], ["sender_id", 176], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:56:11 UTC +00:00]]
|
1524
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1525
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 175 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1526
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
460
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1527
461
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1528
|
-
[1m[35mSQL (
|
1529
|
-
[1m[36m (
|
462
|
+
[1m[35mSQL (6.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
463
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1530
464
|
[1m[35m (0.1ms)[0m begin transaction
|
1531
|
-
[1m[36mSQL (0.
|
1532
|
-
[1m[35m (
|
1533
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1534
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:56:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:56:11 UTC +00:00]]
|
1535
|
-
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
1536
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1537
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:56:11 UTC +00:00], ["event_type", :Delete], ["object_id", 89], ["object_type", "Message"], ["recipient_id", 177], ["recipient_type", "User"], ["sender_id", 178], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:56:11 UTC +00:00]]
|
1538
|
-
[1m[35m (1.5ms)[0m commit transaction
|
1539
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 177 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1540
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1541
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:56:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:56:11 UTC +00:00]]
|
1542
|
-
[1m[35m (3.0ms)[0m commit transaction
|
465
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
466
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1543
467
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1544
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "
|
1545
|
-
[1m[36m (
|
468
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
469
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1546
470
|
[1m[35m (0.1ms)[0m begin transaction
|
1547
|
-
[1m[36mSQL (0.
|
1548
|
-
[1m[35m (
|
471
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
472
|
+
[1m[35m (0.1ms)[0m commit transaction
|
473
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
474
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1549
475
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1550
|
-
[1m[35mSQL (0.
|
1551
|
-
[1m[36m (
|
1552
|
-
[1m[35m (0.
|
1553
|
-
[1m[36mSQL (0.
|
1554
|
-
[1m[35m (
|
1555
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 179[0m
|
1556
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1557
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:56:11 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:56:11 UTC +00:00]]
|
1558
|
-
[1m[35m (1.3ms)[0m commit transaction
|
476
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
477
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
478
|
+
[1m[35m (0.0ms)[0m begin transaction
|
479
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
480
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1559
481
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1560
|
-
[1m[35mSQL (0.
|
1561
|
-
[1m[36m (
|
482
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
483
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1562
484
|
[1m[35m (0.1ms)[0m begin transaction
|
1563
|
-
[1m[36mSQL (0.
|
1564
|
-
[1m[35m (
|
1565
|
-
[1m[
|
1566
|
-
[1m[
|
1567
|
-
[1m[
|
485
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
486
|
+
[1m[35m (0.1ms)[0m commit transaction
|
487
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
488
|
+
[1m[35m (0.0ms)[0m begin transaction
|
489
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
490
|
+
[1m[35m (0.0ms)[0m commit transaction
|
491
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
492
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
493
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
494
|
+
[1m[35m (0.0ms)[0m begin transaction
|
495
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
496
|
+
[1m[35m (0.0ms)[0m commit transaction
|
497
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
498
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
499
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1568
500
|
[1m[35m (0.0ms)[0m begin transaction
|
1569
|
-
[1m[36mSQL (0.
|
1570
|
-
[1m[35m (
|
1571
|
-
[1m[
|
1572
|
-
[1m[
|
501
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
502
|
+
[1m[35m (0.0ms)[0m commit transaction
|
503
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
504
|
+
[1m[35m (0.0ms)[0m begin transaction
|
505
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
506
|
+
[1m[35m (0.0ms)[0m commit transaction
|
507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
508
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
509
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
511
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
512
|
+
[1m[35m (0.0ms)[0m commit transaction
|
513
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
514
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
515
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
516
|
+
[1m[35m (0.0ms)[0m begin transaction
|
517
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
518
|
+
[1m[35m (0.0ms)[0m commit transaction
|
519
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
520
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1573
521
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1574
|
-
[1m[35mSQL (0.
|
1575
|
-
[1m[36m (
|
522
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
523
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1576
524
|
[1m[35m (0.0ms)[0m begin transaction
|
1577
|
-
[1m[36mSQL (0.
|
1578
|
-
[1m[35m (
|
525
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
526
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1579
527
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1580
|
-
[1m[35mSQL (0.
|
1581
|
-
[1m[36m (
|
1582
|
-
[1m[35m (0.
|
1583
|
-
[1m[36mSQL (0.
|
1584
|
-
[1m[35m (
|
1585
|
-
[1m[36mNewsFeedEvent Load (0.
|
528
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
529
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
530
|
+
[1m[35m (0.0ms)[0m begin transaction
|
531
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 22:31:09 UTC +00:00]]
|
532
|
+
[1m[35m (0.0ms)[0m commit transaction
|
533
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1586
534
|
Connecting to database specified by database.yml
|
1587
|
-
[1m[36m (
|
535
|
+
[1m[36m (56.0ms)[0m [1mselect sqlite_version(*)[0m
|
536
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
537
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
538
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
539
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
540
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
541
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
542
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
543
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
544
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
545
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
1588
546
|
[1m[35m (0.1ms)[0m rollback transaction
|
1589
547
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1590
|
-
[1m[35mSQL (
|
1591
|
-
[1m[36m (
|
1592
|
-
[1m[35m (0.
|
1593
|
-
[1m[36mSQL (0.
|
1594
|
-
[1m[35m (
|
548
|
+
[1m[35mSQL (17.8ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
549
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
550
|
+
[1m[35m (0.0ms)[0m begin transaction
|
551
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
552
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1595
553
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1596
|
-
[1m[35mSQL (
|
1597
|
-
[1m[36m (
|
554
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
555
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1598
556
|
[1m[35m (0.1ms)[0m begin transaction
|
1599
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at",
|
1600
|
-
[1m[35m (
|
1601
|
-
[1m[36mNewsFeedEvent Load (0.
|
1602
|
-
[1m[35mNewsFeedEvent Load (0.
|
557
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
558
|
+
[1m[35m (0.1ms)[0m commit transaction
|
559
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
560
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1603
561
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1604
|
-
[1m[35mSQL (0.
|
1605
|
-
[1m[36m (
|
1606
|
-
[1m[35m (0.
|
1607
|
-
[1m[36mSQL (0.
|
1608
|
-
[1m[35m (
|
562
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
563
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
564
|
+
[1m[35m (0.0ms)[0m begin transaction
|
565
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
566
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1609
567
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1610
|
-
[1m[35mSQL (0.
|
1611
|
-
[1m[36m (
|
568
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
569
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1612
570
|
[1m[35m (0.0ms)[0m begin transaction
|
1613
|
-
[1m[36mSQL (0.
|
1614
|
-
[1m[35m (
|
1615
|
-
[1m[36mNewsFeedEvent Load (0.
|
571
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
572
|
+
[1m[35m (0.0ms)[0m commit transaction
|
573
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1616
574
|
[1m[35m (0.1ms)[0m begin transaction
|
1617
|
-
[1m[36mSQL (0.
|
1618
|
-
[1m[35m (
|
575
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
576
|
+
[1m[35m (0.1ms)[0m commit transaction
|
577
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
578
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
579
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
580
|
+
[1m[35m (0.0ms)[0m begin transaction
|
581
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
582
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1619
583
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1620
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "
|
1621
|
-
[1m[36m (
|
584
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
585
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
586
|
+
[1m[35m (0.0ms)[0m begin transaction
|
587
|
+
[1m[36mSQL (9.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
588
|
+
[1m[35m (0.1ms)[0m commit transaction
|
589
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
1622
590
|
[1m[35m (0.1ms)[0m begin transaction
|
1623
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "
|
1624
|
-
[1m[35m (
|
591
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
592
|
+
[1m[35m (0.0ms)[0m commit transaction
|
593
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
594
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
595
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
596
|
+
[1m[35m (0.0ms)[0m begin transaction
|
597
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
598
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1625
599
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1626
|
-
[1m[35mSQL (0.
|
1627
|
-
[1m[36m (
|
1628
|
-
[1m[35m (0.
|
1629
|
-
[1m[36mSQL (0.
|
1630
|
-
[1m[35m (
|
1631
|
-
[1m[36m (0.
|
1632
|
-
[1m[
|
1633
|
-
[1m[
|
1634
|
-
[1m[35m (
|
600
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
601
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
603
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
604
|
+
[1m[35m (0.1ms)[0m commit transaction
|
605
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
606
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
607
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
608
|
+
[1m[35m (0.0ms)[0m begin transaction
|
609
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 22:33:06 UTC +00:00]]
|
610
|
+
[1m[35m (0.1ms)[0m commit transaction
|
611
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
612
|
+
Connecting to database specified by database.yml
|
613
|
+
Connecting to database specified by database.yml
|
614
|
+
[1m[36m (34.0ms)[0m [1mselect sqlite_version(*)[0m
|
615
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
616
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
617
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
618
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
619
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
620
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
621
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
622
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
623
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
1635
624
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1636
|
-
[1m[
|
1637
|
-
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
1638
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1639
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:56:29 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:56:29 UTC +00:00]]
|
1640
|
-
[1m[35m (3.4ms)[0m commit transaction
|
625
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1641
626
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1642
|
-
[1m[35mSQL (
|
1643
|
-
[1m[36m (
|
1644
|
-
[1m[35m (0.
|
1645
|
-
[1m[36mSQL (0.
|
1646
|
-
[1m[35m (
|
1647
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 191 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1648
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 192 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
627
|
+
[1m[35mSQL (5.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
628
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
629
|
+
[1m[35m (0.0ms)[0m begin transaction
|
630
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
631
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1649
632
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1650
|
-
[1m[35mSQL (0.
|
1651
|
-
[1m[36m (
|
633
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
634
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1652
635
|
[1m[35m (0.1ms)[0m begin transaction
|
1653
|
-
[1m[36mSQL (0.
|
1654
|
-
[1m[35m (
|
636
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
637
|
+
[1m[35m (0.0ms)[0m commit transaction
|
638
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
639
|
+
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1655
640
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1656
|
-
[1m[35mSQL (0.
|
1657
|
-
[1m[36m (
|
641
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
642
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1658
643
|
[1m[35m (0.1ms)[0m begin transaction
|
1659
|
-
[1m[36mSQL (0.
|
1660
|
-
[1m[35m (
|
1661
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 194 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1662
|
-
Connecting to database specified by database.yml
|
1663
|
-
[1m[36m (0.9ms)[0m [1mbegin transaction[0m
|
1664
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
644
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
645
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1665
646
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1666
|
-
[1m[35mSQL (
|
1667
|
-
[1m[36m (
|
647
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
648
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1668
649
|
[1m[35m (0.1ms)[0m begin transaction
|
1669
|
-
[1m[36mSQL (0.
|
1670
|
-
[1m[35m (
|
1671
|
-
[1m[
|
1672
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00]]
|
1673
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
650
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
651
|
+
[1m[35m (0.1ms)[0m commit transaction
|
652
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1674
653
|
[1m[35m (0.1ms)[0m begin transaction
|
1675
|
-
[1m[36mSQL (0.
|
1676
|
-
[1m[35m (
|
1677
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 195 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1678
|
-
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
654
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
655
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1679
656
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1680
|
-
[1m[35mSQL (0.
|
1681
|
-
[1m[36m (
|
1682
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1683
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00]]
|
1684
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1685
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1686
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00]]
|
1687
|
-
[1m[36m (1.3ms)[0m [1mcommit transaction[0m
|
1688
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1689
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00], ["event_type", :Delete], ["object_id", 99], ["object_type", "Message"], ["recipient_id", 197], ["recipient_type", "User"], ["sender_id", 198], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00]]
|
1690
|
-
[1m[35m (1.8ms)[0m commit transaction
|
1691
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 197 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1692
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1693
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00]]
|
1694
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1695
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1696
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00]]
|
1697
|
-
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
657
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
658
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1698
659
|
[1m[35m (0.0ms)[0m begin transaction
|
1699
|
-
[1m[36mSQL (0.
|
1700
|
-
[1m[35m (
|
1701
|
-
[1m[36m (0.
|
1702
|
-
[1m[35mSQL (0.
|
1703
|
-
[1m[36m (
|
660
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
661
|
+
[1m[35m (0.1ms)[0m commit transaction
|
662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
663
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
664
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1704
665
|
[1m[35m (0.1ms)[0m begin transaction
|
1705
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at",
|
1706
|
-
[1m[35m (
|
1707
|
-
[1m[36m (0.
|
666
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
667
|
+
[1m[35m (0.1ms)[0m commit transaction
|
668
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
1708
669
|
[1m[35m (0.1ms)[0m begin transaction
|
1709
|
-
[1m[36mSQL (0.
|
1710
|
-
[1m[35m (
|
670
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
671
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1711
672
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1712
|
-
[1m[35mSQL (0.
|
1713
|
-
[1m[36m (
|
1714
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1715
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00]]
|
1716
|
-
[1m[35m (2.8ms)[0m commit transaction
|
1717
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1718
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00], ["event_type", :Send], ["object_id", 101], ["object_type", "Message"], ["recipient_id", 201], ["recipient_type", "User"], ["sender_id", 202], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:58:14 UTC +00:00]]
|
1719
|
-
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
673
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
674
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1720
675
|
[1m[35m (0.0ms)[0m begin transaction
|
1721
|
-
[1m[36mSQL (0.
|
1722
|
-
[1m[35m (
|
1723
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 201 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1724
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 202 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
676
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
677
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1725
678
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1726
|
-
[1m[35mSQL (0.
|
1727
|
-
[1m[36m (
|
679
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
680
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1728
681
|
[1m[35m (0.0ms)[0m begin transaction
|
1729
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at",
|
1730
|
-
[1m[35m (
|
682
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
683
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1731
684
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1732
|
-
[1m[35mSQL (0.
|
1733
|
-
[1m[36m (
|
1734
|
-
[1m[35m (0.
|
1735
|
-
[1m[36mSQL (0.
|
1736
|
-
[1m[35m (
|
1737
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" =
|
685
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
686
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
687
|
+
[1m[35m (0.0ms)[0m begin transaction
|
688
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 22:54:04 UTC +00:00]]
|
689
|
+
[1m[35m (0.1ms)[0m commit transaction
|
690
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1738
691
|
Connecting to database specified by database.yml
|
1739
|
-
[1m[36m (
|
692
|
+
[1m[36m (39.9ms)[0m [1mselect sqlite_version(*)[0m
|
693
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
694
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
695
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
696
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
697
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
698
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
699
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
700
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
701
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
702
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1740
703
|
[1m[35m (0.1ms)[0m rollback transaction
|
1741
704
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1742
|
-
[1m[35mSQL (
|
1743
|
-
[1m[36m (
|
1744
|
-
[1m[35m (0.
|
1745
|
-
[1m[36mSQL (0.
|
1746
|
-
[1m[35m (
|
705
|
+
[1m[35mSQL (4.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
706
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
707
|
+
[1m[35m (0.0ms)[0m begin transaction
|
708
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
709
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1747
710
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1748
|
-
[1m[35mSQL (0.
|
1749
|
-
[1m[36m (
|
711
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
712
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1750
713
|
[1m[35m (0.1ms)[0m begin transaction
|
1751
|
-
[1m[36mSQL (0.
|
1752
|
-
[1m[35m (
|
1753
|
-
[1m[36mNewsFeedEvent Load (0.
|
1754
|
-
[1m[35mNewsFeedEvent Load (0.
|
714
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
715
|
+
[1m[35m (0.1ms)[0m commit transaction
|
716
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
717
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1755
718
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1756
|
-
[1m[35mSQL (0.
|
1757
|
-
[1m[36m (
|
719
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
720
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1758
721
|
[1m[35m (0.0ms)[0m begin transaction
|
1759
|
-
[1m[36mSQL (0.
|
1760
|
-
[1m[35m (
|
722
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
723
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1761
724
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1762
|
-
[1m[35mSQL (0.
|
1763
|
-
[1m[36m (
|
1764
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1765
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00], ["event_type", :Delete], ["object_id", 104], ["object_type", "Message"], ["recipient_id", 207], ["recipient_type", "User"], ["sender_id", 208], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00]]
|
1766
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1767
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 207 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1768
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1769
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00]]
|
1770
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1771
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1772
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00]]
|
1773
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
725
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
726
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1774
727
|
[1m[35m (0.0ms)[0m begin transaction
|
1775
|
-
[1m[36mSQL (0.
|
1776
|
-
[1m[35m (0.
|
1777
|
-
[1m[
|
1778
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00], ["event_type", :Delete], ["object_id", 105], ["object_type", "Message"], ["recipient_id", 209], ["recipient_type", "User"], ["sender_id", 210], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00]]
|
1779
|
-
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1780
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1781
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00], ["event_type", :Create], ["object_id", 105], ["object_type", "Message"], ["recipient_id", 209], ["recipient_type", "User"], ["sender_id", 210], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00]]
|
1782
|
-
[1m[35m (0.9ms)[0m commit transaction
|
1783
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 209[0m
|
728
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
729
|
+
[1m[35m (0.0ms)[0m commit transaction
|
730
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1784
731
|
[1m[35m (0.0ms)[0m begin transaction
|
1785
|
-
[1m[36mSQL (0.
|
1786
|
-
[1m[35m (0.
|
732
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
733
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1787
734
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1788
|
-
[1m[35mSQL (0.
|
1789
|
-
[1m[36m (0.
|
735
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
736
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1790
737
|
[1m[35m (0.0ms)[0m begin transaction
|
1791
|
-
[1m[36mSQL (0.
|
1792
|
-
[1m[35m (0.
|
738
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
739
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1793
740
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1794
|
-
[1m[35mSQL (0.
|
1795
|
-
[1m[36m (0.
|
741
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
742
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1796
743
|
[1m[35m (0.0ms)[0m begin transaction
|
1797
|
-
[1m[36mSQL (0.
|
1798
|
-
[1m[35m (
|
1799
|
-
[1m[
|
1800
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 212 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1801
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1802
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 21:59:27 UTC +00:00]]
|
1803
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
744
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
745
|
+
[1m[35m (0.0ms)[0m commit transaction
|
746
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
1804
747
|
[1m[35m (0.0ms)[0m begin transaction
|
1805
|
-
[1m[36mSQL (0.
|
1806
|
-
[1m[35m (0.
|
748
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
749
|
+
[1m[35m (0.0ms)[0m commit transaction
|
750
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
751
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
752
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
754
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
755
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1807
756
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1808
|
-
[1m[35mSQL (0.
|
1809
|
-
[1m[36m (0.
|
757
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
758
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1810
759
|
[1m[35m (0.0ms)[0m begin transaction
|
1811
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "
|
1812
|
-
[1m[35m (0.
|
1813
|
-
[1m[
|
1814
|
-
|
1815
|
-
|
760
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
761
|
+
[1m[35m (0.0ms)[0m commit transaction
|
762
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
763
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
764
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
765
|
+
[1m[35m (0.0ms)[0m begin transaction
|
766
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 23:03:06 UTC +00:00]]
|
767
|
+
[1m[35m (0.0ms)[0m commit transaction
|
768
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1816
769
|
Connecting to database specified by database.yml
|
1817
|
-
[1m[36m (
|
770
|
+
[1m[36m (1.8ms)[0m [1mselect sqlite_version(*)[0m
|
771
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
772
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
773
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
774
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
775
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
776
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
777
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
778
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
779
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
780
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1818
781
|
[1m[35m (0.1ms)[0m rollback transaction
|
1819
782
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1820
|
-
[1m[35mSQL (
|
1821
|
-
[1m[36m (
|
783
|
+
[1m[35mSQL (4.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
784
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
785
|
+
[1m[35m (0.0ms)[0m begin transaction
|
786
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
787
|
+
[1m[35m (0.0ms)[0m commit transaction
|
788
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
789
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
790
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1822
791
|
[1m[35m (0.1ms)[0m begin transaction
|
1823
|
-
[1m[36mSQL (0.
|
1824
|
-
[1m[35m (
|
1825
|
-
[1m[
|
1826
|
-
[1m[
|
1827
|
-
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
1828
|
-
[1m[35m (0.2ms)[0m begin transaction
|
1829
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:00:44 UTC +00:00], ["event_type", :Create], ["object_id", 108], ["object_type", "Message"], ["recipient_id", 215], ["recipient_type", "User"], ["sender_id", 216], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:00:44 UTC +00:00]]
|
1830
|
-
[1m[35m (1.2ms)[0m commit transaction
|
1831
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 215 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1832
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
792
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
793
|
+
[1m[35m (0.0ms)[0m commit transaction
|
794
|
+
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
795
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1833
796
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1834
|
-
[1m[35mSQL (0.
|
1835
|
-
[1m[36m (
|
797
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
798
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1836
799
|
[1m[35m (0.0ms)[0m begin transaction
|
1837
|
-
[1m[36mSQL (0.
|
1838
|
-
[1m[35m (
|
1839
|
-
[1m[36m (0.
|
1840
|
-
[1m[35mSQL (0.
|
1841
|
-
[1m[36m (
|
800
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
801
|
+
[1m[35m (0.0ms)[0m commit transaction
|
802
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
803
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
804
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1842
805
|
[1m[35m (0.0ms)[0m begin transaction
|
1843
|
-
[1m[36mSQL (0.
|
1844
|
-
[1m[35m (
|
1845
|
-
[1m[36mNewsFeedEvent Load (0.
|
1846
|
-
[1m[35m (0.
|
1847
|
-
[1m[36mSQL (0.
|
1848
|
-
[1m[35m (
|
1849
|
-
[1m[36m (0.
|
1850
|
-
[1m[35mSQL (0.
|
1851
|
-
[1m[36m (0.
|
806
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
807
|
+
[1m[35m (0.0ms)[0m commit transaction
|
808
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
809
|
+
[1m[35m (0.0ms)[0m begin transaction
|
810
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
811
|
+
[1m[35m (0.0ms)[0m commit transaction
|
812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
813
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
814
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1852
815
|
[1m[35m (0.0ms)[0m begin transaction
|
1853
|
-
[1m[36mSQL (0.
|
1854
|
-
[1m[35m (0.
|
816
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
817
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1855
818
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1856
|
-
[1m[35mSQL (0.
|
1857
|
-
[1m[36m (0.
|
819
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
820
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1858
821
|
[1m[35m (0.0ms)[0m begin transaction
|
1859
|
-
[1m[36mSQL (0.
|
1860
|
-
[1m[35m (
|
1861
|
-
[1m[36m (0.
|
822
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
823
|
+
[1m[35m (0.0ms)[0m commit transaction
|
824
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
1862
825
|
[1m[35m (0.0ms)[0m begin transaction
|
1863
|
-
[1m[36mSQL (0.
|
1864
|
-
[1m[35m (
|
826
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
827
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1865
828
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1866
|
-
[1m[35mSQL (0.
|
1867
|
-
[1m[36m (0.
|
829
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
830
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1868
831
|
[1m[35m (0.0ms)[0m begin transaction
|
1869
|
-
[1m[36mSQL (0.
|
1870
|
-
[1m[35m (
|
832
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
833
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1871
834
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1872
|
-
[1m[35mSQL (0.
|
1873
|
-
[1m[36m (
|
835
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
836
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1874
837
|
[1m[35m (0.0ms)[0m begin transaction
|
1875
|
-
[1m[36mSQL (0.
|
1876
|
-
[1m[35m (0.
|
1877
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 221 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1878
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 222 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
838
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
839
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1879
840
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1880
|
-
[1m[35mSQL (0.
|
1881
|
-
[1m[36m (
|
841
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
842
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1882
843
|
[1m[35m (0.0ms)[0m begin transaction
|
1883
|
-
[1m[36mSQL (0.
|
1884
|
-
[1m[35m (
|
1885
|
-
[1m[
|
1886
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:00:44 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:00:44 UTC +00:00]]
|
1887
|
-
[1m[36m (1.4ms)[0m [1mcommit transaction[0m
|
1888
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1889
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:00:44 UTC +00:00], ["event_type", :Update], ["object_id", 224], ["object_type", "User"], ["recipient_id", 224], ["recipient_type", "User"], ["sender_id", 224], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Tue, 07 Aug 2012 22:00:44 UTC +00:00]]
|
1890
|
-
[1m[35m (3.9ms)[0m commit transaction
|
1891
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 224 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
844
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 23:14:42 UTC +00:00]]
|
845
|
+
[1m[35m (0.0ms)[0m commit transaction
|
846
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1892
847
|
Connecting to database specified by database.yml
|
1893
|
-
[1m[36m (
|
1894
|
-
[1m[35m (0.
|
1895
|
-
[1m[36m (0.1ms)[0m [
|
1896
|
-
[1m[
|
1897
|
-
[1m[36m (
|
1898
|
-
[1m[35m (0.1ms)[0m
|
1899
|
-
[1m[
|
1900
|
-
[1m[35m (
|
1901
|
-
[1m[36m (0.
|
1902
|
-
[1m[
|
1903
|
-
[1m[36m (275.9ms)[0m [1mcommit transaction[0m
|
1904
|
-
[1m[35m (0.2ms)[0m begin transaction
|
1905
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:01:25 UTC +00:00], ["event_type", :Create], ["object_id", 113], ["object_type", "Message"], ["recipient_id", 225], ["recipient_type", "User"], ["sender_id", 226], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:01:25 UTC +00:00]]
|
1906
|
-
[1m[35m (100.1ms)[0m commit transaction
|
1907
|
-
[1m[36mNewsFeedEvent Load (0.4ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 225 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1908
|
-
[1m[35mNewsFeedEvent Load (0.3ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1909
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1910
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00]]
|
1911
|
-
[1m[36m (39.8ms)[0m [1mcommit transaction[0m
|
1912
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1913
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00]]
|
1914
|
-
[1m[35m (7.0ms)[0m commit transaction
|
1915
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1916
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00]]
|
1917
|
-
[1m[36m (298.3ms)[0m [1mcommit transaction[0m
|
1918
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1919
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00], ["event_type", :Delete], ["object_id", 114], ["object_type", "Message"], ["recipient_id", 227], ["recipient_type", "User"], ["sender_id", 228], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00]]
|
1920
|
-
[1m[35m (13.3ms)[0m commit transaction
|
1921
|
-
[1m[36mNewsFeedEvent Load (0.4ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 227 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1922
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1923
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00]]
|
1924
|
-
[1m[35m (23.7ms)[0m commit transaction
|
848
|
+
[1m[36m (1.5ms)[0m [1mselect sqlite_version(*)[0m
|
849
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
850
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
851
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
852
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
853
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
854
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
855
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
856
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
857
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
1925
858
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1926
|
-
[1m[
|
1927
|
-
[1m[36m (189.1ms)[0m [1mcommit transaction[0m
|
1928
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1929
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:01:26 UTC +00:00]]
|
1930
|
-
[1m[35m (125.5ms)[0m commit transaction
|
859
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1931
860
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1932
|
-
[1m[35mSQL (
|
1933
|
-
[1m[36m (
|
1934
|
-
[1m[35m (0.
|
1935
|
-
[1m[36mSQL (0.
|
1936
|
-
[1m[35m (
|
1937
|
-
[1m[36m (0.
|
861
|
+
[1m[35mSQL (4.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
862
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
863
|
+
[1m[35m (0.0ms)[0m begin transaction
|
864
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
865
|
+
[1m[35m (0.0ms)[0m commit transaction
|
866
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
867
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
868
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1938
869
|
[1m[35m (0.1ms)[0m begin transaction
|
1939
|
-
[1m[36mSQL (0.
|
1940
|
-
[1m[35m (
|
870
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
871
|
+
[1m[35m (0.1ms)[0m commit transaction
|
872
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
873
|
+
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
874
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
875
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
876
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
878
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
879
|
+
[1m[35m (0.0ms)[0m commit transaction
|
880
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
881
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
882
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
883
|
+
[1m[35m (0.0ms)[0m begin transaction
|
884
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
885
|
+
[1m[35m (0.0ms)[0m commit transaction
|
886
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
887
|
+
[1m[35m (0.0ms)[0m begin transaction
|
888
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
889
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1941
890
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1942
|
-
[1m[35mSQL (0.
|
1943
|
-
[1m[36m (
|
891
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
892
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
894
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
895
|
+
[1m[35m (0.1ms)[0m commit transaction
|
896
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
897
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
898
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1944
899
|
[1m[35m (0.1ms)[0m begin transaction
|
1945
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "
|
1946
|
-
[1m[35m (
|
1947
|
-
[1m[36m (0.1ms)[0m [
|
1948
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 22:01:27 UTC +00:00], ["event_type", :Send], ["object_id", 116], ["object_type", "Message"], ["recipient_id", 231], ["recipient_type", "User"], ["sender_id", 232], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:01:27 UTC +00:00]]
|
1949
|
-
[1m[36m (294.0ms)[0m [1mcommit transaction[0m
|
900
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
901
|
+
[1m[35m (0.0ms)[0m commit transaction
|
902
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
1950
903
|
[1m[35m (0.1ms)[0m begin transaction
|
1951
|
-
[1m[36mSQL (0.
|
1952
|
-
[1m[35m (
|
1953
|
-
[1m[
|
1954
|
-
[1m[
|
904
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
905
|
+
[1m[35m (0.0ms)[0m commit transaction
|
906
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
907
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
908
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
909
|
+
[1m[35m (0.0ms)[0m begin transaction
|
910
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
911
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1955
912
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1956
|
-
[1m[35mSQL (0.
|
1957
|
-
[1m[36m (
|
913
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
914
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1958
915
|
[1m[35m (0.1ms)[0m begin transaction
|
1959
|
-
[1m[36mSQL (
|
1960
|
-
[1m[35m (
|
916
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
917
|
+
[1m[35m (0.0ms)[0m commit transaction
|
918
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
919
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1961
920
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1962
|
-
[1m[35mSQL (0.
|
1963
|
-
[1m[36m (
|
1964
|
-
[1m[35m (0.
|
1965
|
-
[1m[36mSQL (0.
|
1966
|
-
[1m[35m (
|
1967
|
-
[1m[
|
921
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
922
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
923
|
+
[1m[35m (0.0ms)[0m begin transaction
|
924
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
925
|
+
[1m[35m (0.0ms)[0m commit transaction
|
926
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
927
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
928
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
929
|
+
[1m[35m (0.0ms)[0m begin transaction
|
930
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 23:15:26 UTC +00:00]]
|
931
|
+
[1m[35m (0.0ms)[0m commit transaction
|
932
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1968
933
|
Connecting to database specified by database.yml
|
1969
|
-
[1m[36m (
|
1970
|
-
[1m[35m (0.
|
1971
|
-
[1m[36m (0.
|
1972
|
-
[1m[
|
1973
|
-
[1m[36m (
|
1974
|
-
[1m[35m (0.1ms)[0m
|
1975
|
-
[1m[
|
1976
|
-
[1m[35m (
|
934
|
+
[1m[36m (1.7ms)[0m [1mselect sqlite_version(*)[0m
|
935
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
936
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
937
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
938
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
939
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
940
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
941
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
942
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
943
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
944
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
945
|
+
[1m[35mSQL (38.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
946
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
947
|
+
[1m[35m (0.0ms)[0m begin transaction
|
948
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
949
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1977
950
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1978
|
-
[1m[35mSQL (0.
|
1979
|
-
[1m[36m (
|
951
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
952
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1980
953
|
[1m[35m (0.1ms)[0m begin transaction
|
1981
|
-
[1m[36mSQL (0.
|
1982
|
-
[1m[35m (
|
1983
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" =
|
954
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["event_type", :Create], ["object_id", 1], ["object_type", "Message"], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
955
|
+
[1m[35m (0.1ms)[0m commit transaction
|
956
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1984
957
|
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1985
|
-
[1m[36m (0.
|
1986
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at",
|
1987
|
-
[1m[36m (
|
958
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
959
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
960
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1988
961
|
[1m[35m (0.0ms)[0m begin transaction
|
1989
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at",
|
1990
|
-
[1m[35m (
|
962
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
963
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1991
964
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1992
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at",
|
1993
|
-
[1m[36m (
|
1994
|
-
[1m[35m (0.0ms)[0m begin transaction
|
1995
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:02:56 UTC +00:00], ["event_type", :Delete], ["object_id", 119], ["object_type", "Message"], ["recipient_id", 237], ["recipient_type", "User"], ["sender_id", 238], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:02:56 UTC +00:00]]
|
1996
|
-
[1m[35m (1.0ms)[0m commit transaction
|
1997
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 237 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
965
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
966
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1998
967
|
[1m[35m (0.1ms)[0m begin transaction
|
1999
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "
|
2000
|
-
[1m[35m (
|
2001
|
-
[1m[
|
2002
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:02:56 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:02:56 UTC +00:00]]
|
2003
|
-
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
968
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["event_type", :Delete], ["object_id", 2], ["object_type", "Message"], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
969
|
+
[1m[35m (0.0ms)[0m commit transaction
|
970
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
2004
971
|
[1m[35m (0.0ms)[0m begin transaction
|
2005
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "
|
2006
|
-
[1m[35m (
|
972
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
973
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2007
974
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2008
|
-
[1m[35mSQL (0.
|
2009
|
-
[1m[36m (
|
975
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
976
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2010
977
|
[1m[35m (0.0ms)[0m begin transaction
|
2011
|
-
[1m[36mSQL (0.
|
2012
|
-
[1m[35m (0.
|
2013
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 239[0m
|
2014
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2015
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:02:56 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:02:56 UTC +00:00]]
|
2016
|
-
[1m[35m (0.9ms)[0m commit transaction
|
978
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
979
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2017
980
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2018
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "
|
2019
|
-
[1m[36m (
|
981
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["event_type", :Delete], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
982
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2020
983
|
[1m[35m (0.0ms)[0m begin transaction
|
2021
|
-
[1m[36mSQL (0.
|
2022
|
-
[1m[35m (
|
2023
|
-
[1m[36m (0.
|
2024
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 22:02:56 UTC +00:00], ["event_type", :Send], ["object_id", 121], ["object_type", "Message"], ["recipient_id", 241], ["recipient_type", "User"], ["sender_id", 242], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:02:56 UTC +00:00]]
|
2025
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
984
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["event_type", :Create], ["object_id", 3], ["object_type", "Message"], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
985
|
+
[1m[35m (0.0ms)[0m commit transaction
|
986
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
2026
987
|
[1m[35m (0.0ms)[0m begin transaction
|
2027
|
-
[1m[36mSQL (0.
|
2028
|
-
[1m[35m (
|
2029
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 241 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
2030
|
-
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 242 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
988
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
989
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2031
990
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2032
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at",
|
2033
|
-
[1m[36m (
|
991
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
992
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2034
993
|
[1m[35m (0.0ms)[0m begin transaction
|
2035
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "
|
2036
|
-
[1m[35m (
|
994
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
995
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2037
996
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2038
|
-
[1m[35mSQL (0.
|
2039
|
-
[1m[36m (
|
997
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
998
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2040
999
|
[1m[35m (0.0ms)[0m begin transaction
|
2041
|
-
[1m[36mSQL (0.
|
2042
|
-
[1m[35m (
|
2043
|
-
[1m[36mNewsFeedEvent Load (0.
|
2044
|
-
|
2045
|
-
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
2046
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2047
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2048
|
-
[1m[35mSQL (42.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00]]
|
2049
|
-
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
2050
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2051
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00]]
|
2052
|
-
[1m[35m (1.3ms)[0m commit transaction
|
2053
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2054
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00]]
|
2055
|
-
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
2056
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2057
|
-
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00], ["event_type", :Create], ["object_id", 123], ["object_type", "Message"], ["recipient_id", 245], ["recipient_type", "User"], ["sender_id", 246], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00]]
|
2058
|
-
[1m[35m (1.8ms)[0m commit transaction
|
2059
|
-
[1m[36mNewsFeedEvent Load (0.4ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 245 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
2060
|
-
[1m[35mNewsFeedEvent Load (0.4ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1000
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["event_type", :Send], ["object_id", 4], ["object_type", "Message"], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
1001
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1002
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1003
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
2061
1004
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2062
|
-
[1m[35mSQL (0.
|
2063
|
-
[1m[36m (
|
1005
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
1006
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
2064
1007
|
[1m[35m (0.1ms)[0m begin transaction
|
2065
|
-
[1m[36mSQL (0.
|
2066
|
-
[1m[35m (
|
1008
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
1009
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2067
1010
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2068
|
-
[1m[35mSQL (0.
|
2069
|
-
[1m[36m (
|
2070
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2071
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00], ["event_type", :Delete], ["object_id", 124], ["object_type", "Message"], ["recipient_id", 247], ["recipient_type", "User"], ["sender_id", 248], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00]]
|
2072
|
-
[1m[35m (2.7ms)[0m commit transaction
|
2073
|
-
[1m[36mNewsFeedEvent Load (0.3ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 247 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1011
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
1012
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
2074
1013
|
[1m[35m (0.1ms)[0m begin transaction
|
2075
|
-
[1m[36mSQL (0.
|
2076
|
-
[1m[35m (
|
1014
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00], ["event_type", :Update], ["object_id", 10], ["object_type", "User"], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 23:46:16 UTC +00:00]]
|
1015
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1016
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1017
|
+
Connecting to database specified by database.yml
|
1018
|
+
[1m[36m (2.4ms)[0m [1mselect sqlite_version(*)[0m
|
1019
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1020
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
1021
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "event_object_id" integer, "event_object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1022
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1023
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
1024
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
1025
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1026
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1027
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
2077
1028
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2078
|
-
[1m[35mSQL (
|
2079
|
-
[1m[36m (
|
2080
|
-
[1m[35m (0.
|
2081
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "
|
2082
|
-
[1m[35m (
|
1029
|
+
[1m[35mSQL (30.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1030
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1031
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1032
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1033
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2083
1034
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2084
|
-
[1m[35mSQL (0.
|
2085
|
-
[1m[36m (
|
2086
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2087
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00], ["event_type", :Create], ["object_id", 125], ["object_type", "Message"], ["recipient_id", 249], ["recipient_type", "User"], ["sender_id", 250], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00]]
|
2088
|
-
[1m[35m (3.0ms)[0m commit transaction
|
2089
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 249[0m
|
1035
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1036
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
2090
1037
|
[1m[35m (0.0ms)[0m begin transaction
|
2091
|
-
[1m[36mSQL (0.
|
2092
|
-
[1m[35m (
|
1038
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1039
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2093
1040
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2094
|
-
[1m[35mSQL (0.
|
2095
|
-
[1m[36m (
|
2096
|
-
[1m[35m (0.
|
2097
|
-
[1m[36mSQL (0.
|
2098
|
-
[1m[35m (
|
1041
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1042
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1043
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1044
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1045
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2099
1046
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2100
|
-
[1m[35mSQL (0.
|
2101
|
-
[1m[36m (
|
2102
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2103
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00], ["event_type", :Send], ["object_id", 126], ["object_type", "Message"], ["recipient_id", 252], ["recipient_type", "User"], ["sender_id", 252], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00]]
|
2104
|
-
[1m[35m (2.9ms)[0m commit transaction
|
2105
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 251 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
2106
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 252 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
2107
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2108
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:03:58 UTC +00:00]]
|
2109
|
-
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
1047
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1048
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
2110
1049
|
[1m[35m (0.0ms)[0m begin transaction
|
2111
|
-
[1m[36mSQL (0.
|
2112
|
-
[1m[35m (
|
1050
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1051
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2113
1052
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2114
|
-
[1m[35mSQL (0.
|
2115
|
-
[1m[36m (
|
1053
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1054
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2116
1055
|
[1m[35m (0.0ms)[0m begin transaction
|
2117
|
-
[1m[36mSQL (0.
|
2118
|
-
[1m[35m (
|
2119
|
-
[1m[
|
1056
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1057
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1058
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1059
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1060
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1061
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1062
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1063
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1064
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1065
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1066
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1067
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1068
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1069
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1070
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1071
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:49:34 UTC +00:00]]
|
1072
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2120
1073
|
Connecting to database specified by database.yml
|
2121
|
-
[1m[36m (
|
2122
|
-
[1m[35m (0.
|
1074
|
+
[1m[36m (37.9ms)[0m [1mselect sqlite_version(*)[0m
|
1075
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1076
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
1077
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "event_object_id" integer, "event_object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1078
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1079
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
1080
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
1081
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1082
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1083
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
2123
1084
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2124
|
-
[1m[35mSQL (
|
2125
|
-
[1m[36m (
|
1085
|
+
[1m[35mSQL (45.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1086
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
2126
1087
|
[1m[35m (0.1ms)[0m begin transaction
|
2127
|
-
[1m[36mSQL (0.
|
2128
|
-
[1m[35m (
|
1088
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1089
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2129
1090
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2130
|
-
[1m[35mSQL (0.
|
2131
|
-
[1m[36m (
|
1091
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1092
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2132
1093
|
[1m[35m (0.1ms)[0m begin transaction
|
2133
|
-
[1m[36mSQL (0.
|
2134
|
-
[1m[35m (
|
2135
|
-
[1m[36mNewsFeedEvent Load (0.
|
2136
|
-
[1m[35mNewsFeedEvent Load (0.
|
1094
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["event_object_id", 1], ["event_object_type", "Message"], ["event_type", :Create], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1095
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1096
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1097
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
2137
1098
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2138
|
-
[1m[35mSQL (0.
|
2139
|
-
[1m[36m (
|
2140
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2141
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00]]
|
2142
|
-
[1m[35m (1.6ms)[0m commit transaction
|
2143
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2144
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00]]
|
2145
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
2146
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2147
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00], ["event_type", :Delete], ["object_id", 129], ["object_type", "Message"], ["recipient_id", 257], ["recipient_type", "User"], ["sender_id", 258], ["sender_type", 0], ["text", "translation missing: en.news_feeds.delete_object"], ["updated_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00]]
|
2148
|
-
[1m[35m (1.0ms)[0m commit transaction
|
2149
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 257 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1099
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1100
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
2150
1101
|
[1m[35m (0.0ms)[0m begin transaction
|
2151
|
-
[1m[36mSQL (0.
|
2152
|
-
[1m[35m (
|
1102
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1103
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2153
1104
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2154
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "
|
2155
|
-
[1m[36m (
|
2156
|
-
[1m[35m (0.
|
2157
|
-
[1m[36mSQL (0.
|
2158
|
-
[1m[35m (
|
1105
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1106
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1107
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1108
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["event_object_id", 2], ["event_object_type", "Message"], ["event_type", :Delete], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1109
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1110
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1111
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1112
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1113
|
+
[1m[35m (0.1ms)[0m commit transaction
|
2159
1114
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2160
|
-
[1m[35mSQL (0.
|
2161
|
-
[1m[36m (
|
2162
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2163
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00], ["event_type", :Create], ["object_id", 130], ["object_type", "Message"], ["recipient_id", 259], ["recipient_type", "User"], ["sender_id", 260], ["sender_type", 0], ["text", "translation missing: en.news_feeds.create_object"], ["updated_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00]]
|
2164
|
-
[1m[35m (1.0ms)[0m commit transaction
|
2165
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 259[0m
|
1115
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1116
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
2166
1117
|
[1m[35m (0.0ms)[0m begin transaction
|
2167
|
-
[1m[36mSQL (0.
|
2168
|
-
[1m[35m (0.
|
1118
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1119
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2169
1120
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2170
|
-
[1m[35mSQL (0.
|
2171
|
-
[1m[36m (0.
|
1121
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["event_object_id", 3], ["event_object_type", "Message"], ["event_type", :Delete], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1122
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2172
1123
|
[1m[35m (0.0ms)[0m begin transaction
|
2173
|
-
[1m[36mSQL (0.
|
2174
|
-
[1m[35m (0.
|
2175
|
-
[1m[36m (0.
|
2176
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00], ["event_type", :Send], ["object_id", 131], ["object_type", "Message"], ["recipient_id", 261], ["recipient_type", "User"], ["sender_id", 262], ["sender_type", 0], ["text", "translation missing: en.news_feeds.send_object"], ["updated_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00]]
|
2177
|
-
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
1124
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["event_object_id", 3], ["event_object_type", "Message"], ["event_type", :Create], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1125
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1126
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
2178
1127
|
[1m[35m (0.0ms)[0m begin transaction
|
2179
|
-
[1m[36mSQL (0.
|
2180
|
-
[1m[35m (
|
2181
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 261 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
2182
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2183
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00]]
|
2184
|
-
[1m[35m (8.1ms)[0m commit transaction
|
2185
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2186
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00]]
|
2187
|
-
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
2188
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2189
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:10:57 UTC +00:00]]
|
2190
|
-
[1m[35m (1.0ms)[0m commit transaction
|
1128
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1129
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2191
1130
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2192
|
-
[1m[35mSQL (0.
|
2193
|
-
[1m[36m (
|
2194
|
-
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 264 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
2195
|
-
Connecting to database specified by database.yml
|
2196
|
-
[1m[36m (0.8ms)[0m [1mbegin transaction[0m
|
2197
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
2198
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2199
|
-
[1m[35mSQL (31.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:12:26 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:12:26 UTC +00:00]]
|
2200
|
-
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
2201
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2202
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:12:26 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:12:26 UTC +00:00]]
|
2203
|
-
[1m[35m (1.0ms)[0m commit transaction
|
2204
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2205
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:12:26 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:12:26 UTC +00:00]]
|
2206
|
-
[1m[36m (3.5ms)[0m [1mcommit transaction[0m
|
1131
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1132
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2207
1133
|
[1m[35m (0.1ms)[0m begin transaction
|
2208
|
-
[1m[36mSQL (0.
|
2209
|
-
[1m[35m (
|
2210
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2211
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:12:27 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:12:27 UTC +00:00]]
|
2212
|
-
[1m[36m (1.6ms)[0m [1mcommit transaction[0m
|
2213
|
-
[1m[35m (0.0ms)[0m begin transaction
|
2214
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:12:27 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:12:27 UTC +00:00]]
|
2215
|
-
[1m[35m (1.5ms)[0m commit transaction
|
1134
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1135
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2216
1136
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2217
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "
|
2218
|
-
[1m[36m (
|
1137
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["event_object_id", 4], ["event_object_type", "Message"], ["event_type", :Send], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1138
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2219
1139
|
[1m[35m (0.0ms)[0m begin transaction
|
2220
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "
|
2221
|
-
[1m[35m (
|
1140
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["event_object_id", 4], ["event_object_type", "Message"], ["event_type", :Send], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1141
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1142
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1143
|
+
[1m[35mNewsFeedEvent Load (0.2ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
2222
1144
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2223
|
-
[1m[35mSQL (0.
|
2224
|
-
[1m[36m (
|
2225
|
-
[1m[35m (0.
|
2226
|
-
[1m[36mSQL (0.
|
2227
|
-
[1m[35m (
|
1145
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1146
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1147
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1148
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1149
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1150
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1151
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1152
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1153
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1154
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00], ["event_object_id", 10], ["event_object_type", "User"], ["event_type", :Update], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 23:50:25 UTC +00:00]]
|
1155
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1156
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1157
|
+
Connecting to database specified by database.yml
|
1158
|
+
[1m[36m (34.5ms)[0m [1mselect sqlite_version(*)[0m
|
1159
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1160
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
1161
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "event_object_id" integer, "event_object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1162
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1163
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
1164
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
1165
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1166
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1167
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
1168
|
+
Connecting to database specified by database.yml
|
1169
|
+
[1m[36m (30.8ms)[0m [1mselect sqlite_version(*)[0m
|
1170
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1171
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
1172
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "event_object_id" integer, "event_object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1173
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1174
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
1175
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
1176
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1177
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1178
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
2228
1179
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2229
|
-
[1m[
|
2230
|
-
[1m[36m (3.2ms)[0m [1mcommit transaction[0m
|
2231
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2232
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:12:27 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:12:27 UTC +00:00]]
|
2233
|
-
[1m[35m (3.4ms)[0m commit transaction
|
1180
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2234
1181
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2235
|
-
[1m[35mSQL (
|
2236
|
-
[1m[36m (
|
1182
|
+
[1m[35mSQL (35.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1183
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
2237
1184
|
[1m[35m (0.0ms)[0m begin transaction
|
2238
|
-
[1m[36mSQL (0.
|
2239
|
-
[1m[35m (
|
1185
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1186
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2240
1187
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2241
|
-
[1m[35mSQL (0.
|
2242
|
-
[1m[36m (
|
2243
|
-
Connecting to database specified by database.yml
|
2244
|
-
[1m[36m (0.8ms)[0m [1mbegin transaction[0m
|
2245
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
2246
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2247
|
-
[1m[35mSQL (60.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:14:29 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:14:29 UTC +00:00]]
|
2248
|
-
[1m[36m (11.9ms)[0m [1mcommit transaction[0m
|
2249
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2250
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:14:29 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:14:29 UTC +00:00]]
|
2251
|
-
[1m[35m (8.4ms)[0m commit transaction
|
2252
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2253
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Tue, 07 Aug 2012 22:14:29 UTC +00:00], ["updated_at", Tue, 07 Aug 2012 22:14:29 UTC +00:00]]
|
2254
|
-
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
1188
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1189
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2255
1190
|
[1m[35m (0.1ms)[0m begin transaction
|
2256
|
-
[1m[36mSQL (0.
|
2257
|
-
[1m[35m (
|
2258
|
-
[1m[36mNewsFeedEvent Load (0.
|
2259
|
-
[1m[35mNewsFeedEvent Load (0.
|
2260
|
-
[1m[36m (0.
|
2261
|
-
[1m[35mSQL (0.
|
2262
|
-
[1m[36m (
|
1191
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["event_object_id", 1], ["event_object_type", "Message"], ["event_type", :Create], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1192
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1193
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1194
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1195
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1196
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1197
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2263
1198
|
[1m[35m (0.0ms)[0m begin transaction
|
2264
|
-
[1m[36mSQL (0.
|
2265
|
-
[1m[35m (0.
|
1199
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1200
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2266
1201
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2267
|
-
[1m[35mSQL (0.
|
2268
|
-
[1m[36m (
|
2269
|
-
[1m[35m (0.1ms)[0m begin transaction
|
2270
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_type", "object_id", "object_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 07 Aug 2012 22:14:30 UTC +00:00], ["event_type", :Delete], ["object_id", 139], ["object_type", "Message"], ["recipient_id", 277], ["recipient_type", "User"], ["sender_id", 278], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Tue, 07 Aug 2012 22:14:30 UTC +00:00]]
|
2271
|
-
[1m[35m (1.0ms)[0m commit transaction
|
2272
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 277 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1202
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1203
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2273
1204
|
[1m[35m (0.0ms)[0m begin transaction
|
2274
|
-
[1m[36mSQL (0.
|
2275
|
-
[1m[35m (
|
1205
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["event_object_id", 2], ["event_object_type", "Message"], ["event_type", :Delete], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1206
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1207
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1208
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1209
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1210
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2276
1211
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2277
|
-
[1m[35mSQL (0.
|
2278
|
-
[1m[36m (
|
2279
|
-
[1m[35m (0.
|
2280
|
-
[1m[36mSQL (0.
|
2281
|
-
[1m[35m (
|
1212
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1213
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1214
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1215
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1216
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2282
1217
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2283
|
-
[1m[35mSQL (0.
|
2284
|
-
[1m[36m (
|
1218
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["event_object_id", 3], ["event_object_type", "Message"], ["event_type", :Delete], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1219
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2285
1220
|
[1m[35m (0.0ms)[0m begin transaction
|
2286
|
-
[1m[36mSQL (0.
|
2287
|
-
[1m[35m (0.
|
2288
|
-
[1m[36m (0.
|
1221
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["event_object_id", 3], ["event_object_type", "Message"], ["event_type", :Create], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1222
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1223
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
2289
1224
|
[1m[35m (0.0ms)[0m begin transaction
|
2290
|
-
[1m[36mSQL (0.
|
2291
|
-
[1m[35m (0.
|
1225
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1226
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2292
1227
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2293
|
-
[1m[35mSQL (0.
|
2294
|
-
[1m[36m (
|
2295
|
-
[1m[35m (0.
|
2296
|
-
[1m[36mSQL (0.
|
2297
|
-
[1m[35m (
|
1228
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1229
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1230
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1231
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1232
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2298
1233
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2299
|
-
[1m[35mSQL (0.
|
2300
|
-
[1m[36m (
|
1234
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["event_object_id", 4], ["event_object_type", "Message"], ["event_type", :Send], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1235
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2301
1236
|
[1m[35m (0.0ms)[0m begin transaction
|
2302
|
-
[1m[36mSQL (0.
|
2303
|
-
[1m[35m (0.
|
2304
|
-
[1m[36mNewsFeedEvent Load (0.
|
2305
|
-
[1m[35mNewsFeedEvent Load (0.
|
1237
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["event_object_id", 4], ["event_object_type", "Message"], ["event_type", :Send], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1238
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1239
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1240
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
2306
1241
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2307
|
-
[1m[35mSQL (0.
|
2308
|
-
[1m[36m (
|
2309
|
-
[1m[35m (0.
|
2310
|
-
[1m[36mSQL (0.
|
2311
|
-
[1m[35m (
|
1242
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1243
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1244
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1245
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1246
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2312
1247
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2313
|
-
[1m[35mSQL (0.
|
2314
|
-
[1m[36m (0.
|
1248
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1249
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2315
1250
|
[1m[35m (0.0ms)[0m begin transaction
|
2316
|
-
[1m[36mSQL (0.
|
2317
|
-
[1m[35m (0.
|
2318
|
-
[1m[36mNewsFeedEvent Load (0.
|
1251
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00], ["event_object_id", 10], ["event_object_type", "User"], ["event_type", :Update], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Wed, 08 Aug 2012 23:59:48 UTC +00:00]]
|
1252
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1253
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
2319
1254
|
Connecting to database specified by database.yml
|
2320
|
-
|
2321
|
-
[1m[
|
2322
|
-
[1m[
|
2323
|
-
[1m[
|
2324
|
-
[1m[
|
2325
|
-
[1m[
|
2326
|
-
[1m[
|
2327
|
-
[1m[
|
1255
|
+
Connecting to database specified by database.yml
|
1256
|
+
[1m[36m (1.6ms)[0m [1mselect sqlite_version(*)[0m
|
1257
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1258
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "news_feed" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "object_id" integer, "object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "timestamp" datetime) [0m
|
1259
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "news_feed_events" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" text, "event_object_id" integer, "event_object_type" varchar(255), "event_type" varchar(255), "sender_id" integer, "sender_type" integer, "recipient_id" integer, "recipient_type" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1260
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1261
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
1262
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
1263
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1264
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1265
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('1')
|
2328
1266
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2329
|
-
[1m[
|
2330
|
-
[1m[36m (0.
|
1267
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1268
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1269
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Aug 2012 04:06:06 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:06 UTC +00:00]]
|
1270
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1271
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1272
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:06 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:06 UTC +00:00]]
|
1273
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1274
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1275
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Aug 2012 04:06:06 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:06 UTC +00:00]]
|
1276
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2331
1277
|
[1m[35m (0.1ms)[0m begin transaction
|
2332
|
-
[1m[36mSQL (0.
|
2333
|
-
[1m[35m (
|
2334
|
-
[1m[36mNewsFeedEvent Load (0.
|
2335
|
-
[1m[35mNewsFeedEvent Load (0.
|
2336
|
-
[1m[36m (0.
|
2337
|
-
[1m[35mSQL (0.
|
2338
|
-
[1m[36m (
|
1278
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:06 UTC +00:00], ["event_object_id", 1], ["event_object_type", "Message"], ["event_type", :Create], ["recipient_id", 1], ["recipient_type", "User"], ["sender_id", 2], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Thu, 09 Aug 2012 04:06:06 UTC +00:00]]
|
1279
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1280
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 1 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1281
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
1282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1283
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Aug 2012 04:06:06 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:06 UTC +00:00]]
|
1284
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2339
1285
|
[1m[35m (0.0ms)[0m begin transaction
|
2340
|
-
[1m[36mSQL (0.
|
2341
|
-
[1m[35m (
|
2342
|
-
[1m[36m (0.
|
2343
|
-
[1m[35mSQL (0.
|
2344
|
-
[1m[36m (
|
1286
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1287
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1288
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1289
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1290
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2345
1291
|
[1m[35m (0.0ms)[0m begin transaction
|
2346
|
-
[1m[36mSQL (0.
|
2347
|
-
[1m[35m (
|
2348
|
-
[1m[36mNewsFeedEvent Load (0.
|
1292
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["event_object_id", 2], ["event_object_type", "Message"], ["event_type", :Delete], ["recipient_id", 3], ["recipient_type", "User"], ["sender_id", 4], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1293
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1294
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 3 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
2349
1295
|
[1m[35m (0.0ms)[0m begin transaction
|
2350
|
-
[1m[36mSQL (0.
|
2351
|
-
[1m[35m (
|
1296
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1297
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2352
1298
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2353
|
-
[1m[35mSQL (0.
|
2354
|
-
[1m[36m (
|
1299
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1300
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2355
1301
|
[1m[35m (0.0ms)[0m begin transaction
|
2356
|
-
[1m[36mSQL (0.
|
2357
|
-
[1m[35m (
|
1302
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1303
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2358
1304
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2359
|
-
[1m[35mSQL (0.
|
2360
|
-
[1m[36m (
|
1305
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["event_object_id", 3], ["event_object_type", "Message"], ["event_type", :Delete], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has deleted a Message: Message Title"], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1306
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2361
1307
|
[1m[35m (0.0ms)[0m begin transaction
|
2362
|
-
[1m[36mSQL (0.
|
2363
|
-
[1m[35m (
|
2364
|
-
[1m[36m (0.
|
1308
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["event_object_id", 3], ["event_object_type", "Message"], ["event_type", :Create], ["recipient_id", 5], ["recipient_type", "User"], ["sender_id", 6], ["sender_type", 0], ["text", "Bob Smith has created a Message: Message Title"], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1309
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1310
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 5[0m
|
2365
1311
|
[1m[35m (0.0ms)[0m begin transaction
|
2366
|
-
[1m[36mSQL (0.
|
2367
|
-
[1m[35m (
|
1312
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1313
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2368
1314
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2369
|
-
[1m[35mSQL (0.
|
2370
|
-
[1m[36m (
|
1315
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1316
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2371
1317
|
[1m[35m (0.0ms)[0m begin transaction
|
2372
|
-
[1m[36mSQL (0.
|
2373
|
-
[1m[35m (
|
1318
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1319
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2374
1320
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2375
|
-
[1m[35mSQL (0.
|
2376
|
-
[1m[36m (
|
2377
|
-
[1m[35m (0.
|
2378
|
-
[1m[36mSQL (0.
|
2379
|
-
[1m[35m (
|
2380
|
-
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" =
|
2381
|
-
[1m[35mNewsFeedEvent Load (0.
|
1321
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["event_object_id", 4], ["event_object_type", "Message"], ["event_type", :Send], ["recipient_id", 7], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "Bob Smith has sent you a Message: Message Title"], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1322
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1323
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1324
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["event_object_id", 4], ["event_object_type", "Message"], ["event_type", :Send], ["recipient_id", 8], ["recipient_type", "User"], ["sender_id", 8], ["sender_type", 0], ["text", "You have sent Bob Smith a Message: Message Title"], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1325
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1326
|
+
[1m[36mNewsFeedEvent Load (0.2ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 7 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|
1327
|
+
[1m[35mNewsFeedEvent Load (0.1ms)[0m SELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 8 ORDER BY "news_feed_events"."id" DESC LIMIT 1
|
2382
1328
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2383
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at",
|
2384
|
-
[1m[36m (
|
1329
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1330
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2385
1331
|
[1m[35m (0.0ms)[0m begin transaction
|
2386
|
-
[1m[36mSQL (0.
|
2387
|
-
[1m[35m (
|
1332
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1333
|
+
[1m[35m (0.0ms)[0m commit transaction
|
2388
1334
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2389
|
-
[1m[35mSQL (0.
|
2390
|
-
[1m[36m (
|
1335
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1336
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
2391
1337
|
[1m[35m (0.0ms)[0m begin transaction
|
2392
|
-
[1m[36mSQL (0.
|
2393
|
-
[1m[35m (
|
2394
|
-
[1m[36mNewsFeedEvent Load (0.
|
1338
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "news_feed_events" ("created_at", "event_object_id", "event_object_type", "event_type", "recipient_id", "recipient_type", "sender_id", "sender_type", "text", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00], ["event_object_id", 10], ["event_object_type", "User"], ["event_type", :Update], ["recipient_id", 10], ["recipient_type", "User"], ["sender_id", 10], ["sender_type", 0], ["text", "You have updated a User: Bob Smith"], ["updated_at", Thu, 09 Aug 2012 04:06:07 UTC +00:00]]
|
1339
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1340
|
+
[1m[36mNewsFeedEvent Load (0.1ms)[0m [1mSELECT "news_feed_events".* FROM "news_feed_events" WHERE "news_feed_events"."recipient_id" = 10 ORDER BY "news_feed_events"."id" DESC LIMIT 1[0m
|