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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de9504fc463ef29be2821c84d7c83db207c1698b
4
- data.tar.gz: 7b2b1c49b7151216ee13482fee0a54cfbd08ce72
3
+ metadata.gz: 0058861954977d8f19d45b5c2d2e01028934cc7d
4
+ data.tar.gz: 3a69f93f993039ef5a3adca1d279cd124195dcee
5
5
  SHA512:
6
- metadata.gz: 2dea044bc017794cff93d2efaa0b3876059af93481de62dfcf305c17377026ae73836705e4332440c5517d798aa135c205b7600ea53b134f359c2d658b587995
7
- data.tar.gz: ebec95a621f8f93285272ba939b00791a53727f06bfaf2a106872783337737a0822d0fa2a953c42a848b2b7fcdd62b47122d441b14dd012dd89cf35cce811be5
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.wants_notification?
50
+ send_email(notification, subject_interpolations) if notif_type_config.wants_email?
51
51
  end
52
52
  end
53
53
 
@@ -1,3 +1,3 @@
1
1
  module Wupee
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -78201,3 +78201,887 @@ Content-Transfer-Encoding: 7bit
78201
78201
   (0.0ms) rollback transaction
78202
78202
   (0.1ms) begin transaction
78203
78203
   (0.0ms) rollback transaction
78204
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
78205
+  (0.1ms) begin transaction
78206
+  (0.0ms) SAVEPOINT active_record_1
78207
+ SQL (0.8ms) 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
+  (0.5ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78210
+  (0.1ms) SAVEPOINT active_record_1
78211
+ SQL (0.7ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78213
+ Wupee::NotificationType Load (0.2ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78214
+  (0.1ms) SAVEPOINT active_record_1
78215
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78216
+ SQL (0.5ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.409042"], ["updated_at", "2015-11-24 08:57:46.409042"]]
78217
+  (0.1ms) SELECT "users"."id" FROM "users"
78218
+ Wupee::NotificationTypeConfiguration Exists (0.6ms) 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
78219
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78220
+ SQL (0.7ms) 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.424319"], ["updated_at", "2015-11-24 08:57:46.424319"]]
78221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78222
+  (0.0ms) SAVEPOINT active_record_1
78223
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+  (1.2ms) rollback transaction
78229
+  (0.1ms) begin transaction
78230
+  (0.0ms) SAVEPOINT active_record_1
78231
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78233
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78234
+  (0.0ms) SAVEPOINT active_record_1
78235
+ SQL (0.3ms) INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.468770"], ["updated_at", "2015-11-24 08:57:46.468770"]]
78236
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78237
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78238
+  (0.0ms) SAVEPOINT active_record_1
78239
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78240
+ SQL (0.1ms) 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
+  (0.0ms) SELECT "users"."id" FROM "users"
78242
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78244
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78246
+  (0.0ms) SAVEPOINT active_record_1
78247
+ SQL (0.1ms) 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.474863"], ["updated_at", "2015-11-24 08:57:46.474863"]]
78248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78249
+ Processing by Wupee::Api::NotificationsController#index as JSON
78250
+ Wupee::Notification Load (0.1ms) SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
78251
+ Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
78252
+ Wupee::NotificationType Load (0.1ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["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
+  (1.2ms) rollback transaction
78258
+  (0.1ms) begin transaction
78259
+  (0.0ms) SAVEPOINT active_record_1
78260
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78262
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78263
+  (0.0ms) SAVEPOINT active_record_1
78264
+ SQL (0.2ms) INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.498726"], ["updated_at", "2015-11-24 08:57:46.498726"]]
78265
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78266
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78267
+  (0.1ms) SAVEPOINT active_record_1
78268
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78269
+ SQL (0.1ms) 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
+  (0.1ms) SELECT "users"."id" FROM "users"
78271
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78273
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78275
+  (0.1ms) SAVEPOINT active_record_1
78276
+ SQL (0.1ms) 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.514462"], ["updated_at", "2015-11-24 08:57:46.514462"]]
78277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78278
+ Processing by Wupee::Api::NotificationsController#show as JSON
78279
+ Parameters: {"id"=>"1"}
78280
+ Wupee::Notification Load (0.1ms) SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
78281
+ Message Load (0.1ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
78282
+ Wupee::NotificationType Load (0.1ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["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
+  (1.0ms) rollback transaction
78288
+  (0.1ms) begin transaction
78289
+  (0.0ms) SAVEPOINT active_record_1
78290
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78293
+  (0.0ms) SAVEPOINT active_record_1
78294
+ SQL (0.3ms) INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.532605"], ["updated_at", "2015-11-24 08:57:46.532605"]]
78295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78296
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78297
+  (0.0ms) SAVEPOINT active_record_1
78298
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78299
+ SQL (0.1ms) 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
+  (0.1ms) SELECT "users"."id" FROM "users"
78301
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78303
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78305
+  (0.1ms) SAVEPOINT active_record_1
78306
+ SQL (0.1ms) 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.539562"], ["updated_at", "2015-11-24 08:57:46.539562"]]
78307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78308
+ Processing by Wupee::Api::NotificationsController#update as JSON
78309
+ Parameters: {"id"=>"1"}
78310
+ Wupee::Notification Load (0.1ms) SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
78311
+ SQL (0.1ms) UPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
78312
+ Message Load (0.0ms) SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
78313
+ Wupee::NotificationType Load (0.0ms) 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
+  (2.1ms) rollback transaction
78319
+  (0.1ms) begin transaction
78320
+  (0.0ms) SAVEPOINT active_record_1
78321
+ SQL (0.2ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78324
+  (0.0ms) SAVEPOINT active_record_1
78325
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78327
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78328
+  (0.0ms) SAVEPOINT active_record_1
78329
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78330
+ SQL (0.1ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.555589"], ["updated_at", "2015-11-24 08:57:46.555589"]]
78331
+  (0.1ms) SELECT "users"."id" FROM "users"
78332
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78333
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78334
+ SQL (0.1ms) 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.557794"], ["updated_at", "2015-11-24 08:57:46.557794"]]
78335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78336
+  (0.0ms) SAVEPOINT active_record_1
78337
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78339
+ Processing by Wupee::Api::NotificationsController#update_all as JSON
78340
+ Wupee::Notification Load (0.2ms) 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
+ SQL (0.0ms) UPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
78342
+ Completed 204 No Content in 2ms (ActiveRecord: 0.2ms)
78343
+ Wupee::Notification Load (0.1ms) SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ? LIMIT 1 [["id", 1]]
78344
+  (1.7ms) rollback transaction
78345
+  (0.1ms) begin transaction
78346
+  (0.1ms) SAVEPOINT active_record_1
78347
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
78348
+ SQL (0.3ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "abc"], ["created_at", "2015-11-24 08:57:46.745104"], ["updated_at", "2015-11-24 08:57:46.745104"]]
78349
+  (0.1ms) SELECT "users"."id" FROM "users"
78350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78351
+  (0.0ms) SAVEPOINT active_record_1
78352
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78354
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78355
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ SQL (0.1ms) 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.750539"], ["updated_at", "2015-11-24 08:57:46.750539"]]
78357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78358
+  (0.0ms) SAVEPOINT active_record_1
78359
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78361
+  (0.0ms) SAVEPOINT active_record_1
78362
+ SQL (0.1ms) 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.753504"], ["updated_at", "2015-11-24 08:57:46.753504"]]
78363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78364
+  (0.8ms) rollback transaction
78365
+  (0.1ms) begin transaction
78366
+  (0.0ms) SAVEPOINT active_record_1
78367
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
78368
+ SQL (0.2ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "abc"], ["created_at", "2015-11-24 08:57:46.760141"], ["updated_at", "2015-11-24 08:57:46.760141"]]
78369
+  (0.1ms) SELECT "users"."id" FROM "users"
78370
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78371
+  (0.0ms) SAVEPOINT active_record_1
78372
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78374
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78375
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ SQL (0.1ms) 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.764859"], ["updated_at", "2015-11-24 08:57:46.764859"]]
78377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78378
+  (0.0ms) SAVEPOINT active_record_1
78379
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78381
+  (0.0ms) SAVEPOINT active_record_1
78382
+ SQL (0.1ms) 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.767722"], ["updated_at", "2015-11-24 08:57:46.767722"]]
78383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78384
+ Rendered notifications_mailer/abc.html.erb (1.2ms)
78385
+ SQL (0.1ms) UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["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
+  (0.7ms) rollback transaction
78402
+  (0.1ms) begin transaction
78403
+  (0.2ms) SAVEPOINT active_record_1
78404
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
78405
+ SQL (0.2ms) 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
+  (0.1ms) SELECT "users"."id" FROM "users"
78407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78408
+  (0.0ms) SAVEPOINT active_record_1
78409
+ SQL (0.3ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78411
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78412
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78413
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78415
+  (0.0ms) SAVEPOINT active_record_1
78416
+ SQL (0.2ms) INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.805232"], ["updated_at", "2015-11-24 08:57:46.805232"]]
78417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78418
+  (0.0ms) SAVEPOINT active_record_1
78419
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78421
+ Rendered notifications_mailer/abc.html.erb (0.0ms)
78422
+ SQL (0.1ms) 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
+  (0.8ms) rollback transaction
78439
+  (0.1ms) begin transaction
78440
+  (0.0ms) SAVEPOINT active_record_1
78441
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
78442
+ SQL (0.2ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "abc"], ["created_at", "2015-11-24 08:57:46.814315"], ["updated_at", "2015-11-24 08:57:46.814315"]]
78443
+  (0.1ms) SELECT "users"."id" FROM "users"
78444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78445
+  (0.0ms) SAVEPOINT active_record_1
78446
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78448
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78449
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ SQL (0.1ms) 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.819176"], ["updated_at", "2015-11-24 08:57:46.819176"]]
78451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78452
+  (0.0ms) SAVEPOINT active_record_1
78453
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78455
+  (0.0ms) SAVEPOINT active_record_1
78456
+ SQL (0.1ms) 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.822061"], ["updated_at", "2015-11-24 08:57:46.822061"]]
78457
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78458
+ Rendered notifications_mailer/abc.html.erb (0.0ms)
78459
+ SQL (0.0ms) UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["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
+  (0.8ms) rollback transaction
78476
+  (0.1ms) begin transaction
78477
+  (0.1ms) SAVEPOINT active_record_1
78478
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
78479
+ SQL (0.2ms) 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
+  (0.1ms) SELECT "users"."id" FROM "users"
78481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78482
+  (0.0ms) SAVEPOINT active_record_1
78483
+ SQL (0.3ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78485
+ Wupee::NotificationType Load (0.1ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78486
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78487
+ SQL (0.2ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
78489
+  (0.1ms) SAVEPOINT active_record_1
78490
+ SQL (0.1ms) INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.839096"], ["updated_at", "2015-11-24 08:57:46.839096"]]
78491
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78492
+  (0.0ms) SAVEPOINT active_record_1
78493
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78495
+ Rendered notifications_mailer/abc.html.erb (0.1ms)
78496
+ SQL (0.1ms) 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
+  (1.9ms) rollback transaction
78513
+  (0.1ms) begin transaction
78514
+  (0.1ms) SAVEPOINT active_record_1
78515
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78517
+  (0.0ms) SAVEPOINT active_record_1
78518
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78521
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78522
+  (0.0ms) SAVEPOINT active_record_1
78523
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78524
+ SQL (0.1ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.861258"], ["updated_at", "2015-11-24 08:57:46.861258"]]
78525
+  (0.1ms) SELECT "users"."id" FROM "users"
78526
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78527
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78528
+ SQL (0.1ms) 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.864093"], ["updated_at", "2015-11-24 08:57:46.864093"]]
78529
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78530
+  (0.0ms) SAVEPOINT active_record_1
78531
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78533
+  (0.1ms) SELECT COUNT(*) FROM "wupee_notifications"
78534
+  (0.0ms) SAVEPOINT active_record_1
78535
+ Wupee::Notification Load (0.1ms) 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
+ SQL (0.1ms) DELETE FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ? [["id", 1]]
78537
+ SQL (0.1ms) DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 1]]
78538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78539
+  (0.0ms) SELECT COUNT(*) FROM "wupee_notifications"
78540
+  (1.0ms) rollback transaction
78541
+  (0.1ms) begin transaction
78542
+  (0.0ms) SAVEPOINT active_record_1
78543
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78545
+  (0.0ms) SAVEPOINT active_record_1
78546
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78549
+  (0.0ms) SAVEPOINT active_record_1
78550
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78551
+ SQL (0.1ms) 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
+  (0.0ms) SELECT "users"."id" FROM "users"
78553
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78555
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78557
+  (0.0ms) SAVEPOINT active_record_1
78558
+ SQL (0.1ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78560
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78561
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ SQL (0.1ms) 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.885378"], ["updated_at", "2015-11-24 08:57:46.885378"]]
78563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78564
+  (0.0ms) SAVEPOINT active_record_1
78565
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78567
+ Wupee::NotificationType Load (0.1ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78568
+  (0.0ms) SAVEPOINT active_record_1
78569
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78571
+ SQL (0.1ms) UPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
78572
+  (0.9ms) rollback transaction
78573
+  (0.1ms) begin transaction
78574
+  (0.1ms) SAVEPOINT active_record_1
78575
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78577
+  (0.0ms) SAVEPOINT active_record_1
78578
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78581
+  (0.0ms) SAVEPOINT active_record_1
78582
+ Wupee::NotificationType Exists (0.0ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78583
+ SQL (0.1ms) 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
+  (0.0ms) SELECT "users"."id" FROM "users"
78585
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78587
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78589
+  (0.0ms) SAVEPOINT active_record_1
78590
+ SQL (0.1ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78592
+ Wupee::NotificationType Load (0.1ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78593
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ SQL (0.1ms) 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.904059"], ["updated_at", "2015-11-24 08:57:46.904059"]]
78595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78596
+  (0.0ms) SAVEPOINT active_record_1
78597
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78599
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78600
+  (0.0ms) SAVEPOINT active_record_1
78601
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78603
+ SQL (0.0ms) UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
78604
+  (1.9ms) rollback transaction
78605
+  (0.3ms) begin transaction
78606
+  (0.1ms) SAVEPOINT active_record_1
78607
+ SQL (0.9ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78609
+  (0.1ms) SAVEPOINT active_record_1
78610
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78613
+  (0.0ms) SAVEPOINT active_record_1
78614
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78615
+ SQL (0.1ms) 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
+  (0.1ms) SELECT "users"."id" FROM "users"
78617
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78619
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78621
+  (1.0ms) rollback transaction
78622
+  (0.1ms) begin transaction
78623
+  (0.1ms) SAVEPOINT active_record_1
78624
+ SQL (0.2ms) INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.932902"], ["updated_at", "2015-11-24 08:57:46.932902"]]
78625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78626
+  (0.0ms) SAVEPOINT active_record_1
78627
+ SQL (0.3ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78630
+  (0.0ms) SAVEPOINT active_record_1
78631
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78632
+ SQL (0.1ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.937347"], ["updated_at", "2015-11-24 08:57:46.937347"]]
78633
+  (0.0ms) SELECT "users"."id" FROM "users"
78634
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78635
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78636
+ SQL (0.1ms) 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.939655"], ["updated_at", "2015-11-24 08:57:46.939655"]]
78637
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78638
+  (0.7ms) rollback transaction
78639
+  (0.1ms) begin transaction
78640
+  (0.0ms) SAVEPOINT active_record_1
78641
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78643
+  (0.0ms) SAVEPOINT active_record_1
78644
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78647
+  (0.0ms) SAVEPOINT active_record_1
78648
+ Wupee::NotificationType Exists (0.0ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78649
+ SQL (0.1ms) 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
+  (0.1ms) SELECT "users"."id" FROM "users"
78651
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78653
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78655
+  (0.1ms) SAVEPOINT active_record_1
78656
+ SQL (0.1ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78658
+ Wupee::NotificationType Load (0.1ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78659
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ SQL (0.1ms) 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.956485"], ["updated_at", "2015-11-24 08:57:46.956485"]]
78661
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78662
+  (0.0ms) SAVEPOINT active_record_1
78663
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78665
+ Wupee::NotificationType Load (0.1ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78666
+  (0.1ms) SAVEPOINT active_record_1
78667
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78669
+  (1.4ms) rollback transaction
78670
+  (0.1ms) begin transaction
78671
+  (0.0ms) SAVEPOINT active_record_1
78672
+ SQL (0.2ms) INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.972865"], ["updated_at", "2015-11-24 08:57:46.972865"]]
78673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78674
+  (0.0ms) SAVEPOINT active_record_1
78675
+ SQL (0.3ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78678
+  (0.0ms) SAVEPOINT active_record_1
78679
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78680
+ SQL (0.1ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.977311"], ["updated_at", "2015-11-24 08:57:46.977311"]]
78681
+  (0.0ms) SELECT "users"."id" FROM "users"
78682
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78683
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78684
+ SQL (0.1ms) 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.979835"], ["updated_at", "2015-11-24 08:57:46.979835"]]
78685
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78686
+  (0.0ms) SAVEPOINT active_record_1
78687
+ SQL (0.1ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78689
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78690
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78691
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78693
+  (0.0ms) SAVEPOINT active_record_1
78694
+ SQL (0.0ms) INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-24 08:57:46.985687"], ["updated_at", "2015-11-24 08:57:46.985687"]]
78695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78696
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78697
+  (0.0ms) SAVEPOINT active_record_1
78698
+ SQL (0.1ms) 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.987445"], ["updated_at", "2015-11-24 08:57:46.987445"]]
78699
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78700
+  (1.3ms) rollback transaction
78701
+  (0.1ms) begin transaction
78702
+  (0.0ms) SAVEPOINT active_record_1
78703
+ SQL (0.2ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78705
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78706
+  (0.0ms) SAVEPOINT active_record_1
78707
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78708
+ SQL (0.3ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:46.994003"], ["updated_at", "2015-11-24 08:57:46.994003"]]
78709
+  (0.1ms) SELECT "users"."id" FROM "users"
78710
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78711
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78712
+ SQL (0.1ms) 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.996628"], ["updated_at", "2015-11-24 08:57:46.996628"]]
78713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78714
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78715
+  (0.7ms) rollback transaction
78716
+  (0.1ms) begin transaction
78717
+  (0.0ms) SAVEPOINT active_record_1
78718
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78721
+  (0.0ms) SAVEPOINT active_record_1
78722
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78723
+ SQL (0.3ms) 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
+  (0.1ms) SELECT "users"."id" FROM "users"
78725
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78727
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78729
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+  (0.7ms) rollback transaction
78731
+  (0.1ms) begin transaction
78732
+  (0.0ms) SAVEPOINT active_record_1
78733
+ SQL (0.2ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78735
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78736
+  (0.0ms) SAVEPOINT active_record_1
78737
+ Wupee::NotificationType Exists (0.0ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78738
+ SQL (0.2ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.015448"], ["updated_at", "2015-11-24 08:57:47.015448"]]
78739
+  (0.0ms) SELECT "users"."id" FROM "users"
78740
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78741
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78742
+ SQL (0.1ms) 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.017739"], ["updated_at", "2015-11-24 08:57:47.017739"]]
78743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78744
+  (0.0ms) SAVEPOINT active_record_1
78745
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
78747
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+  (1.4ms) rollback transaction
78749
+  (0.1ms) begin transaction
78750
+  (0.1ms) SAVEPOINT active_record_1
78751
+ SQL (0.9ms) 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
+  (0.2ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78753
+  (0.2ms) RELEASE SAVEPOINT active_record_1
78754
+  (0.1ms) SAVEPOINT active_record_1
78755
+ Wupee::NotificationType Exists (0.4ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78756
+ SQL (0.3ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.034095"], ["updated_at", "2015-11-24 08:57:47.034095"]]
78757
+  (0.1ms) SELECT "users"."id" FROM "users"
78758
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78759
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78760
+ SQL (0.3ms) 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.038740"], ["updated_at", "2015-11-24 08:57:47.038740"]]
78761
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78762
+  (0.9ms) rollback transaction
78763
+  (0.1ms) begin transaction
78764
+  (0.1ms) SAVEPOINT active_record_1
78765
+ SQL (0.3ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78767
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78768
+  (0.0ms) SAVEPOINT active_record_1
78769
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78770
+ SQL (0.3ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.048128"], ["updated_at", "2015-11-24 08:57:47.048128"]]
78771
+  (0.1ms) SELECT "users"."id" FROM "users"
78772
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78773
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
78774
+ SQL (0.1ms) 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.050798"], ["updated_at", "2015-11-24 08:57:47.050798"]]
78775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78776
+  (1.6ms) rollback transaction
78777
+  (0.1ms) begin transaction
78778
+  (0.0ms) SAVEPOINT active_record_1
78779
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78780
+ SQL (0.2ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.055971"], ["updated_at", "2015-11-24 08:57:47.055971"]]
78781
+  (0.1ms) SELECT "users"."id" FROM "users"
78782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78783
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
78784
+  (0.5ms) rollback transaction
78785
+  (0.1ms) begin transaction
78786
+  (0.0ms) SAVEPOINT active_record_1
78787
+ Wupee::NotificationType Exists (0.2ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
78788
+ SQL (0.2ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.060276"], ["updated_at", "2015-11-24 08:57:47.060276"]]
78789
+  (0.1ms) SELECT "users"."id" FROM "users"
78790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78791
+  (0.0ms) SAVEPOINT active_record_1
78792
+ SQL (0.3ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78794
+ Wupee::NotificationType Load (0.1ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78795
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ SQL (0.2ms) 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.066022"], ["updated_at", "2015-11-24 08:57:47.066022"]]
78797
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78798
+  (0.1ms) SAVEPOINT active_record_1
78799
+ SQL (0.1ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78801
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78802
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
78803
+ SQL (0.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78805
+  (0.0ms) SAVEPOINT active_record_1
78806
+ SQL (0.2ms) INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.2ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78808
+ Wupee::NotificationType Load (0.2ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78809
+ Wupee::NotificationTypeConfiguration Exists (0.2ms) 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
+ SQL (0.3ms) INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78812
+  (0.0ms) SAVEPOINT active_record_1
78813
+ SQL (0.1ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
78815
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78816
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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" = 4) LIMIT 1
78817
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78819
+ Wupee::NotificationTypeConfiguration Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
78821
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78822
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) SELECT 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
78823
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
78824
+ SQL (0.1ms) UPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ? [["value", 1], ["updated_at", "2015-11-24 08:57:47.093259"], ["id", 2]]
78825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78826
+ Wupee::NotificationTypeConfiguration Load (0.1ms) 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" = 3 AND "wupee_notification_type_configurations"."notification_type_id" = 1 LIMIT 1
78827
+  (0.0ms) SAVEPOINT active_record_1
78828
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78829
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
78831
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78833
+ Wupee::NotificationTypeConfiguration Load (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
78835
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
78836
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) SELECT 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
78837
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
78838
+ SQL (0.1ms) UPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ? [["value", 3], ["updated_at", "2015-11-24 08:57:47.101389"], ["id", 4]]
78839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78840
+ Wupee::NotificationTypeConfiguration Load (0.2ms) 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
78841
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)
78842
+  (0.0ms) SAVEPOINT active_record_1
78843
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78845
+ Rendered notifications_mailer/notify_new_message.html.erb (0.3ms)
78846
+ SQL (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
78863
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78865
+  (0.0ms) SAVEPOINT active_record_1
78866
+ SQL (0.1ms) 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.128727"], ["updated_at", "2015-11-24 08:57:47.128727"]]
78867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78868
+ Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
78869
+ SQL (0.0ms) UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["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
+  (0.0ms) SAVEPOINT active_record_1
78886
+ SQL (0.1ms) 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.132902"], ["updated_at", "2015-11-24 08:57:47.132902"]]
78887
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78888
+  (0.1ms) SELECT COUNT(*) FROM "wupee_notifications" WHERE "wupee_notifications"."is_read" = ? [["is_read", "t"]]
78889
+ Wupee::NotificationTypeConfiguration Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)
78891
+  (0.0ms) SAVEPOINT active_record_1
78892
+ SQL (0.1ms) 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.136400"], ["updated_at", "2015-11-24 08:57:47.136400"]]
78893
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78894
+ Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
78895
+ SQL (0.0ms) UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["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
+  (0.0ms) SAVEPOINT active_record_1
78912
+ SQL (0.1ms) 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.140501"], ["updated_at", "2015-11-24 08:57:47.140501"]]
78913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78914
+  (0.0ms) SAVEPOINT active_record_1
78915
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78917
+ Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
78918
+ SQL (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
78935
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78937
+  (0.0ms) SELECT COUNT(*) FROM "wupee_notifications" WHERE "wupee_notifications"."is_read" = ? [["is_read", "t"]]
78938
+  (0.0ms) SELECT COUNT(*) FROM "wupee_notifications"
78939
+ Wupee::NotificationTypeConfiguration Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)
78941
+  (0.0ms) SAVEPOINT active_record_1
78942
+ SQL (0.1ms) 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.149239"], ["updated_at", "2015-11-24 08:57:47.149239"]]
78943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78944
+ Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
78945
+ SQL (0.1ms) UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["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
+  (0.0ms) SAVEPOINT active_record_1
78962
+ SQL (0.1ms) 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.153432"], ["updated_at", "2015-11-24 08:57:47.153432"]]
78963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78964
+  (0.0ms) SAVEPOINT active_record_1
78965
+ SQL (0.0ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78967
+ Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
78968
+ SQL (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
78985
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78987
+  (0.1ms) SELECT COUNT(*) FROM "wupee_notifications"
78988
+  (4.4ms) rollback transaction
78989
+  (0.1ms) begin transaction
78990
+  (0.0ms) rollback transaction
78991
+  (0.1ms) begin transaction
78992
+  (0.0ms) rollback transaction
78993
+  (0.0ms) begin transaction
78994
+  (0.0ms) rollback transaction
78995
+  (0.0ms) begin transaction
78996
+  (0.0ms) rollback transaction
78997
+  (0.1ms) begin transaction
78998
+  (0.0ms) rollback transaction
78999
+  (0.0ms) begin transaction
79000
+  (0.0ms) rollback transaction
79001
+  (0.0ms) begin transaction
79002
+  (0.0ms) rollback transaction
79003
+  (0.0ms) begin transaction
79004
+  (0.0ms) rollback transaction
79005
+  (0.0ms) begin transaction
79006
+  (0.0ms) SAVEPOINT active_record_1
79007
+ SQL (0.2ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
79009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79010
+  (0.0ms) SAVEPOINT active_record_1
79011
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79013
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
79014
+  (0.0ms) SAVEPOINT active_record_1
79015
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
79016
+ SQL (0.1ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.177133"], ["updated_at", "2015-11-24 08:57:47.177133"]]
79017
+  (0.0ms) SELECT "users"."id" FROM "users"
79018
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
79019
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
79020
+ SQL (0.1ms) 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.179465"], ["updated_at", "2015-11-24 08:57:47.179465"]]
79021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79022
+  (0.0ms) SAVEPOINT active_record_1
79023
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79025
+  (0.0ms) SELECT COUNT(*) FROM "wupee_notifications"
79026
+  (0.0ms) SAVEPOINT active_record_1
79027
+ Wupee::Notification Load (0.0ms) SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
79028
+ SQL (0.0ms) DELETE FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ? [["id", 1]]
79029
+ Wupee::NotificationTypeConfiguration Load (0.1ms) 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
+ SQL (0.1ms) DELETE FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."id" = ? [["id", 1]]
79031
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
79032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79033
+  (0.0ms) SELECT COUNT(*) FROM "wupee_notifications"
79034
+  (0.8ms) rollback transaction
79035
+  (0.1ms) begin transaction
79036
+  (0.0ms) SAVEPOINT active_record_1
79037
+ SQL (0.3ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
79039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79040
+  (0.0ms) SAVEPOINT active_record_1
79041
+ Wupee::NotificationType Exists (0.1ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
79042
+ SQL (0.3ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "abc"], ["created_at", "2015-11-24 08:57:47.190455"], ["updated_at", "2015-11-24 08:57:47.190455"]]
79043
+  (0.1ms) SELECT "users"."id" FROM "users"
79044
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
79045
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
79046
+ SQL (0.1ms) 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.193184"], ["updated_at", "2015-11-24 08:57:47.193184"]]
79047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79048
+  (0.0ms) SAVEPOINT active_record_1
79049
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
79051
+  (0.0ms) SELECT COUNT(*) FROM "wupee_notification_type_configurations"
79052
+  (0.0ms) SAVEPOINT active_record_1
79053
+ Wupee::Notification Load (0.0ms) SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
79054
+ Wupee::NotificationTypeConfiguration Load (0.0ms) 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"]]
79055
+ SQL (0.1ms) DELETE FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."id" = ? [["id", 1]]
79056
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
79057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79058
+  (0.1ms) SELECT COUNT(*) FROM "wupee_notification_type_configurations"
79059
+  (0.8ms) rollback transaction
79060
+  (0.1ms) begin transaction
79061
+  (0.2ms) SELECT COUNT(*) FROM "wupee_notification_type_configurations"
79062
+  (0.1ms) rollback transaction
79063
+  (0.1ms) begin transaction
79064
+  (0.0ms) SAVEPOINT active_record_1
79065
+ Wupee::NotificationType Exists (0.2ms) SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
79066
+ SQL (0.3ms) INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-24 08:57:47.203705"], ["updated_at", "2015-11-24 08:57:47.203705"]]
79067
+  (0.1ms) SELECT "users"."id" FROM "users"
79068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
79069
+  (0.0ms) SELECT COUNT(*) FROM "wupee_notification_type_configurations"
79070
+  (0.0ms) SAVEPOINT active_record_1
79071
+ SQL (0.3ms) 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
+  (0.1ms) SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
79073
+ Wupee::NotificationType Load (0.0ms) SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
79074
+ Wupee::NotificationTypeConfiguration Exists (0.1ms) 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
79075
+ SQL (2.9ms) 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
+  (0.2ms) RELEASE SAVEPOINT active_record_1
79077
+  (0.3ms) SELECT COUNT(*) FROM "wupee_notification_type_configurations"
79078
+ Wupee::NotificationTypeConfiguration Load (0.3ms) SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" ORDER BY "wupee_notification_type_configurations"."id" DESC LIMIT 1
79079
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
79080
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
79081
+  (0.8ms) rollback transaction
79082
+  (0.1ms) begin transaction
79083
+  (0.0ms) rollback transaction
79084
+  (0.0ms) begin transaction
79085
+  (0.0ms) rollback transaction
79086
+  (0.1ms) begin transaction
79087
+  (0.0ms) 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.3
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-04 00:00:00.000000000 Z
12
+ date: 2015-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails