wupee 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/wupee/notifier.rb +1 -1
- data/lib/wupee/version.rb +1 -1
- data/spec/dummy/log/test.log +884 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0058861954977d8f19d45b5c2d2e01028934cc7d
|
4
|
+
data.tar.gz: 3a69f93f993039ef5a3adca1d279cd124195dcee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e55954c18bbcafe24d9d271c1b27b8fd45a0977a5ce5d9d02fd604fcf1c186d8bab965c5306e27e2aefa10d6c9943a67aa0bf0cfa5b9b63aaeb9a7160114e556
|
7
|
+
data.tar.gz: 76c258bb5ba911921fd8939eb6846351085b76936dc042a34d5bbbf54faec38be6364de353bb974d70f019430751a2dbe2af4f4024deb90bbd130b723fd0594c
|
@@ -47,7 +47,7 @@ module Wupee
|
|
47
47
|
notification.save!
|
48
48
|
|
49
49
|
subject_interpolations = interpolate_subject_vars(notification)
|
50
|
-
send_email(notification, subject_interpolations) if notif_type_config.
|
50
|
+
send_email(notification, subject_interpolations) if notif_type_config.wants_email?
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
data/lib/wupee/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -78201,3 +78201,887 @@ Content-Transfer-Encoding: 7bit
|
|
78201
78201
|
[1m[35m (0.0ms)[0m rollback transaction
|
78202
78202
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78203
78203
|
[1m[35m (0.0ms)[0m rollback transaction
|
78204
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
78205
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78206
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78207
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-11-24 08:57:46.375553"], ["updated_at", "2015-11-24 08:57:46.375553"]]
|
78208
|
+
[1m[36m (0.5ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78209
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78210
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78211
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.390273"], ["updated_at", "2015-11-24 08:57:46.390273"]]
|
78212
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78213
|
+
[1m[35mWupee::NotificationType Load (0.2ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
78214
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78215
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78216
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.409042"], ["updated_at", "2015-11-24 08:57:46.409042"]]
|
78217
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78218
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78219
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78220
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.424319"], ["updated_at", "2015-11-24 08:57:46.424319"]]
|
78221
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78222
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78223
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.427989"], ["updated_at", "2015-11-24 08:57:46.427989"]]
|
78224
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78225
|
+
Processing by Wupee::Api::NotificationsController#index as JSON
|
78226
|
+
Rendered wupee/api/notifications/index.json.jbuilder (0.2ms)
|
78227
|
+
Completed 200 OK in 18ms (Views: 11.0ms | ActiveRecord: 0.0ms)
|
78228
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
78229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78230
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78231
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-11-24 08:57:46.466720"], ["updated_at", "2015-11-24 08:57:46.466720"]]
|
78232
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78233
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78234
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78235
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-24 08:57:46.468770"], ["updated_at", "2015-11-24 08:57:46.468770"]]
|
78236
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78237
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
78238
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78239
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
78240
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.471088"], ["updated_at", "2015-11-24 08:57:46.471088"]]
|
78241
|
+
[1m[36m (0.0ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
78242
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78243
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
78244
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.473356"], ["updated_at", "2015-11-24 08:57:46.473356"]]
|
78245
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78246
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78247
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.474863"], ["updated_at", "2015-11-24 08:57:46.474863"]]
|
78248
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78249
|
+
Processing by Wupee::Api::NotificationsController#index as JSON
|
78250
|
+
[1m[36mWupee::Notification Load (0.1ms)[0m [1mSELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
78251
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
78252
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78253
|
+
Rendered wupee/api/notifications/_notify_new_message.json.jbuilder (0.3ms)
|
78254
|
+
Rendered wupee/api/notifications/_notification.json.jbuilder (3.8ms)
|
78255
|
+
Rendered wupee/api/notifications/index.json.jbuilder (12.0ms)
|
78256
|
+
Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.3ms)
|
78257
|
+
[1m[35m (1.2ms)[0m rollback transaction
|
78258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78259
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78260
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@sleede.com"], ["name", "user3"], ["created_at", "2015-11-24 08:57:46.496657"], ["updated_at", "2015-11-24 08:57:46.496657"]]
|
78261
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78262
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78263
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78264
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-24 08:57:46.498726"], ["updated_at", "2015-11-24 08:57:46.498726"]]
|
78265
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78266
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
78267
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78268
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
78269
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.501317"], ["updated_at", "2015-11-24 08:57:46.501317"]]
|
78270
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
78271
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78272
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
78273
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.503964"], ["updated_at", "2015-11-24 08:57:46.503964"]]
|
78274
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78275
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78276
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.514462"], ["updated_at", "2015-11-24 08:57:46.514462"]]
|
78277
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78278
|
+
Processing by Wupee::Api::NotificationsController#show as JSON
|
78279
|
+
Parameters: {"id"=>"1"}
|
78280
|
+
[1m[36mWupee::Notification Load (0.1ms)[0m [1mSELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
78281
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
78282
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78283
|
+
Rendered wupee/api/notifications/_notify_new_message.json.jbuilder (0.2ms)
|
78284
|
+
Rendered wupee/api/notifications/_notification.json.jbuilder (2.7ms)
|
78285
|
+
Rendered wupee/api/notifications/show.json.jbuilder (4.6ms)
|
78286
|
+
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.3ms)
|
78287
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
78288
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78289
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78290
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-11-24 08:57:46.530395"], ["updated_at", "2015-11-24 08:57:46.530395"]]
|
78291
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78292
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78294
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-24 08:57:46.532605"], ["updated_at", "2015-11-24 08:57:46.532605"]]
|
78295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78296
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
78297
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78298
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
78299
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.535041"], ["updated_at", "2015-11-24 08:57:46.535041"]]
|
78300
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
78301
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78302
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
78303
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.537510"], ["updated_at", "2015-11-24 08:57:46.537510"]]
|
78304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78305
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78306
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.539562"], ["updated_at", "2015-11-24 08:57:46.539562"]]
|
78307
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78308
|
+
Processing by Wupee::Api::NotificationsController#update as JSON
|
78309
|
+
Parameters: {"id"=>"1"}
|
78310
|
+
[1m[36mWupee::Notification Load (0.1ms)[0m [1mSELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
78311
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
78312
|
+
[1m[36mMessage Load (0.0ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
78313
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
78314
|
+
Rendered wupee/api/notifications/_notify_new_message.json.jbuilder (0.0ms)
|
78315
|
+
Rendered wupee/api/notifications/_notification.json.jbuilder (1.2ms)
|
78316
|
+
Rendered wupee/api/notifications/show.json.jbuilder (1.7ms)
|
78317
|
+
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)
|
78318
|
+
[1m[36m (2.1ms)[0m [1mrollback transaction[0m
|
78319
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78320
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78321
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-11-24 08:57:46.551402"], ["updated_at", "2015-11-24 08:57:46.551402"]]
|
78322
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78323
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78324
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78325
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.553414"], ["updated_at", "2015-11-24 08:57:46.553414"]]
|
78326
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78327
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
78328
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78329
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78330
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.555589"], ["updated_at", "2015-11-24 08:57:46.555589"]]
|
78331
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78332
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78333
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78334
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.557794"], ["updated_at", "2015-11-24 08:57:46.557794"]]
|
78335
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78336
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78337
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.559344"], ["updated_at", "2015-11-24 08:57:46.559344"]]
|
78338
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78339
|
+
Processing by Wupee::Api::NotificationsController#update_all as JSON
|
78340
|
+
[1m[35mWupee::Notification Load (0.2ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."is_read" = ? ORDER BY "wupee_notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"], ["is_read", "f"]]
|
78341
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
78342
|
+
Completed 204 No Content in 2ms (ActiveRecord: 0.2ms)
|
78343
|
+
[1m[35mWupee::Notification Load (0.1ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ? LIMIT 1 [["id", 1]]
|
78344
|
+
[1m[36m (1.7ms)[0m [1mrollback transaction[0m
|
78345
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78346
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78347
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
78348
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-24 08:57:46.745104"], ["updated_at", "2015-11-24 08:57:46.745104"]]
|
78349
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78350
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78351
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78352
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-11-24 08:57:46.747415"], ["updated_at", "2015-11-24 08:57:46.747415"]]
|
78353
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78354
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78355
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78356
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:46.750539"], ["updated_at", "2015-11-24 08:57:46.750539"]]
|
78357
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78358
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78359
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.752090"], ["updated_at", "2015-11-24 08:57:46.752090"]]
|
78360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78361
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78362
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.753504"], ["updated_at", "2015-11-24 08:57:46.753504"]]
|
78363
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78364
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
78365
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78366
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78367
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
78368
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-24 08:57:46.760141"], ["updated_at", "2015-11-24 08:57:46.760141"]]
|
78369
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78370
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78371
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78372
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-11-24 08:57:46.762081"], ["updated_at", "2015-11-24 08:57:46.762081"]]
|
78373
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78374
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78375
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78376
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:46.764859"], ["updated_at", "2015-11-24 08:57:46.764859"]]
|
78377
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78378
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78379
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.766379"], ["updated_at", "2015-11-24 08:57:46.766379"]]
|
78380
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78382
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.767722"], ["updated_at", "2015-11-24 08:57:46.767722"]]
|
78383
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78384
|
+
Rendered notifications_mailer/abc.html.erb (1.2ms)
|
78385
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
78386
|
+
|
78387
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 17.0ms
|
78388
|
+
|
78389
|
+
Sent mail to user7@sleede.com (7.0ms)
|
78390
|
+
Date: Tue, 24 Nov 2015 09:57:46 +0100
|
78391
|
+
From: contact@sleede.com
|
78392
|
+
To: user7@sleede.com
|
78393
|
+
Message-ID: <5654268ac12d1_108ca3ffab90601dc512f2@MBP-sleede-Nicolas.local.mail>
|
78394
|
+
Subject: abc hello world
|
78395
|
+
Mime-Version: 1.0
|
78396
|
+
Content-Type: text/html;
|
78397
|
+
charset=UTF-8
|
78398
|
+
Content-Transfer-Encoding: 7bit
|
78399
|
+
|
78400
|
+
|
78401
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
78402
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78403
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
78404
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1[0m
|
78405
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "abc"], ["created_at", "2015-11-24 08:57:46.799288"], ["updated_at", "2015-11-24 08:57:46.799288"]]
|
78406
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
78407
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78408
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78409
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user8@sleede.com"], ["name", "user8"], ["created_at", "2015-11-24 08:57:46.801336"], ["updated_at", "2015-11-24 08:57:46.801336"]]
|
78410
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78411
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
78412
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78413
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:46.803848"], ["updated_at", "2015-11-24 08:57:46.803848"]]
|
78414
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78415
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78416
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-24 08:57:46.805232"], ["updated_at", "2015-11-24 08:57:46.805232"]]
|
78417
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78418
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78419
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.807117"], ["updated_at", "2015-11-24 08:57:46.807117"]]
|
78420
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78421
|
+
Rendered notifications_mailer/abc.html.erb (0.0ms)
|
78422
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
78423
|
+
|
78424
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.4ms
|
78425
|
+
|
78426
|
+
Sent mail to user8@sleede.com (1.2ms)
|
78427
|
+
Date: Tue, 24 Nov 2015 09:57:46 +0100
|
78428
|
+
From: contact@sleede.com
|
78429
|
+
To: user8@sleede.com
|
78430
|
+
Message-ID: <5654268ac5c94_108ca3ffab90601dc51393@MBP-sleede-Nicolas.local.mail>
|
78431
|
+
Subject: abc hello world
|
78432
|
+
Mime-Version: 1.0
|
78433
|
+
Content-Type: text/html;
|
78434
|
+
charset=UTF-8
|
78435
|
+
Content-Transfer-Encoding: 7bit
|
78436
|
+
|
78437
|
+
|
78438
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
78439
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78440
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78441
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
78442
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-24 08:57:46.814315"], ["updated_at", "2015-11-24 08:57:46.814315"]]
|
78443
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78444
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78445
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78446
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user9@sleede.com"], ["name", "user9"], ["created_at", "2015-11-24 08:57:46.816513"], ["updated_at", "2015-11-24 08:57:46.816513"]]
|
78447
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78448
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78449
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78450
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:46.819176"], ["updated_at", "2015-11-24 08:57:46.819176"]]
|
78451
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78452
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78453
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.820577"], ["updated_at", "2015-11-24 08:57:46.820577"]]
|
78454
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78455
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78456
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.822061"], ["updated_at", "2015-11-24 08:57:46.822061"]]
|
78457
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78458
|
+
Rendered notifications_mailer/abc.html.erb (0.0ms)
|
78459
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
78460
|
+
|
78461
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.3ms
|
78462
|
+
|
78463
|
+
Sent mail to user9@sleede.com (1.6ms)
|
78464
|
+
Date: Tue, 24 Nov 2015 09:57:46 +0100
|
78465
|
+
From: contact@sleede.com
|
78466
|
+
To: user9@sleede.com
|
78467
|
+
Message-ID: <5654268ac9860_108ca3ffab90601dc51431@MBP-sleede-Nicolas.local.mail>
|
78468
|
+
Subject: abc hello world
|
78469
|
+
Mime-Version: 1.0
|
78470
|
+
Content-Type: text/html;
|
78471
|
+
charset=UTF-8
|
78472
|
+
Content-Transfer-Encoding: 7bit
|
78473
|
+
|
78474
|
+
|
78475
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
78476
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78477
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78478
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1[0m
|
78479
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "abc"], ["created_at", "2015-11-24 08:57:46.829832"], ["updated_at", "2015-11-24 08:57:46.829832"]]
|
78480
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
78481
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78482
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78483
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user10@sleede.com"], ["name", "user10"], ["created_at", "2015-11-24 08:57:46.832169"], ["updated_at", "2015-11-24 08:57:46.832169"]]
|
78484
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78485
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
78486
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78487
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:46.836132"], ["updated_at", "2015-11-24 08:57:46.836132"]]
|
78488
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78489
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78490
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-24 08:57:46.839096"], ["updated_at", "2015-11-24 08:57:46.839096"]]
|
78491
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78492
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78493
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.841522"], ["updated_at", "2015-11-24 08:57:46.841522"]]
|
78494
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78495
|
+
Rendered notifications_mailer/abc.html.erb (0.1ms)
|
78496
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
78497
|
+
|
78498
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 2.9ms
|
78499
|
+
|
78500
|
+
Sent mail to user10@sleede.com (3.1ms)
|
78501
|
+
Date: Tue, 24 Nov 2015 09:57:46 +0100
|
78502
|
+
From: contact@sleede.com
|
78503
|
+
To: user10@sleede.com
|
78504
|
+
Message-ID: <5654268acecdf_108ca3ffab90601dc515e6@MBP-sleede-Nicolas.local.mail>
|
78505
|
+
Subject: abc hello world
|
78506
|
+
Mime-Version: 1.0
|
78507
|
+
Content-Type: text/html;
|
78508
|
+
charset=UTF-8
|
78509
|
+
Content-Transfer-Encoding: 7bit
|
78510
|
+
|
78511
|
+
|
78512
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
78513
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78514
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78515
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.856040"], ["updated_at", "2015-11-24 08:57:46.856040"]]
|
78516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78517
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78518
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-11-24 08:57:46.858245"], ["updated_at", "2015-11-24 08:57:46.858245"]]
|
78519
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78520
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78521
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
78522
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78523
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78524
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.861258"], ["updated_at", "2015-11-24 08:57:46.861258"]]
|
78525
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78526
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78527
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78528
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.864093"], ["updated_at", "2015-11-24 08:57:46.864093"]]
|
78529
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78531
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.865623"], ["updated_at", "2015-11-24 08:57:46.865623"]]
|
78532
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78533
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
78534
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78535
|
+
[1m[35mWupee::Notification Load (0.1ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."attached_object_id" = ? AND "wupee_notifications"."attached_object_type" = ? [["attached_object_id", 1], ["attached_object_type", "Message"]]
|
78536
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
78537
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 1]]
|
78538
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78539
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
78540
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
78541
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78543
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.875119"], ["updated_at", "2015-11-24 08:57:46.875119"]]
|
78544
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78545
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78546
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user12@sleede.com"], ["name", "user12"], ["created_at", "2015-11-24 08:57:46.876754"], ["updated_at", "2015-11-24 08:57:46.876754"]]
|
78547
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78548
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78550
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
78551
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.878974"], ["updated_at", "2015-11-24 08:57:46.878974"]]
|
78552
|
+
[1m[36m (0.0ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
78553
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78554
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
78555
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.881330"], ["updated_at", "2015-11-24 08:57:46.881330"]]
|
78556
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78557
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78558
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-11-24 08:57:46.882799"], ["updated_at", "2015-11-24 08:57:46.882799"]]
|
78559
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78560
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78561
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1
|
78562
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:46.885378"], ["updated_at", "2015-11-24 08:57:46.885378"]]
|
78563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78565
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.886822"], ["updated_at", "2015-11-24 08:57:46.886822"]]
|
78566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78567
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
78568
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78569
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.889121"], ["updated_at", "2015-11-24 08:57:46.889121"]]
|
78570
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78571
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
78572
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
78573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78574
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78575
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.893647"], ["updated_at", "2015-11-24 08:57:46.893647"]]
|
78576
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78577
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78578
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user14@sleede.com"], ["name", "user14"], ["created_at", "2015-11-24 08:57:46.895559"], ["updated_at", "2015-11-24 08:57:46.895559"]]
|
78579
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78580
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78581
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78582
|
+
[1m[36mWupee::NotificationType Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
78583
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.897741"], ["updated_at", "2015-11-24 08:57:46.897741"]]
|
78584
|
+
[1m[36m (0.0ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
78585
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78586
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
78587
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.899874"], ["updated_at", "2015-11-24 08:57:46.899874"]]
|
78588
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78589
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78590
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-11-24 08:57:46.901250"], ["updated_at", "2015-11-24 08:57:46.901250"]]
|
78591
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78592
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78593
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1
|
78594
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:46.904059"], ["updated_at", "2015-11-24 08:57:46.904059"]]
|
78595
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78596
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78597
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.905804"], ["updated_at", "2015-11-24 08:57:46.905804"]]
|
78598
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78599
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
78600
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78601
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.907820"], ["updated_at", "2015-11-24 08:57:46.907820"]]
|
78602
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78603
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
78604
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
78605
|
+
[1m[35m (0.3ms)[0m begin transaction
|
78606
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78607
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.914656"], ["updated_at", "2015-11-24 08:57:46.914656"]]
|
78608
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78609
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78610
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user16@sleede.com"], ["name", "user16"], ["created_at", "2015-11-24 08:57:46.921240"], ["updated_at", "2015-11-24 08:57:46.921240"]]
|
78611
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78612
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78613
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78614
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
78615
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.924170"], ["updated_at", "2015-11-24 08:57:46.924170"]]
|
78616
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
78617
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78618
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
78619
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.926794"], ["updated_at", "2015-11-24 08:57:46.926794"]]
|
78620
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78621
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
78622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78623
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78624
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-24 08:57:46.932902"], ["updated_at", "2015-11-24 08:57:46.932902"]]
|
78625
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78626
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78627
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-11-24 08:57:46.934826"], ["updated_at", "2015-11-24 08:57:46.934826"]]
|
78628
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78629
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78630
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78631
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78632
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.937347"], ["updated_at", "2015-11-24 08:57:46.937347"]]
|
78633
|
+
[1m[35m (0.0ms)[0m SELECT "users"."id" FROM "users"
|
78634
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78635
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78636
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.939655"], ["updated_at", "2015-11-24 08:57:46.939655"]]
|
78637
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78638
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
78639
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78640
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78641
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.943814"], ["updated_at", "2015-11-24 08:57:46.943814"]]
|
78642
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78643
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78644
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-11-24 08:57:46.945740"], ["updated_at", "2015-11-24 08:57:46.945740"]]
|
78645
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78646
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78647
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78648
|
+
[1m[36mWupee::NotificationType Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
78649
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.948391"], ["updated_at", "2015-11-24 08:57:46.948391"]]
|
78650
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
78651
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78652
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
78653
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.950529"], ["updated_at", "2015-11-24 08:57:46.950529"]]
|
78654
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78655
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
78656
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-11-24 08:57:46.952788"], ["updated_at", "2015-11-24 08:57:46.952788"]]
|
78657
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78658
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78659
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1
|
78660
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:46.956485"], ["updated_at", "2015-11-24 08:57:46.956485"]]
|
78661
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78662
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78663
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.958694"], ["updated_at", "2015-11-24 08:57:46.958694"]]
|
78664
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78665
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
78666
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78667
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.963205"], ["updated_at", "2015-11-24 08:57:46.963205"]]
|
78668
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78669
|
+
[1m[35m (1.4ms)[0m rollback transaction
|
78670
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78671
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78672
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-24 08:57:46.972865"], ["updated_at", "2015-11-24 08:57:46.972865"]]
|
78673
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78674
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78675
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-11-24 08:57:46.974707"], ["updated_at", "2015-11-24 08:57:46.974707"]]
|
78676
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78677
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78678
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78679
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78680
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.977311"], ["updated_at", "2015-11-24 08:57:46.977311"]]
|
78681
|
+
[1m[35m (0.0ms)[0m SELECT "users"."id" FROM "users"
|
78682
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78683
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78684
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.979835"], ["updated_at", "2015-11-24 08:57:46.979835"]]
|
78685
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78686
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78687
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-11-24 08:57:46.981657"], ["updated_at", "2015-11-24 08:57:46.981657"]]
|
78688
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78689
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
78690
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1[0m
|
78691
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:46.984202"], ["updated_at", "2015-11-24 08:57:46.984202"]]
|
78692
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78693
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78694
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-24 08:57:46.985687"], ["updated_at", "2015-11-24 08:57:46.985687"]]
|
78695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78696
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
78697
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78698
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:46.987445"], ["updated_at", "2015-11-24 08:57:46.987445"]]
|
78699
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78700
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
78701
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78702
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78703
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user22@sleede.com"], ["name", "user22"], ["created_at", "2015-11-24 08:57:46.991574"], ["updated_at", "2015-11-24 08:57:46.991574"]]
|
78704
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78705
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78707
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78708
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.994003"], ["updated_at", "2015-11-24 08:57:46.994003"]]
|
78709
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78710
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78711
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78712
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:46.996628"], ["updated_at", "2015-11-24 08:57:46.996628"]]
|
78713
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78714
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" IS NULL AND "wupee_notification_type_configurations"."receiver_id" IS NULL) LIMIT 1[0m
|
78715
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
78716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78717
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78718
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user23@sleede.com"], ["name", "user23"], ["created_at", "2015-11-24 08:57:47.001422"], ["updated_at", "2015-11-24 08:57:47.001422"]]
|
78719
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78720
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78721
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78722
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
78723
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.004028"], ["updated_at", "2015-11-24 08:57:47.004028"]]
|
78724
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
78725
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78726
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
78727
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:47.007307"], ["updated_at", "2015-11-24 08:57:47.007307"]]
|
78728
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78729
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" IS NULL AND "wupee_notification_type_configurations"."receiver_id" IS NULL) LIMIT 1
|
78730
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
78731
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78733
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user24@sleede.com"], ["name", "user24"], ["created_at", "2015-11-24 08:57:47.013285"], ["updated_at", "2015-11-24 08:57:47.013285"]]
|
78734
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78735
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78737
|
+
[1m[35mWupee::NotificationType Exists (0.0ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78738
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.015448"], ["updated_at", "2015-11-24 08:57:47.015448"]]
|
78739
|
+
[1m[35m (0.0ms)[0m SELECT "users"."id" FROM "users"
|
78740
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78741
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78742
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:47.017739"], ["updated_at", "2015-11-24 08:57:47.017739"]]
|
78743
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78744
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78745
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78746
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
78747
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78748
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
78749
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78750
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78751
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user25@sleede.com"], ["name", "user25"], ["created_at", "2015-11-24 08:57:47.024659"], ["updated_at", "2015-11-24 08:57:47.024659"]]
|
78752
|
+
[1m[36m (0.2ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78753
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
78754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78755
|
+
[1m[35mWupee::NotificationType Exists (0.4ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78756
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.034095"], ["updated_at", "2015-11-24 08:57:47.034095"]]
|
78757
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78758
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78759
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78760
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:47.038740"], ["updated_at", "2015-11-24 08:57:47.038740"]]
|
78761
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78762
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
78763
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78764
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78765
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user26@sleede.com"], ["name", "user26"], ["created_at", "2015-11-24 08:57:47.045316"], ["updated_at", "2015-11-24 08:57:47.045316"]]
|
78766
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78767
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78768
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78769
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78770
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.048128"], ["updated_at", "2015-11-24 08:57:47.048128"]]
|
78771
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78772
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78773
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78774
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:47.050798"], ["updated_at", "2015-11-24 08:57:47.050798"]]
|
78775
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78776
|
+
[1m[36m (1.6ms)[0m [1mrollback transaction[0m
|
78777
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78778
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78779
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78780
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.055971"], ["updated_at", "2015-11-24 08:57:47.055971"]]
|
78781
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78782
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78783
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
78784
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
78785
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78786
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78787
|
+
[1m[35mWupee::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78788
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.060276"], ["updated_at", "2015-11-24 08:57:47.060276"]]
|
78789
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78790
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78791
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78792
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user27@sleede.com"], ["name", "user27"], ["created_at", "2015-11-24 08:57:47.062286"], ["updated_at", "2015-11-24 08:57:47.062286"]]
|
78793
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78794
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78795
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78796
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:47.066022"], ["updated_at", "2015-11-24 08:57:47.066022"]]
|
78797
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78798
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78799
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user28@sleede.com"], ["name", "user28"], ["created_at", "2015-11-24 08:57:47.068243"], ["updated_at", "2015-11-24 08:57:47.068243"]]
|
78800
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78801
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
78802
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1[0m
|
78803
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:47.071573"], ["updated_at", "2015-11-24 08:57:47.071573"]]
|
78804
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78805
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78806
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user29@sleede.com"], ["name", "user29"], ["created_at", "2015-11-24 08:57:47.073552"], ["updated_at", "2015-11-24 08:57:47.073552"]]
|
78807
|
+
[1m[35m (0.2ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
78808
|
+
[1m[36mWupee::NotificationType Load (0.2ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78809
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.2ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 3) LIMIT 1
|
78810
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 3], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:47.082688"], ["updated_at", "2015-11-24 08:57:47.082688"]]
|
78811
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78812
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78813
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user30@sleede.com"], ["name", "user30"], ["created_at", "2015-11-24 08:57:47.086139"], ["updated_at", "2015-11-24 08:57:47.086139"]]
|
78814
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78815
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
78816
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 4) LIMIT 1[0m
|
78817
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 4], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:47.088844"], ["updated_at", "2015-11-24 08:57:47.088844"]]
|
78818
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78819
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.1ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 2 AND "wupee_notification_type_configurations"."notification_type_id" = 1 LIMIT 1
|
78820
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78821
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
78822
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."id" != 2 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1[0m
|
78823
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
78824
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ?[0m [["value", 1], ["updated_at", "2015-11-24 08:57:47.093259"], ["id", 2]]
|
78825
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78826
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.1ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 3 AND "wupee_notification_type_configurations"."notification_type_id" = 1 LIMIT 1[0m
|
78827
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78828
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
78829
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."id" != 3 AND "wupee_notification_type_configurations"."receiver_id" = 3) LIMIT 1
|
78830
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
78831
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ? [["value", 2], ["updated_at", "2015-11-24 08:57:47.098125"], ["id", 3]]
|
78832
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78833
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.1ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 4 AND "wupee_notification_type_configurations"."notification_type_id" = 1 LIMIT 1
|
78834
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78835
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
78836
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."id" != 4 AND "wupee_notification_type_configurations"."receiver_id" = 4) LIMIT 1[0m
|
78837
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
78838
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ?[0m [["value", 3], ["updated_at", "2015-11-24 08:57:47.101389"], ["id", 4]]
|
78839
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78840
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.2ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" IN (1, 2, 3, 4) AND "wupee_notification_type_configurations"."notification_type_id" = 1[0m
|
78841
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)
|
78842
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78843
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:47.109769"], ["updated_at", "2015-11-24 08:57:47.109769"]]
|
78844
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78845
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.3ms)
|
78846
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
78847
|
+
|
78848
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 13.5ms
|
78849
|
+
|
78850
|
+
Sent mail to user27@sleede.com (1.4ms)
|
78851
|
+
Date: Tue, 24 Nov 2015 09:57:47 +0100
|
78852
|
+
From: contact@sleede.com
|
78853
|
+
To: user27@sleede.com
|
78854
|
+
Message-ID: <5654268b1e927_108ca3ffab90601dc5166a@MBP-sleede-Nicolas.local.mail>
|
78855
|
+
Subject: notify_new_message
|
78856
|
+
Mime-Version: 1.0
|
78857
|
+
Content-Type: text/html;
|
78858
|
+
charset=UTF-8
|
78859
|
+
Content-Transfer-Encoding: 7bit
|
78860
|
+
|
78861
|
+
|
78862
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78863
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-24 08:57:47.126865"], ["updated_at", "2015-11-24 08:57:47.126865"]]
|
78864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78865
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78866
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["receiver_id", 3], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-24 08:57:47.128727"], ["updated_at", "2015-11-24 08:57:47.128727"]]
|
78867
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78868
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
78869
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 3]]
|
78870
|
+
|
78871
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.2ms
|
78872
|
+
|
78873
|
+
Sent mail to user29@sleede.com (1.2ms)
|
78874
|
+
Date: Tue, 24 Nov 2015 09:57:47 +0100
|
78875
|
+
From: contact@sleede.com
|
78876
|
+
To: user29@sleede.com
|
78877
|
+
Message-ID: <5654268b201aa_108ca3ffab90601dc517e7@MBP-sleede-Nicolas.local.mail>
|
78878
|
+
Subject: notify_new_message
|
78879
|
+
Mime-Version: 1.0
|
78880
|
+
Content-Type: text/html;
|
78881
|
+
charset=UTF-8
|
78882
|
+
Content-Transfer-Encoding: 7bit
|
78883
|
+
|
78884
|
+
|
78885
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78886
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 4], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:47.132902"], ["updated_at", "2015-11-24 08:57:47.132902"]]
|
78887
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78888
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "wupee_notifications" WHERE "wupee_notifications"."is_read" = ?[0m [["is_read", "t"]]
|
78889
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.1ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" IN (1, 2, 3, 4) AND "wupee_notification_type_configurations"."notification_type_id" = 1
|
78890
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)[0m
|
78891
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78892
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:47.136400"], ["updated_at", "2015-11-24 08:57:47.136400"]]
|
78893
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78894
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
78895
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 5]]
|
78896
|
+
|
78897
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.2ms
|
78898
|
+
|
78899
|
+
Sent mail to user27@sleede.com (1.2ms)
|
78900
|
+
Date: Tue, 24 Nov 2015 09:57:47 +0100
|
78901
|
+
From: contact@sleede.com
|
78902
|
+
To: user27@sleede.com
|
78903
|
+
Message-ID: <5654268b21f5c_108ca3ffab90601dc5184@MBP-sleede-Nicolas.local.mail>
|
78904
|
+
Subject: notify_new_message
|
78905
|
+
Mime-Version: 1.0
|
78906
|
+
Content-Type: text/html;
|
78907
|
+
charset=UTF-8
|
78908
|
+
Content-Transfer-Encoding: 7bit
|
78909
|
+
|
78910
|
+
|
78911
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78912
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["receiver_id", 2], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-24 08:57:47.140501"], ["updated_at", "2015-11-24 08:57:47.140501"]]
|
78913
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78914
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78915
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["receiver_id", 3], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-24 08:57:47.141858"], ["updated_at", "2015-11-24 08:57:47.141858"]]
|
78916
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78917
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
78918
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 7]]
|
78919
|
+
|
78920
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.1ms
|
78921
|
+
|
78922
|
+
Sent mail to user29@sleede.com (1.1ms)
|
78923
|
+
Date: Tue, 24 Nov 2015 09:57:47 +0100
|
78924
|
+
From: contact@sleede.com
|
78925
|
+
To: user29@sleede.com
|
78926
|
+
Message-ID: <5654268b233c7_108ca3ffab90601dc519ca@MBP-sleede-Nicolas.local.mail>
|
78927
|
+
Subject: notify_new_message
|
78928
|
+
Mime-Version: 1.0
|
78929
|
+
Content-Type: text/html;
|
78930
|
+
charset=UTF-8
|
78931
|
+
Content-Transfer-Encoding: 7bit
|
78932
|
+
|
78933
|
+
|
78934
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78935
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["receiver_id", 4], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:47.145675"], ["updated_at", "2015-11-24 08:57:47.145675"]]
|
78936
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78937
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications" WHERE "wupee_notifications"."is_read" = ? [["is_read", "t"]]
|
78938
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "wupee_notifications"[0m
|
78939
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.2ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" IN (1, 2, 3, 4) AND "wupee_notification_type_configurations"."notification_type_id" = 1
|
78940
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)[0m
|
78941
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78942
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:47.149239"], ["updated_at", "2015-11-24 08:57:47.149239"]]
|
78943
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78944
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
78945
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 9]]
|
78946
|
+
|
78947
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.2ms
|
78948
|
+
|
78949
|
+
Sent mail to user27@sleede.com (1.3ms)
|
78950
|
+
Date: Tue, 24 Nov 2015 09:57:47 +0100
|
78951
|
+
From: contact@sleede.com
|
78952
|
+
To: user27@sleede.com
|
78953
|
+
Message-ID: <5654268b2517f_108ca3ffab90601dc52089@MBP-sleede-Nicolas.local.mail>
|
78954
|
+
Subject: notify_new_message
|
78955
|
+
Mime-Version: 1.0
|
78956
|
+
Content-Type: text/html;
|
78957
|
+
charset=UTF-8
|
78958
|
+
Content-Transfer-Encoding: 7bit
|
78959
|
+
|
78960
|
+
|
78961
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78962
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["receiver_id", 2], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-24 08:57:47.153432"], ["updated_at", "2015-11-24 08:57:47.153432"]]
|
78963
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78964
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78965
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["receiver_id", 3], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-24 08:57:47.154800"], ["updated_at", "2015-11-24 08:57:47.154800"]]
|
78966
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78967
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
78968
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 11]]
|
78969
|
+
|
78970
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.5ms
|
78971
|
+
|
78972
|
+
Sent mail to user29@sleede.com (1.2ms)
|
78973
|
+
Date: Tue, 24 Nov 2015 09:57:47 +0100
|
78974
|
+
From: contact@sleede.com
|
78975
|
+
To: user29@sleede.com
|
78976
|
+
Message-ID: <5654268b2686d_108ca3ffab90601dc521dd@MBP-sleede-Nicolas.local.mail>
|
78977
|
+
Subject: notify_new_message
|
78978
|
+
Mime-Version: 1.0
|
78979
|
+
Content-Type: text/html;
|
78980
|
+
charset=UTF-8
|
78981
|
+
Content-Transfer-Encoding: 7bit
|
78982
|
+
|
78983
|
+
|
78984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78985
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["receiver_id", 4], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:47.159234"], ["updated_at", "2015-11-24 08:57:47.159234"]]
|
78986
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78987
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
78988
|
+
[1m[36m (4.4ms)[0m [1mrollback transaction[0m
|
78989
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78990
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78991
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78992
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78993
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78994
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78995
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78996
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78997
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78998
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78999
|
+
[1m[35m (0.0ms)[0m begin transaction
|
79000
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
79001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
79002
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
79003
|
+
[1m[35m (0.0ms)[0m begin transaction
|
79004
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
79005
|
+
[1m[35m (0.0ms)[0m begin transaction
|
79006
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79007
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user31@sleede.com"], ["name", "user31"], ["created_at", "2015-11-24 08:57:47.172071"], ["updated_at", "2015-11-24 08:57:47.172071"]]
|
79008
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
79009
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
79010
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79011
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:47.174446"], ["updated_at", "2015-11-24 08:57:47.174446"]]
|
79012
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
79013
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
79014
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79015
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
79016
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.177133"], ["updated_at", "2015-11-24 08:57:47.177133"]]
|
79017
|
+
[1m[35m (0.0ms)[0m SELECT "users"."id" FROM "users"
|
79018
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
79019
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
79020
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:47.179465"], ["updated_at", "2015-11-24 08:57:47.179465"]]
|
79021
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
79022
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79023
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-24 08:57:47.180955"], ["updated_at", "2015-11-24 08:57:47.180955"]]
|
79024
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
79025
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
79026
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79027
|
+
[1m[35mWupee::Notification Load (0.0ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
79028
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
79029
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.1ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_id" = ? AND "wupee_notification_type_configurations"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
79030
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."id" = ?[0m [["id", 1]]
|
79031
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
79032
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
79033
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
79034
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
79035
|
+
[1m[35m (0.1ms)[0m begin transaction
|
79036
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79037
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user32@sleede.com"], ["name", "user32"], ["created_at", "2015-11-24 08:57:47.188040"], ["updated_at", "2015-11-24 08:57:47.188040"]]
|
79038
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
79039
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
79040
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79041
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
79042
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-24 08:57:47.190455"], ["updated_at", "2015-11-24 08:57:47.190455"]]
|
79043
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
79044
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
79045
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
79046
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-24 08:57:47.193184"], ["updated_at", "2015-11-24 08:57:47.193184"]]
|
79047
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
79048
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79049
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
79050
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
79051
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
79052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79053
|
+
[1m[35mWupee::Notification Load (0.0ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
79054
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.0ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_id" = ? AND "wupee_notification_type_configurations"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
79055
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."id" = ? [["id", 1]]
|
79056
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
79057
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
79058
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "wupee_notification_type_configurations"[0m
|
79059
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
79060
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
79061
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
79062
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
79063
|
+
[1m[35m (0.1ms)[0m begin transaction
|
79064
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79065
|
+
[1m[35mWupee::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
79066
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.203705"], ["updated_at", "2015-11-24 08:57:47.203705"]]
|
79067
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
79068
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
79069
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
79070
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
79071
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user33@sleede.com"], ["name", "user33"], ["created_at", "2015-11-24 08:57:47.206549"], ["updated_at", "2015-11-24 08:57:47.206549"]]
|
79072
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
79073
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
79074
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
79075
|
+
[1m[35mSQL (2.9ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-24 08:57:47.209907"], ["updated_at", "2015-11-24 08:57:47.209907"]]
|
79076
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
79077
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
79078
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.3ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" ORDER BY "wupee_notification_type_configurations"."id" DESC LIMIT 1[0m
|
79079
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
79080
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
|
79081
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
79082
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
79083
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
79084
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
79085
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
79086
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
79087
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wupee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peng DU
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-11-
|
12
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|