wupee 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wupee.rb +1 -1
- data/lib/wupee/version.rb +1 -1
- data/spec/dummy/app/views/notifications_mailer/abc.html.erb +0 -0
- data/spec/dummy/db/schema.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +1804 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de9504fc463ef29be2821c84d7c83db207c1698b
|
4
|
+
data.tar.gz: 7b2b1c49b7151216ee13482fee0a54cfbd08ce72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dea044bc017794cff93d2efaa0b3876059af93481de62dfcf305c17377026ae73836705e4332440c5517d798aa135c205b7600ea53b134f359c2d658b587995
|
7
|
+
data.tar.gz: ebec95a621f8f93285272ba939b00791a53727f06bfaf2a106872783337737a0822d0fa2a953c42a848b2b7fcdd62b47122d441b14dd012dd89cf35cce811be5
|
data/lib/wupee.rb
CHANGED
data/lib/wupee/version.rb
CHANGED
File without changes
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20151029113107) do
|
15
15
|
|
16
16
|
create_table "messages", force: :cascade do |t|
|
17
17
|
t.string "body"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -76397,3 +76397,1807 @@ Content-Transfer-Encoding: 7bit
|
|
76397
76397
|
[1m[35m (0.0ms)[0m rollback transaction
|
76398
76398
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
76399
76399
|
[1m[35m (0.0ms)[0m rollback transaction
|
76400
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
76401
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
76402
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
76403
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "wupee_notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
76404
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
76405
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "idx_wupee_notif_type_config_on_notification_type_id" ON "wupee_notification_type_configurations" ("notification_type_id")[0m
|
76406
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
76407
|
+
FROM sqlite_master
|
76408
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
76409
|
+
UNION ALL
|
76410
|
+
SELECT sql
|
76411
|
+
FROM sqlite_temp_master
|
76412
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
76413
|
+
|
76414
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id" ON "wupee_notification_type_configurations" ("receiver_type", "receiver_id")[0m
|
76415
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "wupee_notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
76416
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_wupee_notification_types_on_name" ON "wupee_notification_types" ("name")[0m
|
76417
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "wupee_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_sent" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
76418
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
76419
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
76420
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
76421
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151029113122')
|
76422
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
76423
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
76424
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
76425
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
76426
|
+
Migrating to CreateWupeeNotificationTypes (20151029113100)
|
76427
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76428
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "wupee_notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
76429
|
+
SQLite3::SQLException: table "wupee_notification_types" already exists: CREATE TABLE "wupee_notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
76430
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
76431
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
76432
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
76433
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
76434
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
76435
|
+
Migrating to CreateUsers (20150213150625)
|
76436
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
76437
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
76438
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213150625"]]
|
76439
|
+
[1m[35m (0.8ms)[0m commit transaction
|
76440
|
+
Migrating to CreateMessages (20150213152846)
|
76441
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
76442
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
76443
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150213152846"]]
|
76444
|
+
[1m[35m (0.8ms)[0m commit transaction
|
76445
|
+
Migrating to CreateWupeeNotificationTypes (20151029113100)
|
76446
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
76447
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "wupee_notification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
76448
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_wupee_notification_types_on_name" ON "wupee_notification_types" ("name")[0m
|
76449
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029113100"]]
|
76450
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
76451
|
+
Migrating to CreateWupeeNotificationTypeConfigurations (20151029113101)
|
76452
|
+
[1m[35m (0.3ms)[0m begin transaction
|
76453
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "wupee_notification_type_configurations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "notification_type_id" integer, "receiver_id" integer, "receiver_type" varchar, "value" integer DEFAULT 0, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
76454
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "idx_wupee_notif_type_config_on_notification_type_id" ON "wupee_notification_type_configurations" ("notification_type_id")
|
76455
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
76456
|
+
FROM sqlite_master
|
76457
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
76458
|
+
UNION ALL
|
76459
|
+
SELECT sql
|
76460
|
+
FROM sqlite_temp_master
|
76461
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
76462
|
+
[0m
|
76463
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id" ON "wupee_notification_type_configurations" ("receiver_type", "receiver_id")
|
76464
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029113101"]]
|
76465
|
+
[1m[35m (0.8ms)[0m commit transaction
|
76466
|
+
Migrating to CreateWupeeNotifications (20151029113107)
|
76467
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
76468
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "wupee_notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar, "attached_object_id" integer, "attached_object_type" varchar, "notification_type_id" integer, "is_read" boolean DEFAULT 'f', "is_sent" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
76469
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029113107"]]
|
76470
|
+
[1m[35m (0.8ms)[0m commit transaction
|
76471
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
76472
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
76473
|
+
FROM sqlite_master
|
76474
|
+
WHERE name='idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
76475
|
+
UNION ALL
|
76476
|
+
SELECT sql
|
76477
|
+
FROM sqlite_temp_master
|
76478
|
+
WHERE name='idx_wupee_notif_typ_config_on_receiver_type_and_receiver_id' AND type='index'
|
76479
|
+
|
76480
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
76481
|
+
FROM sqlite_master
|
76482
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
76483
|
+
UNION ALL
|
76484
|
+
SELECT sql
|
76485
|
+
FROM sqlite_temp_master
|
76486
|
+
WHERE name='idx_wupee_notif_type_config_on_notification_type_id' AND type='index'
|
76487
|
+
[0m
|
76488
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
76489
|
+
FROM sqlite_master
|
76490
|
+
WHERE name='index_wupee_notification_types_on_name' AND type='index'
|
76491
|
+
UNION ALL
|
76492
|
+
SELECT sql
|
76493
|
+
FROM sqlite_temp_master
|
76494
|
+
WHERE name='index_wupee_notification_types_on_name' AND type='index'
|
76495
|
+
|
76496
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
76497
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76498
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76499
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-11-04 09:18:58.298101"], ["updated_at", "2015-11-04 09:18:58.298101"]]
|
76500
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
76501
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76502
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76503
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.313735"], ["updated_at", "2015-11-04 09:18:58.313735"]]
|
76504
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76505
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
76506
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76507
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
76508
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.339710"], ["updated_at", "2015-11-04 09:18:58.339710"]]
|
76509
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
76510
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
76511
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
76512
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.352876"], ["updated_at", "2015-11-04 09:18:58.352876"]]
|
76513
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76515
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.355575"], ["updated_at", "2015-11-04 09:18:58.355575"]]
|
76516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76517
|
+
Processing by Wupee::Api::NotificationsController#index as JSON
|
76518
|
+
Rendered wupee/api/notifications/index.json.jbuilder (0.2ms)
|
76519
|
+
Completed 200 OK in 19ms (Views: 11.2ms | ActiveRecord: 0.0ms)
|
76520
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
76521
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
76522
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76523
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-11-04 09:18:58.393793"], ["updated_at", "2015-11-04 09:18:58.393793"]]
|
76524
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76525
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76526
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76527
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:18:58.396120"], ["updated_at", "2015-11-04 09:18:58.396120"]]
|
76528
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76529
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
76530
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76531
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
76532
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.398755"], ["updated_at", "2015-11-04 09:18:58.398755"]]
|
76533
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
76534
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76535
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
76536
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.401267"], ["updated_at", "2015-11-04 09:18:58.401267"]]
|
76537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76538
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76539
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.403147"], ["updated_at", "2015-11-04 09:18:58.403147"]]
|
76540
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76541
|
+
Processing by Wupee::Api::NotificationsController#index as JSON
|
76542
|
+
[1m[36mWupee::Notification Load (0.1ms)[0m [1mSELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
76543
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
76544
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
76545
|
+
Rendered wupee/api/notifications/_notify_new_message.json.jbuilder (0.4ms)
|
76546
|
+
Rendered wupee/api/notifications/_notification.json.jbuilder (4.2ms)
|
76547
|
+
Rendered wupee/api/notifications/index.json.jbuilder (13.0ms)
|
76548
|
+
Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.3ms)
|
76549
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
76550
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
76551
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76552
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@sleede.com"], ["name", "user3"], ["created_at", "2015-11-04 09:18:58.435376"], ["updated_at", "2015-11-04 09:18:58.435376"]]
|
76553
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76554
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76555
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76556
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:18:58.438158"], ["updated_at", "2015-11-04 09:18:58.438158"]]
|
76557
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76558
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
76559
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76560
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
76561
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.444081"], ["updated_at", "2015-11-04 09:18:58.444081"]]
|
76562
|
+
[1m[36m (0.4ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
76563
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.2ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76564
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
76565
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.452463"], ["updated_at", "2015-11-04 09:18:58.452463"]]
|
76566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76567
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76568
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.454183"], ["updated_at", "2015-11-04 09:18:58.454183"]]
|
76569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76570
|
+
Processing by Wupee::Api::NotificationsController#show as JSON
|
76571
|
+
Parameters: {"id"=>"1"}
|
76572
|
+
[1m[36mWupee::Notification Load (0.1ms)[0m [1mSELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
76573
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
76574
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
76575
|
+
Rendered wupee/api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
76576
|
+
Rendered wupee/api/notifications/_notification.json.jbuilder (1.9ms)
|
76577
|
+
Rendered wupee/api/notifications/show.json.jbuilder (3.1ms)
|
76578
|
+
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms)
|
76579
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
76580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
76581
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76582
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-11-04 09:18:58.467525"], ["updated_at", "2015-11-04 09:18:58.467525"]]
|
76583
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76584
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76586
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:18:58.469996"], ["updated_at", "2015-11-04 09:18:58.469996"]]
|
76587
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76588
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
76589
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76590
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
76591
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.472277"], ["updated_at", "2015-11-04 09:18:58.472277"]]
|
76592
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
76593
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76594
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
76595
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.475005"], ["updated_at", "2015-11-04 09:18:58.475005"]]
|
76596
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76597
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76598
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.479005"], ["updated_at", "2015-11-04 09:18:58.479005"]]
|
76599
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76600
|
+
Processing by Wupee::Api::NotificationsController#update as JSON
|
76601
|
+
Parameters: {"id"=>"1"}
|
76602
|
+
[1m[36mWupee::Notification Load (0.1ms)[0m [1mSELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
76603
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
76604
|
+
[1m[36mMessage Load (0.0ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
76605
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
76606
|
+
Rendered wupee/api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
76607
|
+
Rendered wupee/api/notifications/_notification.json.jbuilder (1.4ms)
|
76608
|
+
Rendered wupee/api/notifications/show.json.jbuilder (2.1ms)
|
76609
|
+
Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.3ms)
|
76610
|
+
[1m[36m (1.7ms)[0m [1mrollback transaction[0m
|
76611
|
+
[1m[35m (0.3ms)[0m begin transaction
|
76612
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76613
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-11-04 09:18:58.500105"], ["updated_at", "2015-11-04 09:18:58.500105"]]
|
76614
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
76615
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76616
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76617
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.502865"], ["updated_at", "2015-11-04 09:18:58.502865"]]
|
76618
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76619
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
76620
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76621
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
76622
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.505870"], ["updated_at", "2015-11-04 09:18:58.505870"]]
|
76623
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
76624
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
76625
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
76626
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.508556"], ["updated_at", "2015-11-04 09:18:58.508556"]]
|
76627
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76628
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76629
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.510568"], ["updated_at", "2015-11-04 09:18:58.510568"]]
|
76630
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76631
|
+
Processing by Wupee::Api::NotificationsController#update_all as JSON
|
76632
|
+
[1m[35mWupee::Notification Load (0.1ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."is_read" = ? ORDER BY "wupee_notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"], ["is_read", "f"]]
|
76633
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
76634
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
|
76635
|
+
[1m[35mWupee::Notification Load (0.1ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ? LIMIT 1 [["id", 1]]
|
76636
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
76637
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76638
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76639
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
76640
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-04 09:18:58.685053"], ["updated_at", "2015-11-04 09:18:58.685053"]]
|
76641
|
+
[1m[35m (0.0ms)[0m SELECT "users"."id" FROM "users"
|
76642
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76643
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76644
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-11-04 09:18:58.687091"], ["updated_at", "2015-11-04 09:18:58.687091"]]
|
76645
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76646
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
76647
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76648
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:58.690438"], ["updated_at", "2015-11-04 09:18:58.690438"]]
|
76649
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76650
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76651
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.692056"], ["updated_at", "2015-11-04 09:18:58.692056"]]
|
76652
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76653
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76654
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.693524"], ["updated_at", "2015-11-04 09:18:58.693524"]]
|
76655
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76656
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
76657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76659
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
76660
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-04 09:18:58.699565"], ["updated_at", "2015-11-04 09:18:58.699565"]]
|
76661
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
76662
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76663
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76664
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-11-04 09:18:58.701797"], ["updated_at", "2015-11-04 09:18:58.701797"]]
|
76665
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76666
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
76667
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76668
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:58.704380"], ["updated_at", "2015-11-04 09:18:58.704380"]]
|
76669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76670
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76671
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.705830"], ["updated_at", "2015-11-04 09:18:58.705830"]]
|
76672
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76673
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76674
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.707819"], ["updated_at", "2015-11-04 09:18:58.707819"]]
|
76675
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76676
|
+
|
76677
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 22.3ms
|
76678
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
76679
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76680
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76681
|
+
[1m[35mWupee::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
76682
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-04 09:18:58.737082"], ["updated_at", "2015-11-04 09:18:58.737082"]]
|
76683
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
76684
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76685
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76686
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@sleede.com"], ["name", "user8"], ["created_at", "2015-11-04 09:18:58.739771"], ["updated_at", "2015-11-04 09:18:58.739771"]]
|
76687
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76688
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
76689
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76690
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:58.742964"], ["updated_at", "2015-11-04 09:18:58.742964"]]
|
76691
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76692
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76693
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.744661"], ["updated_at", "2015-11-04 09:18:58.744661"]]
|
76694
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76695
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76696
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.746378"], ["updated_at", "2015-11-04 09:18:58.746378"]]
|
76697
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76698
|
+
|
76699
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.1ms
|
76700
|
+
[1m[36m (2.1ms)[0m [1mrollback transaction[0m
|
76701
|
+
[1m[35m (0.2ms)[0m begin transaction
|
76702
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76703
|
+
[1m[35mWupee::NotificationType Exists (0.3ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
76704
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-04 09:18:58.759283"], ["updated_at", "2015-11-04 09:18:58.759283"]]
|
76705
|
+
[1m[35m (0.3ms)[0m SELECT "users"."id" FROM "users"
|
76706
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76707
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76708
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user9@sleede.com"], ["name", "user9"], ["created_at", "2015-11-04 09:18:58.764720"], ["updated_at", "2015-11-04 09:18:58.764720"]]
|
76709
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76710
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
76711
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76712
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:58.767496"], ["updated_at", "2015-11-04 09:18:58.767496"]]
|
76713
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76714
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76715
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.768909"], ["updated_at", "2015-11-04 09:18:58.768909"]]
|
76716
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76717
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76718
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.770302"], ["updated_at", "2015-11-04 09:18:58.770302"]]
|
76719
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76720
|
+
|
76721
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 0.6ms
|
76722
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
76723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76724
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76725
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
76726
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-04 09:18:58.775527"], ["updated_at", "2015-11-04 09:18:58.775527"]]
|
76727
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
76728
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76729
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76730
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user10@sleede.com"], ["name", "user10"], ["created_at", "2015-11-04 09:18:58.778363"], ["updated_at", "2015-11-04 09:18:58.778363"]]
|
76731
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76732
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
76733
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76734
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:58.781714"], ["updated_at", "2015-11-04 09:18:58.781714"]]
|
76735
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76737
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.783423"], ["updated_at", "2015-11-04 09:18:58.783423"]]
|
76738
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76740
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.784755"], ["updated_at", "2015-11-04 09:18:58.784755"]]
|
76741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76742
|
+
|
76743
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 0.6ms
|
76744
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
76745
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76746
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76747
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.789032"], ["updated_at", "2015-11-04 09:18:58.789032"]]
|
76748
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76749
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76750
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-11-04 09:18:58.792348"], ["updated_at", "2015-11-04 09:18:58.792348"]]
|
76751
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76752
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76753
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
76754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76755
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
76756
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.797546"], ["updated_at", "2015-11-04 09:18:58.797546"]]
|
76757
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
76758
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
76759
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
76760
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.801064"], ["updated_at", "2015-11-04 09:18:58.801064"]]
|
76761
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76762
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76763
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.805830"], ["updated_at", "2015-11-04 09:18:58.805830"]]
|
76764
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76765
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
76766
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76767
|
+
[1m[35mWupee::Notification Load (0.1ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."attached_object_id" = ? AND "wupee_notifications"."attached_object_type" = ? [["attached_object_id", 1], ["attached_object_type", "Message"]]
|
76768
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
76769
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 1]]
|
76770
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76771
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
76772
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
76773
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76774
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76775
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.820130"], ["updated_at", "2015-11-04 09:18:58.820130"]]
|
76776
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76777
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76778
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user12@sleede.com"], ["name", "user12"], ["created_at", "2015-11-04 09:18:58.821860"], ["updated_at", "2015-11-04 09:18:58.821860"]]
|
76779
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76780
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76781
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76782
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
76783
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.824646"], ["updated_at", "2015-11-04 09:18:58.824646"]]
|
76784
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
76785
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76786
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
76787
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.827139"], ["updated_at", "2015-11-04 09:18:58.827139"]]
|
76788
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76789
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76790
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-11-04 09:18:58.829473"], ["updated_at", "2015-11-04 09:18:58.829473"]]
|
76791
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76792
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
76793
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1
|
76794
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:58.832128"], ["updated_at", "2015-11-04 09:18:58.832128"]]
|
76795
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76796
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76797
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.833596"], ["updated_at", "2015-11-04 09:18:58.833596"]]
|
76798
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76799
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
76800
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76801
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.835589"], ["updated_at", "2015-11-04 09:18:58.835589"]]
|
76802
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76803
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
76804
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
76805
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76806
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76807
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.838938"], ["updated_at", "2015-11-04 09:18:58.838938"]]
|
76808
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76809
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76810
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user14@sleede.com"], ["name", "user14"], ["created_at", "2015-11-04 09:18:58.840816"], ["updated_at", "2015-11-04 09:18:58.840816"]]
|
76811
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76812
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76814
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
76815
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.843372"], ["updated_at", "2015-11-04 09:18:58.843372"]]
|
76816
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
76817
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76818
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
76819
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.846404"], ["updated_at", "2015-11-04 09:18:58.846404"]]
|
76820
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76821
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76822
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-11-04 09:18:58.848573"], ["updated_at", "2015-11-04 09:18:58.848573"]]
|
76823
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76824
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
76825
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1
|
76826
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:58.851329"], ["updated_at", "2015-11-04 09:18:58.851329"]]
|
76827
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76828
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76829
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.852882"], ["updated_at", "2015-11-04 09:18:58.852882"]]
|
76830
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76831
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
76832
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76833
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.857128"], ["updated_at", "2015-11-04 09:18:58.857128"]]
|
76834
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76835
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
76836
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
76837
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76838
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76839
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.862223"], ["updated_at", "2015-11-04 09:18:58.862223"]]
|
76840
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76841
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76842
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user16@sleede.com"], ["name", "user16"], ["created_at", "2015-11-04 09:18:58.864434"], ["updated_at", "2015-11-04 09:18:58.864434"]]
|
76843
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76844
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76845
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76846
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
76847
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.866792"], ["updated_at", "2015-11-04 09:18:58.866792"]]
|
76848
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
76849
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.3ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76850
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
76851
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.874360"], ["updated_at", "2015-11-04 09:18:58.874360"]]
|
76852
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76853
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
76854
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
76855
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76856
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:18:58.884316"], ["updated_at", "2015-11-04 09:18:58.884316"]]
|
76857
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76858
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76859
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-11-04 09:18:58.886291"], ["updated_at", "2015-11-04 09:18:58.886291"]]
|
76860
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
76861
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76862
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76863
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
76864
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.888782"], ["updated_at", "2015-11-04 09:18:58.888782"]]
|
76865
|
+
[1m[35m (0.0ms)[0m SELECT "users"."id" FROM "users"
|
76866
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
76867
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
76868
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.891103"], ["updated_at", "2015-11-04 09:18:58.891103"]]
|
76869
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76870
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
76871
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76872
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76873
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.895999"], ["updated_at", "2015-11-04 09:18:58.895999"]]
|
76874
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76875
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76876
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-11-04 09:18:58.897951"], ["updated_at", "2015-11-04 09:18:58.897951"]]
|
76877
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76878
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76879
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76880
|
+
[1m[36mWupee::NotificationType Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
76881
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.900317"], ["updated_at", "2015-11-04 09:18:58.900317"]]
|
76882
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
76883
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76884
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
76885
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.902633"], ["updated_at", "2015-11-04 09:18:58.902633"]]
|
76886
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76887
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76888
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-11-04 09:18:58.904393"], ["updated_at", "2015-11-04 09:18:58.904393"]]
|
76889
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76890
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
76891
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1
|
76892
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:58.906978"], ["updated_at", "2015-11-04 09:18:58.906978"]]
|
76893
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76894
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76895
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:58.908810"], ["updated_at", "2015-11-04 09:18:58.908810"]]
|
76896
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76897
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
76898
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76899
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.912781"], ["updated_at", "2015-11-04 09:18:58.912781"]]
|
76900
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76901
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
76902
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
76903
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76904
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:18:58.917956"], ["updated_at", "2015-11-04 09:18:58.917956"]]
|
76905
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
76906
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
76907
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-11-04 09:18:58.923611"], ["updated_at", "2015-11-04 09:18:58.923611"]]
|
76908
|
+
[1m[36m (0.4ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
76909
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
76910
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76911
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
76912
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.930547"], ["updated_at", "2015-11-04 09:18:58.930547"]]
|
76913
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
76914
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
76915
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
76916
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.933214"], ["updated_at", "2015-11-04 09:18:58.933214"]]
|
76917
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76918
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76919
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-11-04 09:18:58.934861"], ["updated_at", "2015-11-04 09:18:58.934861"]]
|
76920
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
76921
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
76922
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1[0m
|
76923
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:58.937094"], ["updated_at", "2015-11-04 09:18:58.937094"]]
|
76924
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76925
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76926
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:18:58.938693"], ["updated_at", "2015-11-04 09:18:58.938693"]]
|
76927
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76928
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
76929
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76930
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:58.940550"], ["updated_at", "2015-11-04 09:18:58.940550"]]
|
76931
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76932
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
76933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76934
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76935
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user22@sleede.com"], ["name", "user22"], ["created_at", "2015-11-04 09:18:58.944070"], ["updated_at", "2015-11-04 09:18:58.944070"]]
|
76936
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
76937
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76938
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76939
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
76940
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.946788"], ["updated_at", "2015-11-04 09:18:58.946788"]]
|
76941
|
+
[1m[35m (0.0ms)[0m SELECT "users"."id" FROM "users"
|
76942
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
76943
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
76944
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.949507"], ["updated_at", "2015-11-04 09:18:58.949507"]]
|
76945
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76946
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" IS NULL AND "wupee_notification_type_configurations"."receiver_id" IS NULL) LIMIT 1[0m
|
76947
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
76948
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
76949
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
76950
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user23@sleede.com"], ["name", "user23"], ["created_at", "2015-11-04 09:18:58.955030"], ["updated_at", "2015-11-04 09:18:58.955030"]]
|
76951
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
76952
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76953
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
76954
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
76955
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.959388"], ["updated_at", "2015-11-04 09:18:58.959388"]]
|
76956
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
76957
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76958
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
76959
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.963205"], ["updated_at", "2015-11-04 09:18:58.963205"]]
|
76960
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
76961
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" IS NULL AND "wupee_notification_type_configurations"."receiver_id" IS NULL) LIMIT 1
|
76962
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
76963
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76964
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76965
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user24@sleede.com"], ["name", "user24"], ["created_at", "2015-11-04 09:18:58.971003"], ["updated_at", "2015-11-04 09:18:58.971003"]]
|
76966
|
+
[1m[36m (0.4ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
76967
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76968
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76969
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
76970
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.980002"], ["updated_at", "2015-11-04 09:18:58.980002"]]
|
76971
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
76972
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
76973
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
76974
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.983742"], ["updated_at", "2015-11-04 09:18:58.983742"]]
|
76975
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76977
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76978
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
76979
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
76980
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
76981
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76982
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76983
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user25@sleede.com"], ["name", "user25"], ["created_at", "2015-11-04 09:18:58.990367"], ["updated_at", "2015-11-04 09:18:58.990367"]]
|
76984
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
76985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
76986
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76987
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
76988
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:58.993438"], ["updated_at", "2015-11-04 09:18:58.993438"]]
|
76989
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
76990
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
76991
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
76992
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:58.996683"], ["updated_at", "2015-11-04 09:18:58.996683"]]
|
76993
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
76994
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
76995
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76996
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
76997
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user26@sleede.com"], ["name", "user26"], ["created_at", "2015-11-04 09:18:59.000383"], ["updated_at", "2015-11-04 09:18:59.000383"]]
|
76998
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
76999
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77000
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77001
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77002
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:59.002888"], ["updated_at", "2015-11-04 09:18:59.002888"]]
|
77003
|
+
[1m[35m (0.2ms)[0m SELECT "users"."id" FROM "users"
|
77004
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77005
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77006
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:59.009578"], ["updated_at", "2015-11-04 09:18:59.009578"]]
|
77007
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77008
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
77009
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77010
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77011
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77012
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:59.014628"], ["updated_at", "2015-11-04 09:18:59.014628"]]
|
77013
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77015
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
77016
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
77017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77018
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77019
|
+
[1m[35mWupee::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77020
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:59.019111"], ["updated_at", "2015-11-04 09:18:59.019111"]]
|
77021
|
+
[1m[35m (0.2ms)[0m SELECT "users"."id" FROM "users"
|
77022
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77023
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77024
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user27@sleede.com"], ["name", "user27"], ["created_at", "2015-11-04 09:18:59.026400"], ["updated_at", "2015-11-04 09:18:59.026400"]]
|
77025
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77026
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77027
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77028
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:59.032696"], ["updated_at", "2015-11-04 09:18:59.032696"]]
|
77029
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77030
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77031
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user28@sleede.com"], ["name", "user28"], ["created_at", "2015-11-04 09:18:59.034575"], ["updated_at", "2015-11-04 09:18:59.034575"]]
|
77032
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77033
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77034
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1[0m
|
77035
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:59.037126"], ["updated_at", "2015-11-04 09:18:59.037126"]]
|
77036
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77037
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77038
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user29@sleede.com"], ["name", "user29"], ["created_at", "2015-11-04 09:18:59.039123"], ["updated_at", "2015-11-04 09:18:59.039123"]]
|
77039
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77040
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77041
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 3) LIMIT 1
|
77042
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 3], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:59.041958"], ["updated_at", "2015-11-04 09:18:59.041958"]]
|
77043
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77044
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77045
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user30@sleede.com"], ["name", "user30"], ["created_at", "2015-11-04 09:18:59.043668"], ["updated_at", "2015-11-04 09:18:59.043668"]]
|
77046
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77047
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77048
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 4) LIMIT 1[0m
|
77049
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 4], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:59.046747"], ["updated_at", "2015-11-04 09:18:59.046747"]]
|
77050
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77051
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.2ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 2 AND "wupee_notification_type_configurations"."notification_type_id" = 1 LIMIT 1
|
77052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77053
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77054
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."id" != 2 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1[0m
|
77055
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
77056
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ?[0m [["value", 1], ["updated_at", "2015-11-04 09:18:59.051981"], ["id", 2]]
|
77057
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77058
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.1ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 3 AND "wupee_notification_type_configurations"."notification_type_id" = 1 LIMIT 1[0m
|
77059
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77060
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77061
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."id" != 3 AND "wupee_notification_type_configurations"."receiver_id" = 3) LIMIT 1
|
77062
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
77063
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ? [["value", 2], ["updated_at", "2015-11-04 09:18:59.057926"], ["id", 3]]
|
77064
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77065
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.2ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 4 AND "wupee_notification_type_configurations"."notification_type_id" = 1 LIMIT 1
|
77066
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77067
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77068
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."id" != 4 AND "wupee_notification_type_configurations"."receiver_id" = 4) LIMIT 1[0m
|
77069
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
77070
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ?[0m [["value", 3], ["updated_at", "2015-11-04 09:18:59.064939"], ["id", 4]]
|
77071
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77072
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.2ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" IN (1, 2, 3, 4) AND "wupee_notification_type_configurations"."notification_type_id" = 1[0m
|
77073
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)
|
77074
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
77075
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:59.079372"], ["updated_at", "2015-11-04 09:18:59.079372"]]
|
77076
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77077
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.4ms)
|
77078
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
77079
|
+
|
77080
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 13.1ms
|
77081
|
+
|
77082
|
+
Sent mail to user27@sleede.com (7.3ms)
|
77083
|
+
Date: Wed, 04 Nov 2015 10:18:59 +0100
|
77084
|
+
From: contact@sleede.com
|
77085
|
+
To: user27@sleede.com
|
77086
|
+
Message-ID: <5639cd83181ae_66d93ff1b9c521d83925f@MBP-sleede-Nicolas.local.mail>
|
77087
|
+
Subject: notify_new_message
|
77088
|
+
Mime-Version: 1.0
|
77089
|
+
Content-Type: text/html;
|
77090
|
+
charset=UTF-8
|
77091
|
+
Content-Transfer-Encoding: 7bit
|
77092
|
+
|
77093
|
+
|
77094
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77095
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:18:59.102908"], ["updated_at", "2015-11-04 09:18:59.102908"]]
|
77096
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77097
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77098
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["receiver_id", 3], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:18:59.104706"], ["updated_at", "2015-11-04 09:18:59.104706"]]
|
77099
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77100
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77101
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["receiver_id", 4], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:59.106173"], ["updated_at", "2015-11-04 09:18:59.106173"]]
|
77102
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77103
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
77104
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 4]]
|
77105
|
+
|
77106
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.4ms
|
77107
|
+
|
77108
|
+
Sent mail to user30@sleede.com (1.2ms)
|
77109
|
+
Date: Wed, 04 Nov 2015 10:18:59 +0100
|
77110
|
+
From: contact@sleede.com
|
77111
|
+
To: user30@sleede.com
|
77112
|
+
Message-ID: <5639cd831aa5d_66d93ff1b9c521d8393a@MBP-sleede-Nicolas.local.mail>
|
77113
|
+
Subject: notify_new_message
|
77114
|
+
Mime-Version: 1.0
|
77115
|
+
Content-Type: text/html;
|
77116
|
+
charset=UTF-8
|
77117
|
+
Content-Transfer-Encoding: 7bit
|
77118
|
+
|
77119
|
+
|
77120
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "wupee_notifications" WHERE "wupee_notifications"."is_read" = ?[0m [["is_read", "t"]]
|
77121
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.2ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" IN (1, 2, 3, 4) AND "wupee_notification_type_configurations"."notification_type_id" = 1
|
77122
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)[0m
|
77123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77124
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:59.113383"], ["updated_at", "2015-11-04 09:18:59.113383"]]
|
77125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77126
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
77127
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 5]]
|
77128
|
+
|
77129
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.2ms
|
77130
|
+
|
77131
|
+
Sent mail to user27@sleede.com (1.2ms)
|
77132
|
+
Date: Wed, 04 Nov 2015 10:18:59 +0100
|
77133
|
+
From: contact@sleede.com
|
77134
|
+
To: user27@sleede.com
|
77135
|
+
Message-ID: <5639cd831c5ee_66d93ff1b9c521d8394f@MBP-sleede-Nicolas.local.mail>
|
77136
|
+
Subject: notify_new_message
|
77137
|
+
Mime-Version: 1.0
|
77138
|
+
Content-Type: text/html;
|
77139
|
+
charset=UTF-8
|
77140
|
+
Content-Transfer-Encoding: 7bit
|
77141
|
+
|
77142
|
+
|
77143
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77144
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["receiver_id", 2], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:18:59.118278"], ["updated_at", "2015-11-04 09:18:59.118278"]]
|
77145
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77146
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77147
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["receiver_id", 3], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:18:59.120001"], ["updated_at", "2015-11-04 09:18:59.120001"]]
|
77148
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77149
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77150
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 4], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:59.121424"], ["updated_at", "2015-11-04 09:18:59.121424"]]
|
77151
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77152
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
77153
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 8]]
|
77154
|
+
|
77155
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.2ms
|
77156
|
+
|
77157
|
+
Sent mail to user30@sleede.com (1.3ms)
|
77158
|
+
Date: Wed, 04 Nov 2015 10:18:59 +0100
|
77159
|
+
From: contact@sleede.com
|
77160
|
+
To: user30@sleede.com
|
77161
|
+
Message-ID: <5639cd831e4ca_66d93ff1b9c521d8395ac@MBP-sleede-Nicolas.local.mail>
|
77162
|
+
Subject: notify_new_message
|
77163
|
+
Mime-Version: 1.0
|
77164
|
+
Content-Type: text/html;
|
77165
|
+
charset=UTF-8
|
77166
|
+
Content-Transfer-Encoding: 7bit
|
77167
|
+
|
77168
|
+
|
77169
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications" WHERE "wupee_notifications"."is_read" = ? [["is_read", "t"]]
|
77170
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "wupee_notifications"[0m
|
77171
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.2ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" IN (1, 2, 3, 4) AND "wupee_notification_type_configurations"."notification_type_id" = 1
|
77172
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)[0m
|
77173
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77174
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:59.127924"], ["updated_at", "2015-11-04 09:18:59.127924"]]
|
77175
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77176
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
77177
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 9]]
|
77178
|
+
|
77179
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.3ms
|
77180
|
+
|
77181
|
+
Sent mail to user27@sleede.com (1.3ms)
|
77182
|
+
Date: Wed, 04 Nov 2015 10:18:59 +0100
|
77183
|
+
From: contact@sleede.com
|
77184
|
+
To: user27@sleede.com
|
77185
|
+
Message-ID: <5639cd831ff05_66d93ff1b9c521d8396a1@MBP-sleede-Nicolas.local.mail>
|
77186
|
+
Subject: notify_new_message
|
77187
|
+
Mime-Version: 1.0
|
77188
|
+
Content-Type: text/html;
|
77189
|
+
charset=UTF-8
|
77190
|
+
Content-Transfer-Encoding: 7bit
|
77191
|
+
|
77192
|
+
|
77193
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77194
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["receiver_id", 2], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:18:59.132304"], ["updated_at", "2015-11-04 09:18:59.132304"]]
|
77195
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77196
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77197
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["receiver_id", 3], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:18:59.133698"], ["updated_at", "2015-11-04 09:18:59.133698"]]
|
77198
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77199
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77200
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 4], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:59.135072"], ["updated_at", "2015-11-04 09:18:59.135072"]]
|
77201
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77202
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
77203
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 12]]
|
77204
|
+
|
77205
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.3ms
|
77206
|
+
|
77207
|
+
Sent mail to user30@sleede.com (1.2ms)
|
77208
|
+
Date: Wed, 04 Nov 2015 10:18:59 +0100
|
77209
|
+
From: contact@sleede.com
|
77210
|
+
To: user30@sleede.com
|
77211
|
+
Message-ID: <5639cd8321ae4_66d93ff1b9c521d839744@MBP-sleede-Nicolas.local.mail>
|
77212
|
+
Subject: notify_new_message
|
77213
|
+
Mime-Version: 1.0
|
77214
|
+
Content-Type: text/html;
|
77215
|
+
charset=UTF-8
|
77216
|
+
Content-Transfer-Encoding: 7bit
|
77217
|
+
|
77218
|
+
|
77219
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
77220
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
77221
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77222
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
77223
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77224
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
77225
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77226
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
77227
|
+
[1m[35m (0.0ms)[0m begin transaction
|
77228
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
77229
|
+
[1m[35m (0.0ms)[0m begin transaction
|
77230
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
77231
|
+
[1m[35m (0.0ms)[0m begin transaction
|
77232
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
77233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
77234
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
77235
|
+
[1m[35m (0.0ms)[0m begin transaction
|
77236
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
77237
|
+
[1m[35m (0.0ms)[0m begin transaction
|
77238
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77239
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user31@sleede.com"], ["name", "user31"], ["created_at", "2015-11-04 09:18:59.147463"], ["updated_at", "2015-11-04 09:18:59.147463"]]
|
77240
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77241
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77242
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77243
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:18:59.149864"], ["updated_at", "2015-11-04 09:18:59.149864"]]
|
77244
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77245
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
77246
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77247
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77248
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:59.152462"], ["updated_at", "2015-11-04 09:18:59.152462"]]
|
77249
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77250
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77251
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77252
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:59.155088"], ["updated_at", "2015-11-04 09:18:59.155088"]]
|
77253
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77254
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77255
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:18:59.156611"], ["updated_at", "2015-11-04 09:18:59.156611"]]
|
77256
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77257
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
77258
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77259
|
+
[1m[35mWupee::Notification Load (0.0ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
77260
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
77261
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.1ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_id" = ? AND "wupee_notification_type_configurations"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
77262
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."id" = ?[0m [["id", 1]]
|
77263
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
77264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77265
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
77266
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
77267
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77268
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77269
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user32@sleede.com"], ["name", "user32"], ["created_at", "2015-11-04 09:18:59.163665"], ["updated_at", "2015-11-04 09:18:59.163665"]]
|
77270
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77271
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77272
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77273
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
77274
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-04 09:18:59.166208"], ["updated_at", "2015-11-04 09:18:59.166208"]]
|
77275
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77276
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77277
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77278
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:18:59.168789"], ["updated_at", "2015-11-04 09:18:59.168789"]]
|
77279
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77280
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77281
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77282
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
77283
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
77284
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77285
|
+
[1m[35mWupee::Notification Load (0.0ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
77286
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.0ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_id" = ? AND "wupee_notification_type_configurations"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
77287
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."id" = ? [["id", 1]]
|
77288
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
77289
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77290
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "wupee_notification_type_configurations"[0m
|
77291
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
77292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77293
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
77294
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
77295
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77296
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77297
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77298
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:18:59.180694"], ["updated_at", "2015-11-04 09:18:59.180694"]]
|
77299
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77300
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77301
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
77302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77303
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user33@sleede.com"], ["name", "user33"], ["created_at", "2015-11-04 09:18:59.184131"], ["updated_at", "2015-11-04 09:18:59.184131"]]
|
77304
|
+
[1m[36m (0.2ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77305
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77306
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77307
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:18:59.193320"], ["updated_at", "2015-11-04 09:18:59.193320"]]
|
77308
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77309
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
77310
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.1ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" ORDER BY "wupee_notification_type_configurations"."id" DESC LIMIT 1[0m
|
77311
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77312
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
|
77313
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
77314
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
77316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77317
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
77318
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77319
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
77320
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
77321
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77322
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77323
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-11-04 09:19:44.635680"], ["updated_at", "2015-11-04 09:19:44.635680"]]
|
77324
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77326
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77327
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:44.645849"], ["updated_at", "2015-11-04 09:19:44.645849"]]
|
77328
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77329
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
77330
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77331
|
+
[1m[35mWupee::NotificationType Exists (0.2ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77332
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:44.658677"], ["updated_at", "2015-11-04 09:19:44.658677"]]
|
77333
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77334
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77335
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77336
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:44.670770"], ["updated_at", "2015-11-04 09:19:44.670770"]]
|
77337
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77338
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77339
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:44.673976"], ["updated_at", "2015-11-04 09:19:44.673976"]]
|
77340
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77341
|
+
Processing by Wupee::Api::NotificationsController#index as JSON
|
77342
|
+
Rendered wupee/api/notifications/index.json.jbuilder (0.2ms)
|
77343
|
+
Completed 200 OK in 14ms (Views: 8.8ms | ActiveRecord: 0.0ms)
|
77344
|
+
[1m[35m (8.9ms)[0m rollback transaction
|
77345
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77346
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77347
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-11-04 09:19:44.718738"], ["updated_at", "2015-11-04 09:19:44.718738"]]
|
77348
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77349
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77350
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77351
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:19:44.721271"], ["updated_at", "2015-11-04 09:19:44.721271"]]
|
77352
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77353
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
77354
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77355
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
77356
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:44.724167"], ["updated_at", "2015-11-04 09:19:44.724167"]]
|
77357
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
77358
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77359
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
77360
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:44.726930"], ["updated_at", "2015-11-04 09:19:44.726930"]]
|
77361
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77362
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77363
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:44.728547"], ["updated_at", "2015-11-04 09:19:44.728547"]]
|
77364
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77365
|
+
Processing by Wupee::Api::NotificationsController#index as JSON
|
77366
|
+
[1m[36mWupee::Notification Load (0.1ms)[0m [1mSELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
77367
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
77368
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77369
|
+
Rendered wupee/api/notifications/_notify_new_message.json.jbuilder (0.3ms)
|
77370
|
+
Rendered wupee/api/notifications/_notification.json.jbuilder (3.3ms)
|
77371
|
+
Rendered wupee/api/notifications/index.json.jbuilder (8.8ms)
|
77372
|
+
Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.3ms)
|
77373
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
77374
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77375
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77376
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@sleede.com"], ["name", "user3"], ["created_at", "2015-11-04 09:19:44.755540"], ["updated_at", "2015-11-04 09:19:44.755540"]]
|
77377
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77378
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77379
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77380
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:19:44.758207"], ["updated_at", "2015-11-04 09:19:44.758207"]]
|
77381
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77382
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
77383
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77384
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
77385
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:44.761805"], ["updated_at", "2015-11-04 09:19:44.761805"]]
|
77386
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
77387
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77388
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
77389
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:44.764848"], ["updated_at", "2015-11-04 09:19:44.764848"]]
|
77390
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77391
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77392
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:44.766517"], ["updated_at", "2015-11-04 09:19:44.766517"]]
|
77393
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77394
|
+
Processing by Wupee::Api::NotificationsController#show as JSON
|
77395
|
+
Parameters: {"id"=>"1"}
|
77396
|
+
[1m[36mWupee::Notification Load (0.3ms)[0m [1mSELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
77397
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
77398
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77399
|
+
Rendered wupee/api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
77400
|
+
Rendered wupee/api/notifications/_notification.json.jbuilder (2.3ms)
|
77401
|
+
Rendered wupee/api/notifications/show.json.jbuilder (3.8ms)
|
77402
|
+
Completed 200 OK in 12ms (Views: 5.6ms | ActiveRecord: 0.4ms)
|
77403
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
77404
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77405
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77406
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-11-04 09:19:44.788918"], ["updated_at", "2015-11-04 09:19:44.788918"]]
|
77407
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77408
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77409
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77410
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:19:44.791022"], ["updated_at", "2015-11-04 09:19:44.791022"]]
|
77411
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77412
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
77413
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77414
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
77415
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:44.793231"], ["updated_at", "2015-11-04 09:19:44.793231"]]
|
77416
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
77417
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77418
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
77419
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:44.795698"], ["updated_at", "2015-11-04 09:19:44.795698"]]
|
77420
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77421
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77422
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:44.797441"], ["updated_at", "2015-11-04 09:19:44.797441"]]
|
77423
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77424
|
+
Processing by Wupee::Api::NotificationsController#update as JSON
|
77425
|
+
Parameters: {"id"=>"1"}
|
77426
|
+
[1m[36mWupee::Notification Load (0.1ms)[0m [1mSELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
77427
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
77428
|
+
[1m[36mMessage Load (0.0ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
77429
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77430
|
+
Rendered wupee/api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
77431
|
+
Rendered wupee/api/notifications/_notification.json.jbuilder (1.4ms)
|
77432
|
+
Rendered wupee/api/notifications/show.json.jbuilder (2.1ms)
|
77433
|
+
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
|
77434
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
77435
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77436
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77437
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-11-04 09:19:44.811128"], ["updated_at", "2015-11-04 09:19:44.811128"]]
|
77438
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77439
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77440
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77441
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:44.813534"], ["updated_at", "2015-11-04 09:19:44.813534"]]
|
77442
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77443
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
77444
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77445
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77446
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:44.816574"], ["updated_at", "2015-11-04 09:19:44.816574"]]
|
77447
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77448
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77449
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77450
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:44.819945"], ["updated_at", "2015-11-04 09:19:44.819945"]]
|
77451
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77452
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77453
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:44.821752"], ["updated_at", "2015-11-04 09:19:44.821752"]]
|
77454
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77455
|
+
Processing by Wupee::Api::NotificationsController#update_all as JSON
|
77456
|
+
[1m[35mWupee::Notification Load (0.3ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? AND "wupee_notifications"."is_read" = ? ORDER BY "wupee_notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"], ["is_read", "f"]]
|
77457
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
77458
|
+
Completed 204 No Content in 7ms (ActiveRecord: 0.4ms)
|
77459
|
+
[1m[35mWupee::Notification Load (0.1ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ? LIMIT 1 [["id", 1]]
|
77460
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
77461
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77462
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77463
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
77464
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-04 09:19:44.989595"], ["updated_at", "2015-11-04 09:19:44.989595"]]
|
77465
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77466
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77467
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77468
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-11-04 09:19:44.991799"], ["updated_at", "2015-11-04 09:19:44.991799"]]
|
77469
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77470
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77471
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77472
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:44.994745"], ["updated_at", "2015-11-04 09:19:44.994745"]]
|
77473
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77474
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77475
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:44.996756"], ["updated_at", "2015-11-04 09:19:44.996756"]]
|
77476
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77477
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77478
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:44.998528"], ["updated_at", "2015-11-04 09:19:44.998528"]]
|
77479
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77480
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
77481
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77482
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77483
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
77484
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-04 09:19:45.004738"], ["updated_at", "2015-11-04 09:19:45.004738"]]
|
77485
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77486
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77487
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77488
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-11-04 09:19:45.007063"], ["updated_at", "2015-11-04 09:19:45.007063"]]
|
77489
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77490
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77491
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77492
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.010141"], ["updated_at", "2015-11-04 09:19:45.010141"]]
|
77493
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77494
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77495
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.011823"], ["updated_at", "2015-11-04 09:19:45.011823"]]
|
77496
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77497
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77498
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.013589"], ["updated_at", "2015-11-04 09:19:45.013589"]]
|
77499
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77500
|
+
Rendered notifications_mailer/abc.html.erb (1.5ms)
|
77501
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
77502
|
+
|
77503
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 17.0ms
|
77504
|
+
|
77505
|
+
Sent mail to user7@sleede.com (7.4ms)
|
77506
|
+
Date: Wed, 04 Nov 2015 10:19:45 +0100
|
77507
|
+
From: contact@sleede.com
|
77508
|
+
To: user7@sleede.com
|
77509
|
+
Message-ID: <5639cdb18fb1_66e53fcc9d0601e032812@MBP-sleede-Nicolas.local.mail>
|
77510
|
+
Subject: abc hello world
|
77511
|
+
Mime-Version: 1.0
|
77512
|
+
Content-Type: text/html;
|
77513
|
+
charset=UTF-8
|
77514
|
+
Content-Transfer-Encoding: 7bit
|
77515
|
+
|
77516
|
+
|
77517
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
77518
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77519
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77520
|
+
[1m[36mWupee::NotificationType Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1[0m
|
77521
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "abc"], ["created_at", "2015-11-04 09:19:45.044681"], ["updated_at", "2015-11-04 09:19:45.044681"]]
|
77522
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
77523
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77524
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77525
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user8@sleede.com"], ["name", "user8"], ["created_at", "2015-11-04 09:19:45.047405"], ["updated_at", "2015-11-04 09:19:45.047405"]]
|
77526
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77527
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77528
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77529
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.050761"], ["updated_at", "2015-11-04 09:19:45.050761"]]
|
77530
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77532
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:19:45.052744"], ["updated_at", "2015-11-04 09:19:45.052744"]]
|
77533
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77534
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77535
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.060240"], ["updated_at", "2015-11-04 09:19:45.060240"]]
|
77536
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77537
|
+
Rendered notifications_mailer/abc.html.erb (0.0ms)
|
77538
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
77539
|
+
|
77540
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.7ms
|
77541
|
+
|
77542
|
+
Sent mail to user8@sleede.com (1.6ms)
|
77543
|
+
Date: Wed, 04 Nov 2015 10:19:45 +0100
|
77544
|
+
From: contact@sleede.com
|
77545
|
+
To: user8@sleede.com
|
77546
|
+
Message-ID: <5639cdb110213_66e53fcc9d0601e032950@MBP-sleede-Nicolas.local.mail>
|
77547
|
+
Subject: abc hello world
|
77548
|
+
Mime-Version: 1.0
|
77549
|
+
Content-Type: text/html;
|
77550
|
+
charset=UTF-8
|
77551
|
+
Content-Transfer-Encoding: 7bit
|
77552
|
+
|
77553
|
+
|
77554
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
77555
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77556
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77557
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
77558
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-04 09:19:45.070842"], ["updated_at", "2015-11-04 09:19:45.070842"]]
|
77559
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77560
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77562
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user9@sleede.com"], ["name", "user9"], ["created_at", "2015-11-04 09:19:45.073284"], ["updated_at", "2015-11-04 09:19:45.073284"]]
|
77563
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77564
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77565
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77566
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.076458"], ["updated_at", "2015-11-04 09:19:45.076458"]]
|
77567
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77568
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77569
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.078685"], ["updated_at", "2015-11-04 09:19:45.078685"]]
|
77570
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77571
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77572
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.080407"], ["updated_at", "2015-11-04 09:19:45.080407"]]
|
77573
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77574
|
+
Rendered notifications_mailer/abc.html.erb (0.0ms)
|
77575
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
77576
|
+
|
77577
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.4ms
|
77578
|
+
|
77579
|
+
Sent mail to user9@sleede.com (1.9ms)
|
77580
|
+
Date: Wed, 04 Nov 2015 10:19:45 +0100
|
77581
|
+
From: contact@sleede.com
|
77582
|
+
To: user9@sleede.com
|
77583
|
+
Message-ID: <5639cdb1146e2_66e53fcc9d0601e033012@MBP-sleede-Nicolas.local.mail>
|
77584
|
+
Subject: abc hello world
|
77585
|
+
Mime-Version: 1.0
|
77586
|
+
Content-Type: text/html;
|
77587
|
+
charset=UTF-8
|
77588
|
+
Content-Transfer-Encoding: 7bit
|
77589
|
+
|
77590
|
+
|
77591
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
77592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77593
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77594
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1[0m
|
77595
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "abc"], ["created_at", "2015-11-04 09:19:45.088630"], ["updated_at", "2015-11-04 09:19:45.088630"]]
|
77596
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
77597
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77598
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77599
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user10@sleede.com"], ["name", "user10"], ["created_at", "2015-11-04 09:19:45.092202"], ["updated_at", "2015-11-04 09:19:45.092202"]]
|
77600
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77601
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77602
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77603
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.095626"], ["updated_at", "2015-11-04 09:19:45.095626"]]
|
77604
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77605
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77606
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:19:45.098134"], ["updated_at", "2015-11-04 09:19:45.098134"]]
|
77607
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77608
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77609
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.100178"], ["updated_at", "2015-11-04 09:19:45.100178"]]
|
77610
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77611
|
+
Rendered notifications_mailer/abc.html.erb (0.0ms)
|
77612
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
77613
|
+
|
77614
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 3.5ms
|
77615
|
+
|
77616
|
+
Sent mail to user10@sleede.com (4.1ms)
|
77617
|
+
Date: Wed, 04 Nov 2015 10:19:45 +0100
|
77618
|
+
From: contact@sleede.com
|
77619
|
+
To: user10@sleede.com
|
77620
|
+
Message-ID: <5639cdb11a332_66e53fcc9d0601e0331d5@MBP-sleede-Nicolas.local.mail>
|
77621
|
+
Subject: abc hello world
|
77622
|
+
Mime-Version: 1.0
|
77623
|
+
Content-Type: text/html;
|
77624
|
+
charset=UTF-8
|
77625
|
+
Content-Transfer-Encoding: 7bit
|
77626
|
+
|
77627
|
+
|
77628
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
77629
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77630
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77631
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.114705"], ["updated_at", "2015-11-04 09:19:45.114705"]]
|
77632
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77633
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77634
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-11-04 09:19:45.116805"], ["updated_at", "2015-11-04 09:19:45.116805"]]
|
77635
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77636
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77637
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
77638
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77639
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77640
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.119933"], ["updated_at", "2015-11-04 09:19:45.119933"]]
|
77641
|
+
[1m[35m (0.0ms)[0m SELECT "users"."id" FROM "users"
|
77642
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77643
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77644
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.122682"], ["updated_at", "2015-11-04 09:19:45.122682"]]
|
77645
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77646
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77647
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.124416"], ["updated_at", "2015-11-04 09:19:45.124416"]]
|
77648
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77649
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
77650
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77651
|
+
[1m[35mWupee::Notification Load (0.2ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."attached_object_id" = ? AND "wupee_notifications"."attached_object_type" = ? [["attached_object_id", 1], ["attached_object_type", "Message"]]
|
77652
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
77653
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 1]]
|
77654
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77655
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
77656
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
77657
|
+
[1m[35m (0.0ms)[0m begin transaction
|
77658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77659
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.133960"], ["updated_at", "2015-11-04 09:19:45.133960"]]
|
77660
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77661
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77662
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user12@sleede.com"], ["name", "user12"], ["created_at", "2015-11-04 09:19:45.135621"], ["updated_at", "2015-11-04 09:19:45.135621"]]
|
77663
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77664
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77665
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77666
|
+
[1m[36mWupee::NotificationType Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
77667
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.138164"], ["updated_at", "2015-11-04 09:19:45.138164"]]
|
77668
|
+
[1m[36m (0.0ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
77669
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77670
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
77671
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.140370"], ["updated_at", "2015-11-04 09:19:45.140370"]]
|
77672
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77673
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77674
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-11-04 09:19:45.142024"], ["updated_at", "2015-11-04 09:19:45.142024"]]
|
77675
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77676
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77677
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1
|
77678
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.144838"], ["updated_at", "2015-11-04 09:19:45.144838"]]
|
77679
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77680
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77681
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.146279"], ["updated_at", "2015-11-04 09:19:45.146279"]]
|
77682
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77683
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
77684
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77685
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.149944"], ["updated_at", "2015-11-04 09:19:45.149944"]]
|
77686
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77687
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_read" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
77688
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
77689
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77690
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77691
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.154566"], ["updated_at", "2015-11-04 09:19:45.154566"]]
|
77692
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77693
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77694
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user14@sleede.com"], ["name", "user14"], ["created_at", "2015-11-04 09:19:45.156539"], ["updated_at", "2015-11-04 09:19:45.156539"]]
|
77695
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77696
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77697
|
+
[1m[35m (0.8ms)[0m SAVEPOINT active_record_1
|
77698
|
+
[1m[36mWupee::NotificationType Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
77699
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.163344"], ["updated_at", "2015-11-04 09:19:45.163344"]]
|
77700
|
+
[1m[36m (0.2ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
77701
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77702
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
77703
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.170618"], ["updated_at", "2015-11-04 09:19:45.170618"]]
|
77704
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77705
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77706
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-11-04 09:19:45.172550"], ["updated_at", "2015-11-04 09:19:45.172550"]]
|
77707
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77708
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77709
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1
|
77710
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.174908"], ["updated_at", "2015-11-04 09:19:45.174908"]]
|
77711
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77712
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77713
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.176226"], ["updated_at", "2015-11-04 09:19:45.176226"]]
|
77714
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77715
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
77716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77717
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.178301"], ["updated_at", "2015-11-04 09:19:45.178301"]]
|
77718
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77719
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
77720
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
77721
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77722
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77723
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.181704"], ["updated_at", "2015-11-04 09:19:45.181704"]]
|
77724
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77725
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77726
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user16@sleede.com"], ["name", "user16"], ["created_at", "2015-11-04 09:19:45.183549"], ["updated_at", "2015-11-04 09:19:45.183549"]]
|
77727
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77728
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77729
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77730
|
+
[1m[36mWupee::NotificationType Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
77731
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.185782"], ["updated_at", "2015-11-04 09:19:45.185782"]]
|
77732
|
+
[1m[36m (0.0ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
77733
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77734
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
77735
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.188186"], ["updated_at", "2015-11-04 09:19:45.188186"]]
|
77736
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77737
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
77738
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77739
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77740
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:19:45.194652"], ["updated_at", "2015-11-04 09:19:45.194652"]]
|
77741
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77742
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77743
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-11-04 09:19:45.196877"], ["updated_at", "2015-11-04 09:19:45.196877"]]
|
77744
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77745
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77746
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77747
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77748
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.200709"], ["updated_at", "2015-11-04 09:19:45.200709"]]
|
77749
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77750
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77751
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77752
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.204393"], ["updated_at", "2015-11-04 09:19:45.204393"]]
|
77753
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77754
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
77755
|
+
[1m[35m (0.3ms)[0m begin transaction
|
77756
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
77757
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.213862"], ["updated_at", "2015-11-04 09:19:45.213862"]]
|
77758
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77759
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77760
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-11-04 09:19:45.219327"], ["updated_at", "2015-11-04 09:19:45.219327"]]
|
77761
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77763
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77764
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
77765
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.222219"], ["updated_at", "2015-11-04 09:19:45.222219"]]
|
77766
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
77767
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77768
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
77769
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.224906"], ["updated_at", "2015-11-04 09:19:45.224906"]]
|
77770
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77771
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77772
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-11-04 09:19:45.226501"], ["updated_at", "2015-11-04 09:19:45.226501"]]
|
77773
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77774
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77775
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1
|
77776
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.228734"], ["updated_at", "2015-11-04 09:19:45.228734"]]
|
77777
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77778
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77779
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.230377"], ["updated_at", "2015-11-04 09:19:45.230377"]]
|
77780
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77781
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
77782
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77783
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.232373"], ["updated_at", "2015-11-04 09:19:45.232373"]]
|
77784
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77785
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
77786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77787
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77788
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:19:45.236544"], ["updated_at", "2015-11-04 09:19:45.236544"]]
|
77789
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77790
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77791
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-11-04 09:19:45.238443"], ["updated_at", "2015-11-04 09:19:45.238443"]]
|
77792
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77793
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77794
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77795
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77796
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.240994"], ["updated_at", "2015-11-04 09:19:45.240994"]]
|
77797
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77798
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77799
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77800
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.243628"], ["updated_at", "2015-11-04 09:19:45.243628"]]
|
77801
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77802
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77803
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-11-04 09:19:45.245305"], ["updated_at", "2015-11-04 09:19:45.245305"]]
|
77804
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77805
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77806
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1[0m
|
77807
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.250043"], ["updated_at", "2015-11-04 09:19:45.250043"]]
|
77808
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77809
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77810
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-11-04 09:19:45.252415"], ["updated_at", "2015-11-04 09:19:45.252415"]]
|
77811
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77812
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1[0m [["name", "notify_new_message"]]
|
77813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77814
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["receiver_id", 2], ["receiver_type", "User"], ["attached_object_id", 2], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.255803"], ["updated_at", "2015-11-04 09:19:45.255803"]]
|
77815
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77816
|
+
[1m[36m (1.5ms)[0m [1mrollback transaction[0m
|
77817
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77818
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
77819
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user22@sleede.com"], ["name", "user22"], ["created_at", "2015-11-04 09:19:45.263821"], ["updated_at", "2015-11-04 09:19:45.263821"]]
|
77820
|
+
[1m[36m (0.5ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77821
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77822
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77823
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77824
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.270138"], ["updated_at", "2015-11-04 09:19:45.270138"]]
|
77825
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77826
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77827
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77828
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.273203"], ["updated_at", "2015-11-04 09:19:45.273203"]]
|
77829
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77830
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" IS NULL AND "wupee_notification_type_configurations"."receiver_id" IS NULL) LIMIT 1[0m
|
77831
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
77832
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
77833
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77834
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user23@sleede.com"], ["name", "user23"], ["created_at", "2015-11-04 09:19:45.278544"], ["updated_at", "2015-11-04 09:19:45.278544"]]
|
77835
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77836
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77837
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77838
|
+
[1m[36mWupee::NotificationType Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1[0m
|
77839
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.281190"], ["updated_at", "2015-11-04 09:19:45.281190"]]
|
77840
|
+
[1m[36m (0.1ms)[0m [1mSELECT "users"."id" FROM "users"[0m
|
77841
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77842
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
77843
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.284195"], ["updated_at", "2015-11-04 09:19:45.284195"]]
|
77844
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77845
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" IS NULL AND "wupee_notification_type_configurations"."receiver_id" IS NULL) LIMIT 1
|
77846
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
77847
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77848
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77849
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user24@sleede.com"], ["name", "user24"], ["created_at", "2015-11-04 09:19:45.289170"], ["updated_at", "2015-11-04 09:19:45.289170"]]
|
77850
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77851
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77852
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77853
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77854
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.291740"], ["updated_at", "2015-11-04 09:19:45.291740"]]
|
77855
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77856
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77857
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77858
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.295445"], ["updated_at", "2015-11-04 09:19:45.295445"]]
|
77859
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77860
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
77861
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77862
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
77863
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77864
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
77865
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77866
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77867
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user25@sleede.com"], ["name", "user25"], ["created_at", "2015-11-04 09:19:45.305868"], ["updated_at", "2015-11-04 09:19:45.305868"]]
|
77868
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77869
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77870
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77871
|
+
[1m[35mWupee::NotificationType Exists (0.7ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77872
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.311509"], ["updated_at", "2015-11-04 09:19:45.311509"]]
|
77873
|
+
[1m[35m (0.4ms)[0m SELECT "users"."id" FROM "users"
|
77874
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77875
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77876
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.319882"], ["updated_at", "2015-11-04 09:19:45.319882"]]
|
77877
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77878
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
77879
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77880
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77881
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user26@sleede.com"], ["name", "user26"], ["created_at", "2015-11-04 09:19:45.323625"], ["updated_at", "2015-11-04 09:19:45.323625"]]
|
77882
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77883
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77884
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77885
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77886
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.326680"], ["updated_at", "2015-11-04 09:19:45.326680"]]
|
77887
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77888
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
77889
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
77890
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.329909"], ["updated_at", "2015-11-04 09:19:45.329909"]]
|
77891
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77892
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
77893
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77894
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77895
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77896
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.334128"], ["updated_at", "2015-11-04 09:19:45.334128"]]
|
77897
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77898
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77899
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
77900
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
77901
|
+
[1m[35m (0.1ms)[0m begin transaction
|
77902
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77903
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
77904
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.338449"], ["updated_at", "2015-11-04 09:19:45.338449"]]
|
77905
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
77906
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77907
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77908
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user27@sleede.com"], ["name", "user27"], ["created_at", "2015-11-04 09:19:45.340359"], ["updated_at", "2015-11-04 09:19:45.340359"]]
|
77909
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77910
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77911
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
77912
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.342991"], ["updated_at", "2015-11-04 09:19:45.342991"]]
|
77913
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77914
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77915
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user28@sleede.com"], ["name", "user28"], ["created_at", "2015-11-04 09:19:45.344436"], ["updated_at", "2015-11-04 09:19:45.344436"]]
|
77916
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77917
|
+
[1m[35mWupee::NotificationType Load (0.1ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77918
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1[0m
|
77919
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 2], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.349164"], ["updated_at", "2015-11-04 09:19:45.349164"]]
|
77920
|
+
[1m[36m (0.4ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77921
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
77922
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user29@sleede.com"], ["name", "user29"], ["created_at", "2015-11-04 09:19:45.352384"], ["updated_at", "2015-11-04 09:19:45.352384"]]
|
77923
|
+
[1m[35m (0.1ms)[0m SELECT "wupee_notification_types"."id" FROM "wupee_notification_types"
|
77924
|
+
[1m[36mWupee::NotificationType Load (0.1ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77925
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 3) LIMIT 1
|
77926
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_id", 3], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.356138"], ["updated_at", "2015-11-04 09:19:45.356138"]]
|
77927
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
77928
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77929
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user30@sleede.com"], ["name", "user30"], ["created_at", "2015-11-04 09:19:45.358444"], ["updated_at", "2015-11-04 09:19:45.358444"]]
|
77930
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
77931
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77932
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 4) LIMIT 1[0m
|
77933
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 4], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.361022"], ["updated_at", "2015-11-04 09:19:45.361022"]]
|
77934
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77935
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.1ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 2 AND "wupee_notification_type_configurations"."notification_type_id" = 1 LIMIT 1
|
77936
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77937
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77938
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."id" != 2 AND "wupee_notification_type_configurations"."receiver_id" = 2) LIMIT 1[0m
|
77939
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
77940
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ?[0m [["value", 1], ["updated_at", "2015-11-04 09:19:45.364689"], ["id", 2]]
|
77941
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77942
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.1ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 3 AND "wupee_notification_type_configurations"."notification_type_id" = 1 LIMIT 1[0m
|
77943
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77944
|
+
[1m[36mWupee::NotificationType Load (0.0ms)[0m [1mSELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1[0m [["id", 1]]
|
77945
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."id" != 3 AND "wupee_notification_type_configurations"."receiver_id" = 3) LIMIT 1
|
77946
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
77947
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ? [["value", 2], ["updated_at", "2015-11-04 09:19:45.368043"], ["id", 3]]
|
77948
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77949
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.5ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" = 4 AND "wupee_notification_type_configurations"."notification_type_id" = 1 LIMIT 1
|
77950
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
77951
|
+
[1m[35mWupee::NotificationType Load (0.3ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
77952
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."id" != 4 AND "wupee_notification_type_configurations"."receiver_id" = 4) LIMIT 1[0m
|
77953
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 4]]
|
77954
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notification_type_configurations" SET "value" = ?, "updated_at" = ? WHERE "wupee_notification_type_configurations"."id" = ?[0m [["value", 3], ["updated_at", "2015-11-04 09:19:45.381190"], ["id", 4]]
|
77955
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77956
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.2ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" IN (1, 2, 3, 4) AND "wupee_notification_type_configurations"."notification_type_id" = 1[0m
|
77957
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)
|
77958
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
77959
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.388303"], ["updated_at", "2015-11-04 09:19:45.388303"]]
|
77960
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77961
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.3ms)
|
77962
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 1]]
|
77963
|
+
|
77964
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 10.8ms
|
77965
|
+
|
77966
|
+
Sent mail to user27@sleede.com (1.3ms)
|
77967
|
+
Date: Wed, 04 Nov 2015 10:19:45 +0100
|
77968
|
+
From: contact@sleede.com
|
77969
|
+
To: user27@sleede.com
|
77970
|
+
Message-ID: <5639cdb161ec6_66e53fcc9d0601e033286@MBP-sleede-Nicolas.local.mail>
|
77971
|
+
Subject: notify_new_message
|
77972
|
+
Mime-Version: 1.0
|
77973
|
+
Content-Type: text/html;
|
77974
|
+
charset=UTF-8
|
77975
|
+
Content-Transfer-Encoding: 7bit
|
77976
|
+
|
77977
|
+
|
77978
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77979
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["receiver_id", 2], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:19:45.402722"], ["updated_at", "2015-11-04 09:19:45.402722"]]
|
77980
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77981
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
77982
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["receiver_id", 3], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:19:45.404405"], ["updated_at", "2015-11-04 09:19:45.404405"]]
|
77983
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
77984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
77985
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["receiver_id", 4], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.405712"], ["updated_at", "2015-11-04 09:19:45.405712"]]
|
77986
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
77987
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
77988
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ? [["id", 4]]
|
77989
|
+
|
77990
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.1ms
|
77991
|
+
|
77992
|
+
Sent mail to user30@sleede.com (1.3ms)
|
77993
|
+
Date: Wed, 04 Nov 2015 10:19:45 +0100
|
77994
|
+
From: contact@sleede.com
|
77995
|
+
To: user30@sleede.com
|
77996
|
+
Message-ID: <5639cdb163aae_66e53fcc9d0601e0333c3@MBP-sleede-Nicolas.local.mail>
|
77997
|
+
Subject: notify_new_message
|
77998
|
+
Mime-Version: 1.0
|
77999
|
+
Content-Type: text/html;
|
78000
|
+
charset=UTF-8
|
78001
|
+
Content-Transfer-Encoding: 7bit
|
78002
|
+
|
78003
|
+
|
78004
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "wupee_notifications" WHERE "wupee_notifications"."is_read" = ?[0m [["is_read", "t"]]
|
78005
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.1ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" IN (1, 2, 3, 4) AND "wupee_notification_type_configurations"."notification_type_id" = 1
|
78006
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)[0m
|
78007
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78008
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.411806"], ["updated_at", "2015-11-04 09:19:45.411806"]]
|
78009
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78010
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
78011
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 5]]
|
78012
|
+
|
78013
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.1ms
|
78014
|
+
|
78015
|
+
Sent mail to user27@sleede.com (1.3ms)
|
78016
|
+
Date: Wed, 04 Nov 2015 10:19:45 +0100
|
78017
|
+
From: contact@sleede.com
|
78018
|
+
To: user27@sleede.com
|
78019
|
+
Message-ID: <5639cdb1652bc_66e53fcc9d0601e0334cc@MBP-sleede-Nicolas.local.mail>
|
78020
|
+
Subject: notify_new_message
|
78021
|
+
Mime-Version: 1.0
|
78022
|
+
Content-Type: text/html;
|
78023
|
+
charset=UTF-8
|
78024
|
+
Content-Transfer-Encoding: 7bit
|
78025
|
+
|
78026
|
+
|
78027
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78028
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["receiver_id", 2], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:19:45.416026"], ["updated_at", "2015-11-04 09:19:45.416026"]]
|
78029
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78030
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78031
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["receiver_id", 3], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:19:45.417478"], ["updated_at", "2015-11-04 09:19:45.417478"]]
|
78032
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78033
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78034
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 4], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.418856"], ["updated_at", "2015-11-04 09:19:45.418856"]]
|
78035
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78036
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
78037
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 8]]
|
78038
|
+
|
78039
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.3ms
|
78040
|
+
|
78041
|
+
Sent mail to user30@sleede.com (1.3ms)
|
78042
|
+
Date: Wed, 04 Nov 2015 10:19:45 +0100
|
78043
|
+
From: contact@sleede.com
|
78044
|
+
To: user30@sleede.com
|
78045
|
+
Message-ID: <5639cdb166f34_66e53fcc9d0601e0335dc@MBP-sleede-Nicolas.local.mail>
|
78046
|
+
Subject: notify_new_message
|
78047
|
+
Mime-Version: 1.0
|
78048
|
+
Content-Type: text/html;
|
78049
|
+
charset=UTF-8
|
78050
|
+
Content-Transfer-Encoding: 7bit
|
78051
|
+
|
78052
|
+
|
78053
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications" WHERE "wupee_notifications"."is_read" = ? [["is_read", "t"]]
|
78054
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "wupee_notifications"[0m
|
78055
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.2ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_type" = 'User' AND "wupee_notification_type_configurations"."receiver_id" IN (1, 2, 3, 4) AND "wupee_notification_type_configurations"."notification_type_id" = 1
|
78056
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IN (1, 2, 3, 4)[0m
|
78057
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78058
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 1], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.425476"], ["updated_at", "2015-11-04 09:19:45.425476"]]
|
78059
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78060
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
78061
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 9]]
|
78062
|
+
|
78063
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.3ms
|
78064
|
+
|
78065
|
+
Sent mail to user27@sleede.com (1.2ms)
|
78066
|
+
Date: Wed, 04 Nov 2015 10:19:45 +0100
|
78067
|
+
From: contact@sleede.com
|
78068
|
+
To: user27@sleede.com
|
78069
|
+
Message-ID: <5639cdb1689df_66e53fcc9d0601e0336f6@MBP-sleede-Nicolas.local.mail>
|
78070
|
+
Subject: notify_new_message
|
78071
|
+
Mime-Version: 1.0
|
78072
|
+
Content-Type: text/html;
|
78073
|
+
charset=UTF-8
|
78074
|
+
Content-Transfer-Encoding: 7bit
|
78075
|
+
|
78076
|
+
|
78077
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78078
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["receiver_id", 2], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:19:45.429983"], ["updated_at", "2015-11-04 09:19:45.429983"]]
|
78079
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78080
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78081
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "is_read", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["receiver_id", 3], ["receiver_type", "User"], ["notification_type_id", 1], ["is_read", "t"], ["created_at", "2015-11-04 09:19:45.431431"], ["updated_at", "2015-11-04 09:19:45.431431"]]
|
78082
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78083
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
78084
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["receiver_id", 4], ["receiver_type", "User"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.433086"], ["updated_at", "2015-11-04 09:19:45.433086"]]
|
78085
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78086
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
78087
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "wupee_notifications" SET "is_sent" = 't' WHERE "wupee_notifications"."id" = ?[0m [["id", 12]]
|
78088
|
+
|
78089
|
+
NotificationsMailer#send_mail_for: processed outbound mail in 1.2ms
|
78090
|
+
|
78091
|
+
Sent mail to user30@sleede.com (1.3ms)
|
78092
|
+
Date: Wed, 04 Nov 2015 10:19:45 +0100
|
78093
|
+
From: contact@sleede.com
|
78094
|
+
To: user30@sleede.com
|
78095
|
+
Message-ID: <5639cdb16a663_66e53fcc9d0601e033758@MBP-sleede-Nicolas.local.mail>
|
78096
|
+
Subject: notify_new_message
|
78097
|
+
Mime-Version: 1.0
|
78098
|
+
Content-Type: text/html;
|
78099
|
+
charset=UTF-8
|
78100
|
+
Content-Transfer-Encoding: 7bit
|
78101
|
+
|
78102
|
+
|
78103
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
78104
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
78105
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78106
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78108
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78109
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78110
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78112
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78113
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78114
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78115
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78116
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78117
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78118
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78119
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78120
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
78121
|
+
[1m[35m (0.0ms)[0m begin transaction
|
78122
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78123
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user31@sleede.com"], ["name", "user31"], ["created_at", "2015-11-04 09:19:45.444759"], ["updated_at", "2015-11-04 09:19:45.444759"]]
|
78124
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78126
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78127
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-11-04 09:19:45.447507"], ["updated_at", "2015-11-04 09:19:45.447507"]]
|
78128
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78129
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = ? LIMIT 1 [["name", "notify_new_message"]]
|
78130
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78131
|
+
[1m[35mWupee::NotificationType Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78132
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.450781"], ["updated_at", "2015-11-04 09:19:45.450781"]]
|
78133
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78134
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78135
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78136
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.456184"], ["updated_at", "2015-11-04 09:19:45.456184"]]
|
78137
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78138
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78139
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notifications" ("receiver_id", "receiver_type", "attached_object_id", "attached_object_type", "notification_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["receiver_id", 1], ["receiver_type", "User"], ["attached_object_id", 1], ["attached_object_type", "Message"], ["notification_type_id", 1], ["created_at", "2015-11-04 09:19:45.458317"], ["updated_at", "2015-11-04 09:19:45.458317"]]
|
78140
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78141
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
78142
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78143
|
+
[1m[35mWupee::Notification Load (0.1ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
78144
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "wupee_notifications" WHERE "wupee_notifications"."id" = ?[0m [["id", 1]]
|
78145
|
+
[1m[35mWupee::NotificationTypeConfiguration Load (0.1ms)[0m SELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_id" = ? AND "wupee_notification_type_configurations"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
78146
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."id" = ?[0m [["id", 1]]
|
78147
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
|
78148
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78149
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notifications"
|
78150
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
78151
|
+
[1m[35m (0.1ms)[0m begin transaction
|
78152
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78153
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user32@sleede.com"], ["name", "user32"], ["created_at", "2015-11-04 09:19:45.466520"], ["updated_at", "2015-11-04 09:19:45.466520"]]
|
78154
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78155
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78156
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78157
|
+
[1m[35mWupee::NotificationType Exists (0.3ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'abc' LIMIT 1
|
78158
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "abc"], ["created_at", "2015-11-04 09:19:45.471099"], ["updated_at", "2015-11-04 09:19:45.471099"]]
|
78159
|
+
[1m[35m (0.1ms)[0m SELECT "users"."id" FROM "users"
|
78160
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78161
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78162
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_type", "receiver_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["receiver_type", "User"], ["receiver_id", 1], ["created_at", "2015-11-04 09:19:45.476565"], ["updated_at", "2015-11-04 09:19:45.476565"]]
|
78163
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
78164
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
78165
|
+
[1m[35mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m SELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1
|
78166
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
78167
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
78168
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78169
|
+
[1m[35mWupee::Notification Load (0.0ms)[0m SELECT "wupee_notifications".* FROM "wupee_notifications" WHERE "wupee_notifications"."receiver_id" = ? AND "wupee_notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
78170
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.0ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."receiver_id" = ? AND "wupee_notification_type_configurations"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
78171
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "wupee_notification_type_configurations" WHERE "wupee_notification_type_configurations"."id" = ? [["id", 1]]
|
78172
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
78173
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
78174
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "wupee_notification_type_configurations"[0m
|
78175
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
78176
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78177
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
78178
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
78179
|
+
[1m[35m (0.3ms)[0m begin transaction
|
78180
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
78181
|
+
[1m[35mWupee::NotificationType Exists (0.4ms)[0m SELECT 1 AS one FROM "wupee_notification_types" WHERE "wupee_notification_types"."name" = 'notify_new_message' LIMIT 1
|
78182
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "wupee_notification_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "notify_new_message"], ["created_at", "2015-11-04 09:19:45.492903"], ["updated_at", "2015-11-04 09:19:45.492903"]]
|
78183
|
+
[1m[35m (0.2ms)[0m SELECT "users"."id" FROM "users"
|
78184
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78185
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
78186
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
78187
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user33@sleede.com"], ["name", "user33"], ["created_at", "2015-11-04 09:19:45.498972"], ["updated_at", "2015-11-04 09:19:45.498972"]]
|
78188
|
+
[1m[36m (0.1ms)[0m [1mSELECT "wupee_notification_types"."id" FROM "wupee_notification_types"[0m
|
78189
|
+
[1m[35mWupee::NotificationType Load (0.0ms)[0m SELECT "wupee_notification_types".* FROM "wupee_notification_types" WHERE "wupee_notification_types"."id" = ? LIMIT 1 [["id", 1]]
|
78190
|
+
[1m[36mWupee::NotificationTypeConfiguration Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "wupee_notification_type_configurations" WHERE ("wupee_notification_type_configurations"."notification_type_id" = 1 AND "wupee_notification_type_configurations"."receiver_id" = 1) LIMIT 1[0m
|
78191
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "wupee_notification_type_configurations" ("notification_type_id", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["notification_type_id", 1], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-11-04 09:19:45.501667"], ["updated_at", "2015-11-04 09:19:45.501667"]]
|
78192
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
78193
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "wupee_notification_type_configurations"
|
78194
|
+
[1m[36mWupee::NotificationTypeConfiguration Load (0.1ms)[0m [1mSELECT "wupee_notification_type_configurations".* FROM "wupee_notification_type_configurations" ORDER BY "wupee_notification_type_configurations"."id" DESC LIMIT 1[0m
|
78195
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
78196
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1[0m
|
78197
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
78198
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78199
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
78200
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
78201
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
78202
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78203
|
+
[1m[35m (0.0ms)[0m rollback transaction
|