notify_with 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/concerns/notify_with/notification_attached_object.rb +14 -0
- data/lib/notify_with/version.rb +1 -1
- data/spec/dummy/app/models/message.rb +1 -0
- data/spec/dummy/log/development.log +100 -0
- data/spec/dummy/log/test.log +3902 -0
- data/spec/models/notification_spec.rb +17 -0
- metadata +4 -4
- data/config/routes.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41c870dbebc9575d1291c24cd7ecb533e9df6757
|
4
|
+
data.tar.gz: 5105d58fd969028ce116a865db19798a017b520b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9f59808daf4e6f62c9083d723063b49686aa160b687b9cda58542c4318316bc3b8461d9b8da54bea1107bdfa628b7ef17669d0f3b5289ba5d796700ae843a98
|
7
|
+
data.tar.gz: 29af052c6a2ddce8086260c3eb829dd762048bb96a4cd979d2a4d1bca18057dcc69356da0acd2508380c2a55d5bc6ae322805b88647b72af0f2fab10d59f7737
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module NotifyWith
|
2
|
+
module NotificationAttachedObject
|
3
|
+
extend ActiveSupport::Concern
|
4
|
+
|
5
|
+
included do
|
6
|
+
after_destroy :clean_notification
|
7
|
+
|
8
|
+
def clean_notification
|
9
|
+
::Notification.where('attached_object_id = :id and attached_object_type = :type', {id: id, type: self.class.to_s})
|
10
|
+
.destroy_all
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
data/lib/notify_with/version.rb
CHANGED
@@ -2400,3 +2400,103 @@ Migrating to CreateNotification (20150216115438)
|
|
2400
2400
|
[1m[35m (9.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2401
2401
|
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2402
2402
|
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
2403
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2404
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2405
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2406
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2407
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
2408
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2409
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2410
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2411
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2412
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
2413
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2414
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2415
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2416
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2417
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2418
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2419
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2420
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2421
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2422
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
2423
|
+
[1m[36m (9.2ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2424
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2425
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2426
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2427
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2428
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2429
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2430
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2431
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2432
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
2433
|
+
[1m[36m (9.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
|
2434
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2435
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2436
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2437
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2438
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2439
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2440
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2441
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2442
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
2443
|
+
[1m[36m (9.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
|
2444
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2445
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2446
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2447
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2448
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2449
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2450
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2451
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2452
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
2453
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2454
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2455
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2456
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2457
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2458
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2459
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2460
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2461
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2462
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
2463
|
+
[1m[36m (9.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
|
2464
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2465
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2466
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2467
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2468
|
+
[1m[35m (2.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2469
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2470
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2471
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2472
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
2473
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2474
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2475
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2476
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2477
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2478
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2479
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2480
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2481
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2482
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
2483
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2484
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2485
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2486
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2487
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2488
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2489
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2490
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2491
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2492
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
2493
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2494
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2495
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2496
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2497
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2498
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
2499
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2500
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
2501
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
2502
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
data/spec/dummy/log/test.log
CHANGED
@@ -37777,3 +37777,3905 @@ Content-Transfer-Encoding: 7bit
|
|
37777
37777
|
[1m[35m (0.0ms)[0m rollback transaction
|
37778
37778
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37779
37779
|
[1m[35m (0.0ms)[0m rollback transaction
|
37780
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
37781
|
+
[1m[36m (9.5ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37782
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
37783
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
37784
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
37785
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
37786
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
37787
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
37788
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
37789
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
37790
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
37791
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
37792
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37793
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37794
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-02-17 13:39:19.179388"], ["updated_at", "2015-02-17 13:39:19.179388"]]
|
37795
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
37796
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37797
|
+
[1m[35mSQL (2.0ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.195881"], ["updated_at", "2015-02-17 13:39:19.195881"]]
|
37798
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37799
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
37800
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "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-02-17 13:39:19.200852"], ["updated_at", "2015-02-17 13:39:19.200852"]]
|
37801
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37802
|
+
Processing by API::NotificationsController#index as JSON
|
37803
|
+
Rendered api/notifications/index.json.jbuilder (0.3ms)
|
37804
|
+
Completed 200 OK in 22ms (Views: 9.6ms | ActiveRecord: 0.0ms)
|
37805
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
37806
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37807
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37808
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-02-17 13:39:19.245731"], ["updated_at", "2015-02-17 13:39:19.245731"]]
|
37809
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37810
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37811
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:39:19.247770"], ["updated_at", "2015-02-17 13:39:19.247770"]]
|
37812
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37813
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37814
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:39:19.249485"], ["updated_at", "2015-02-17 13:39:19.249485"]]
|
37815
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37816
|
+
Processing by API::NotificationsController#index as JSON
|
37817
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
37818
|
+
[1m[36mMessage Load (0.1ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
37819
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.4ms)
|
37820
|
+
Rendered api/notifications/index.json.jbuilder (13.4ms)
|
37821
|
+
Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.2ms)
|
37822
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
37823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37824
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37825
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@sleede.com"], ["name", "user3"], ["created_at", "2015-02-17 13:39:19.273781"], ["updated_at", "2015-02-17 13:39:19.273781"]]
|
37826
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37827
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37828
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.275894"], ["updated_at", "2015-02-17 13:39:19.275894"]]
|
37829
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37830
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37831
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:39:19.277685"], ["updated_at", "2015-02-17 13:39:19.277685"]]
|
37832
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37833
|
+
Processing by API::NotificationsController#show as JSON
|
37834
|
+
Parameters: {"id"=>"1"}
|
37835
|
+
[1m[36mNotification Load (0.2ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
37836
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
37837
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
37838
|
+
Rendered api/notifications/show.json.jbuilder (2.0ms)
|
37839
|
+
Completed 200 OK in 9ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
37840
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
37841
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37842
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37843
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-02-17 13:39:19.297550"], ["updated_at", "2015-02-17 13:39:19.297550"]]
|
37844
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37845
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
37846
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:39:19.302005"], ["updated_at", "2015-02-17 13:39:19.302005"]]
|
37847
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
37848
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37849
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:39:19.304659"], ["updated_at", "2015-02-17 13:39:19.304659"]]
|
37850
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37851
|
+
Processing by API::NotificationsController#update as JSON
|
37852
|
+
Parameters: {"id"=>"1"}
|
37853
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
37854
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
37855
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
37856
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.0ms)
|
37857
|
+
Rendered api/notifications/show.json.jbuilder (1.3ms)
|
37858
|
+
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)
|
37859
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
37860
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37861
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37862
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-02-17 13:39:19.326046"], ["updated_at", "2015-02-17 13:39:19.326046"]]
|
37863
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37864
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37865
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:39:19.327949"], ["updated_at", "2015-02-17 13:39:19.327949"]]
|
37866
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37867
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37868
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:39:19.329760"], ["updated_at", "2015-02-17 13:39:19.329760"]]
|
37869
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37870
|
+
Processing by API::NotificationsController#update_all as JSON
|
37871
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."is_read" = 'f' ORDER BY "notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"]]
|
37872
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
37873
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
|
37874
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
37875
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
37876
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37877
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37878
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-02-17 13:39:19.517839"], ["updated_at", "2015-02-17 13:39:19.517839"]]
|
37879
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37880
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
37881
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:39:19.520122"], ["updated_at", "2015-02-17 13:39:19.520122"]]
|
37882
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37883
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
37884
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:39:19.522157"], ["updated_at", "2015-02-17 13:39:19.522157"]]
|
37885
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37886
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
37887
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37888
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37889
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-02-17 13:39:19.528060"], ["updated_at", "2015-02-17 13:39:19.528060"]]
|
37890
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37891
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37892
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.530365"], ["updated_at", "2015-02-17 13:39:19.530365"]]
|
37893
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37894
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37895
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:39:19.532721"], ["updated_at", "2015-02-17 13:39:19.532721"]]
|
37896
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37897
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.9ms)
|
37898
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
37899
|
+
|
37900
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 15.4ms
|
37901
|
+
|
37902
|
+
Sent mail to user7@sleede.com (10.2ms)
|
37903
|
+
Date: Tue, 17 Feb 2015 14:39:19 +0100
|
37904
|
+
From: contact@sleede.com
|
37905
|
+
To: user7@sleede.com
|
37906
|
+
Message-ID: <54e3448788243_7c0c3ff335465bf059480@pc12.home.mail>
|
37907
|
+
Subject: subject notify new message
|
37908
|
+
Mime-Version: 1.0
|
37909
|
+
Content-Type: text/html;
|
37910
|
+
charset=UTF-8
|
37911
|
+
Content-Transfer-Encoding: 7bit
|
37912
|
+
|
37913
|
+
<p>user7</p>
|
37914
|
+
<p>message body</p>
|
37915
|
+
|
37916
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
37917
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37918
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
37919
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@sleede.com"], ["name", "user8"], ["created_at", "2015-02-17 13:39:19.565566"], ["updated_at", "2015-02-17 13:39:19.565566"]]
|
37920
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
37921
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37922
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.568238"], ["updated_at", "2015-02-17 13:39:19.568238"]]
|
37923
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37924
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
37925
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:39:19.570378"], ["updated_at", "2015-02-17 13:39:19.570378"]]
|
37926
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
37927
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
37928
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
37929
|
+
|
37930
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.0ms
|
37931
|
+
|
37932
|
+
Sent mail to user8@sleede.com (2.0ms)
|
37933
|
+
Date: Tue, 17 Feb 2015 14:39:19 +0100
|
37934
|
+
From: contact@sleede.com
|
37935
|
+
To: user8@sleede.com
|
37936
|
+
Message-ID: <54e344878c414_7c0c3ff335465bf05956a@pc12.home.mail>
|
37937
|
+
Subject: subject notify new message
|
37938
|
+
Mime-Version: 1.0
|
37939
|
+
Content-Type: text/html;
|
37940
|
+
charset=UTF-8
|
37941
|
+
Content-Transfer-Encoding: 7bit
|
37942
|
+
|
37943
|
+
<p>user8</p>
|
37944
|
+
<p>message body</p>
|
37945
|
+
|
37946
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
37947
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37948
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
37949
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user9@sleede.com"], ["name", "user9"], ["created_at", "2015-02-17 13:39:19.581690"], ["updated_at", "2015-02-17 13:39:19.581690"]]
|
37950
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
37951
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37952
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.585989"], ["updated_at", "2015-02-17 13:39:19.585989"]]
|
37953
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37954
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
37955
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:39:19.588447"], ["updated_at", "2015-02-17 13:39:19.588447"]]
|
37956
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
37957
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
37958
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
37959
|
+
|
37960
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.5ms
|
37961
|
+
|
37962
|
+
Sent mail to user9@sleede.com (1.4ms)
|
37963
|
+
Date: Tue, 17 Feb 2015 14:39:19 +0100
|
37964
|
+
From: contact@sleede.com
|
37965
|
+
To: user9@sleede.com
|
37966
|
+
Message-ID: <54e344879086d_7c0c3ff335465bf059634@pc12.home.mail>
|
37967
|
+
Subject: subject notify new message
|
37968
|
+
Mime-Version: 1.0
|
37969
|
+
Content-Type: text/html;
|
37970
|
+
charset=UTF-8
|
37971
|
+
Content-Transfer-Encoding: 7bit
|
37972
|
+
|
37973
|
+
<p>user9</p>
|
37974
|
+
<p>message body</p>
|
37975
|
+
|
37976
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
37977
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37978
|
+
[1m[35m (0.6ms)[0m SAVEPOINT active_record_1
|
37979
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user10@sleede.com"], ["name", "user10"], ["created_at", "2015-02-17 13:39:19.596862"], ["updated_at", "2015-02-17 13:39:19.596862"]]
|
37980
|
+
[1m[35m (1.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37981
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
37982
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.601405"], ["updated_at", "2015-02-17 13:39:19.601405"]]
|
37983
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
37984
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
37985
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:39:19.604414"], ["updated_at", "2015-02-17 13:39:19.604414"]]
|
37986
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
37987
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
37988
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
37989
|
+
|
37990
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.0ms
|
37991
|
+
|
37992
|
+
Sent mail to user10@sleede.com (2.4ms)
|
37993
|
+
Date: Tue, 17 Feb 2015 14:39:19 +0100
|
37994
|
+
From: contact@sleede.com
|
37995
|
+
To: user10@sleede.com
|
37996
|
+
Message-ID: <54e3448794d3e_7c0c3ff335465bf059711@pc12.home.mail>
|
37997
|
+
Subject: subject notify new message
|
37998
|
+
Mime-Version: 1.0
|
37999
|
+
Content-Type: text/html;
|
38000
|
+
charset=UTF-8
|
38001
|
+
Content-Transfer-Encoding: 7bit
|
38002
|
+
|
38003
|
+
<p>user10</p>
|
38004
|
+
<p>message body</p>
|
38005
|
+
|
38006
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
38007
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38008
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38009
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:39:19.622843"], ["updated_at", "2015-02-17 13:39:19.622843"]]
|
38010
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38011
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38012
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-02-17 13:39:19.625702"], ["updated_at", "2015-02-17 13:39:19.625702"]]
|
38013
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38014
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38015
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:39:19.628958"], ["updated_at", "2015-02-17 13:39:19.628958"]]
|
38016
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38017
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
38018
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38019
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38020
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.635809"], ["updated_at", "2015-02-17 13:39:19.635809"]]
|
38021
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38022
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38023
|
+
[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-02-17 13:39:19.639651"], ["updated_at", "2015-02-17 13:39:19.639651"]]
|
38024
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38025
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38026
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38027
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38028
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.646304"], ["updated_at", "2015-02-17 13:39:19.646304"]]
|
38029
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38030
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38031
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-02-17 13:39:19.648139"], ["updated_at", "2015-02-17 13:39:19.648139"]]
|
38032
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38033
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38034
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38035
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38036
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.652967"], ["updated_at", "2015-02-17 13:39:19.652967"]]
|
38037
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38038
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38039
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user14@sleede.com"], ["name", "user14"], ["created_at", "2015-02-17 13:39:19.654721"], ["updated_at", "2015-02-17 13:39:19.654721"]]
|
38040
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38041
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38042
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38043
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38044
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.660166"], ["updated_at", "2015-02-17 13:39:19.660166"]]
|
38045
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38046
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38047
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-02-17 13:39:19.662273"], ["updated_at", "2015-02-17 13:39:19.662273"]]
|
38048
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38050
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:39:19.664755"], ["updated_at", "2015-02-17 13:39:19.664755"]]
|
38051
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38052
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
38053
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
38054
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38055
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38056
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.671406"], ["updated_at", "2015-02-17 13:39:19.671406"]]
|
38057
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38058
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38059
|
+
[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-02-17 13:39:19.675946"], ["updated_at", "2015-02-17 13:39:19.675946"]]
|
38060
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38061
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38062
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:39:19.679854"], ["updated_at", "2015-02-17 13:39:19.679854"]]
|
38063
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38064
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
38065
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
38066
|
+
|
38067
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.4ms
|
38068
|
+
|
38069
|
+
Sent mail to user16@sleede.com (1.5ms)
|
38070
|
+
Date: Tue, 17 Feb 2015 14:39:19 +0100
|
38071
|
+
From: contact@sleede.com
|
38072
|
+
To: user16@sleede.com
|
38073
|
+
Message-ID: <54e34487a7642_7c0c3ff335465bf0598ee@pc12.home.mail>
|
38074
|
+
Subject: subject notify new message
|
38075
|
+
Mime-Version: 1.0
|
38076
|
+
Content-Type: text/html;
|
38077
|
+
charset=UTF-8
|
38078
|
+
Content-Transfer-Encoding: 7bit
|
38079
|
+
|
38080
|
+
<p>user16</p>
|
38081
|
+
<p>message body</p>
|
38082
|
+
|
38083
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
38084
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38085
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38086
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:39:19.689610"], ["updated_at", "2015-02-17 13:39:19.689610"]]
|
38087
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38088
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38089
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-02-17 13:39:19.692274"], ["updated_at", "2015-02-17 13:39:19.692274"]]
|
38090
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38091
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38092
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:39:19.699226"], ["updated_at", "2015-02-17 13:39:19.699226"]]
|
38093
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38094
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: c4f2ae27-d861-42e3-8937-17c91cef7419) to Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
38095
|
+
[ActiveJob] [1m[35mNotification Load (0.3ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
38096
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [c4f2ae27-d861-42e3-8937-17c91cef7419] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
38097
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [c4f2ae27-d861-42e3-8937-17c91cef7419] [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
38098
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [c4f2ae27-d861-42e3-8937-17c91cef7419] [1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
38099
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [c4f2ae27-d861-42e3-8937-17c91cef7419] Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
38100
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [c4f2ae27-d861-42e3-8937-17c91cef7419] [1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38101
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [c4f2ae27-d861-42e3-8937-17c91cef7419]
|
38102
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 9.2ms
|
38103
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [c4f2ae27-d861-42e3-8937-17c91cef7419]
|
38104
|
+
Sent mail to user17@sleede.com (1.8ms)
|
38105
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [c4f2ae27-d861-42e3-8937-17c91cef7419] Date: Tue, 17 Feb 2015 14:39:19 +0100
|
38106
|
+
From: contact@sleede.com
|
38107
|
+
To: user17@sleede.com
|
38108
|
+
Message-ID: <54e34487b96e9_7c0c3ff335465bf0599c0@pc12.home.mail>
|
38109
|
+
Subject: subject notify new message
|
38110
|
+
Mime-Version: 1.0
|
38111
|
+
Content-Type: text/html;
|
38112
|
+
charset=UTF-8
|
38113
|
+
Content-Transfer-Encoding: 7bit
|
38114
|
+
|
38115
|
+
<p>user17</p>
|
38116
|
+
<p>message body</p>
|
38117
|
+
|
38118
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [c4f2ae27-d861-42e3-8937-17c91cef7419] Performed ActionMailer::DeliveryJob from Inline(mailers) in 11.75ms
|
38119
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38120
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38121
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38122
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:39:19.764502"], ["updated_at", "2015-02-17 13:39:19.764502"]]
|
38123
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38124
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38125
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-02-17 13:39:19.766625"], ["updated_at", "2015-02-17 13:39:19.766625"]]
|
38126
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38127
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38129
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38130
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:39:19.774954"], ["updated_at", "2015-02-17 13:39:19.774954"]]
|
38131
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38132
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38133
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-02-17 13:39:19.777623"], ["updated_at", "2015-02-17 13:39:19.777623"]]
|
38134
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38135
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38136
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38137
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38138
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:39:19.784175"], ["updated_at", "2015-02-17 13:39:19.784175"]]
|
38139
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38140
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38141
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-02-17 13:39:19.786022"], ["updated_at", "2015-02-17 13:39:19.786022"]]
|
38142
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38143
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38144
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38145
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38146
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:39:19.791753"], ["updated_at", "2015-02-17 13:39:19.791753"]]
|
38147
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38148
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38149
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-02-17 13:39:19.793951"], ["updated_at", "2015-02-17 13:39:19.793951"]]
|
38150
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38151
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38152
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:39:19.797105"], ["updated_at", "2015-02-17 13:39:19.797105"]]
|
38153
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38154
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38155
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38156
|
+
[1m[36mNotification Load (0.2ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
38157
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
38158
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38159
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38160
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38161
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38162
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38163
|
+
[1m[36m (10.7ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
38164
|
+
[1m[35m (4.5ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
38165
|
+
[1m[36m (3.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
38166
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
38167
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
38168
|
+
[1m[35m (2.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
38169
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
38170
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
38171
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
38172
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
38173
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38175
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38176
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-02-17 13:40:25.440695"], ["updated_at", "2015-02-17 13:40:25.440695"]]
|
38177
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38178
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38179
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.455720"], ["updated_at", "2015-02-17 13:40:25.455720"]]
|
38180
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38181
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38182
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "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-02-17 13:40:25.459104"], ["updated_at", "2015-02-17 13:40:25.459104"]]
|
38183
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38184
|
+
Processing by API::NotificationsController#index as JSON
|
38185
|
+
Rendered api/notifications/index.json.jbuilder (0.3ms)
|
38186
|
+
Completed 200 OK in 25ms (Views: 11.1ms | ActiveRecord: 0.0ms)
|
38187
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38188
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38189
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38190
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-02-17 13:40:25.508171"], ["updated_at", "2015-02-17 13:40:25.508171"]]
|
38191
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38192
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38193
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:40:25.510246"], ["updated_at", "2015-02-17 13:40:25.510246"]]
|
38194
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38195
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38196
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:40:25.512057"], ["updated_at", "2015-02-17 13:40:25.512057"]]
|
38197
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38198
|
+
Processing by API::NotificationsController#index as JSON
|
38199
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
38200
|
+
[1m[36mMessage Load (0.1ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
38201
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.4ms)
|
38202
|
+
Rendered api/notifications/index.json.jbuilder (14.3ms)
|
38203
|
+
Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.3ms)
|
38204
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38205
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38206
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38207
|
+
[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-02-17 13:40:25.538131"], ["updated_at", "2015-02-17 13:40:25.538131"]]
|
38208
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38209
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38210
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.540679"], ["updated_at", "2015-02-17 13:40:25.540679"]]
|
38211
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38212
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38213
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:40:25.543589"], ["updated_at", "2015-02-17 13:40:25.543589"]]
|
38214
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38215
|
+
Processing by API::NotificationsController#show as JSON
|
38216
|
+
Parameters: {"id"=>"1"}
|
38217
|
+
[1m[36mNotification Load (0.2ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
38218
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
38219
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
38220
|
+
Rendered api/notifications/show.json.jbuilder (3.2ms)
|
38221
|
+
Completed 200 OK in 11ms (Views: 4.8ms | ActiveRecord: 0.3ms)
|
38222
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
38223
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38224
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38225
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-02-17 13:40:25.564229"], ["updated_at", "2015-02-17 13:40:25.564229"]]
|
38226
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38227
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38228
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:40:25.566448"], ["updated_at", "2015-02-17 13:40:25.566448"]]
|
38229
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38230
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38231
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:40:25.568350"], ["updated_at", "2015-02-17 13:40:25.568350"]]
|
38232
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38233
|
+
Processing by API::NotificationsController#update as JSON
|
38234
|
+
Parameters: {"id"=>"1"}
|
38235
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
38236
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38237
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
38238
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.0ms)
|
38239
|
+
Rendered api/notifications/show.json.jbuilder (1.3ms)
|
38240
|
+
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)
|
38241
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
38242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38243
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38244
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-02-17 13:40:25.581106"], ["updated_at", "2015-02-17 13:40:25.581106"]]
|
38245
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38246
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38247
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:40:25.583366"], ["updated_at", "2015-02-17 13:40:25.583366"]]
|
38248
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38249
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38250
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:40:25.585406"], ["updated_at", "2015-02-17 13:40:25.585406"]]
|
38251
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38252
|
+
Processing by API::NotificationsController#update_all as JSON
|
38253
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."is_read" = 'f' ORDER BY "notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"]]
|
38254
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38255
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
|
38256
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
38257
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38258
|
+
[1m[35m (0.2ms)[0m begin transaction
|
38259
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38260
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-02-17 13:40:25.770949"], ["updated_at", "2015-02-17 13:40:25.770949"]]
|
38261
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38262
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38263
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:40:25.772938"], ["updated_at", "2015-02-17 13:40:25.772938"]]
|
38264
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38265
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38266
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:40:25.774625"], ["updated_at", "2015-02-17 13:40:25.774625"]]
|
38267
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38268
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38270
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38271
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-02-17 13:40:25.780408"], ["updated_at", "2015-02-17 13:40:25.780408"]]
|
38272
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38273
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38274
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.782268"], ["updated_at", "2015-02-17 13:40:25.782268"]]
|
38275
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38276
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38277
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:40:25.784448"], ["updated_at", "2015-02-17 13:40:25.784448"]]
|
38278
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38279
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.6ms)
|
38280
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38281
|
+
|
38282
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 15.8ms
|
38283
|
+
|
38284
|
+
Sent mail to user7@sleede.com (7.3ms)
|
38285
|
+
Date: Tue, 17 Feb 2015 14:40:25 +0100
|
38286
|
+
From: contact@sleede.com
|
38287
|
+
To: user7@sleede.com
|
38288
|
+
Message-ID: <54e344c9c5064_7c433fc44d465be455426@pc12.home.mail>
|
38289
|
+
Subject: subject notify new message
|
38290
|
+
Mime-Version: 1.0
|
38291
|
+
Content-Type: text/html;
|
38292
|
+
charset=UTF-8
|
38293
|
+
Content-Transfer-Encoding: 7bit
|
38294
|
+
|
38295
|
+
<p>user7</p>
|
38296
|
+
<p>message body</p>
|
38297
|
+
|
38298
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38299
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38300
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38301
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@sleede.com"], ["name", "user8"], ["created_at", "2015-02-17 13:40:25.814235"], ["updated_at", "2015-02-17 13:40:25.814235"]]
|
38302
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38303
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38304
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.816667"], ["updated_at", "2015-02-17 13:40:25.816667"]]
|
38305
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38306
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38307
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:40:25.818818"], ["updated_at", "2015-02-17 13:40:25.818818"]]
|
38308
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38309
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
38310
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38311
|
+
|
38312
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.9ms
|
38313
|
+
|
38314
|
+
Sent mail to user8@sleede.com (1.4ms)
|
38315
|
+
Date: Tue, 17 Feb 2015 14:40:25 +0100
|
38316
|
+
From: contact@sleede.com
|
38317
|
+
To: user8@sleede.com
|
38318
|
+
Message-ID: <54e344c9c8e5c_7c433fc44d465be4555f1@pc12.home.mail>
|
38319
|
+
Subject: subject notify new message
|
38320
|
+
Mime-Version: 1.0
|
38321
|
+
Content-Type: text/html;
|
38322
|
+
charset=UTF-8
|
38323
|
+
Content-Transfer-Encoding: 7bit
|
38324
|
+
|
38325
|
+
<p>user8</p>
|
38326
|
+
<p>message body</p>
|
38327
|
+
|
38328
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38329
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38330
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38331
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user9@sleede.com"], ["name", "user9"], ["created_at", "2015-02-17 13:40:25.826451"], ["updated_at", "2015-02-17 13:40:25.826451"]]
|
38332
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38333
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38334
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.828108"], ["updated_at", "2015-02-17 13:40:25.828108"]]
|
38335
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38336
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38337
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:40:25.829878"], ["updated_at", "2015-02-17 13:40:25.829878"]]
|
38338
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38339
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
38340
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38341
|
+
|
38342
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.0ms
|
38343
|
+
|
38344
|
+
Sent mail to user9@sleede.com (2.9ms)
|
38345
|
+
Date: Tue, 17 Feb 2015 14:40:25 +0100
|
38346
|
+
From: contact@sleede.com
|
38347
|
+
To: user9@sleede.com
|
38348
|
+
Message-ID: <54e344c9cbe2a_7c433fc44d465be455624@pc12.home.mail>
|
38349
|
+
Subject: subject notify new message
|
38350
|
+
Mime-Version: 1.0
|
38351
|
+
Content-Type: text/html;
|
38352
|
+
charset=UTF-8
|
38353
|
+
Content-Transfer-Encoding: 7bit
|
38354
|
+
|
38355
|
+
<p>user9</p>
|
38356
|
+
<p>message body</p>
|
38357
|
+
|
38358
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
38359
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
38360
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38361
|
+
[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-02-17 13:40:25.841171"], ["updated_at", "2015-02-17 13:40:25.841171"]]
|
38362
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38363
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38364
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.843054"], ["updated_at", "2015-02-17 13:40:25.843054"]]
|
38365
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38366
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38367
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:40:25.844590"], ["updated_at", "2015-02-17 13:40:25.844590"]]
|
38368
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38369
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
38370
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38371
|
+
|
38372
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.2ms
|
38373
|
+
|
38374
|
+
Sent mail to user10@sleede.com (1.3ms)
|
38375
|
+
Date: Tue, 17 Feb 2015 14:40:25 +0100
|
38376
|
+
From: contact@sleede.com
|
38377
|
+
To: user10@sleede.com
|
38378
|
+
Message-ID: <54e344c9cee4a_7c433fc44d465be4557c7@pc12.home.mail>
|
38379
|
+
Subject: subject notify new message
|
38380
|
+
Mime-Version: 1.0
|
38381
|
+
Content-Type: text/html;
|
38382
|
+
charset=UTF-8
|
38383
|
+
Content-Transfer-Encoding: 7bit
|
38384
|
+
|
38385
|
+
<p>user10</p>
|
38386
|
+
<p>message body</p>
|
38387
|
+
|
38388
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38389
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38390
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38391
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:40:25.858313"], ["updated_at", "2015-02-17 13:40:25.858313"]]
|
38392
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38393
|
+
[1m[36m (0.5ms)[0m [1mSAVEPOINT active_record_1[0m
|
38394
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-02-17 13:40:25.860844"], ["updated_at", "2015-02-17 13:40:25.860844"]]
|
38395
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38396
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38397
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:40:25.863685"], ["updated_at", "2015-02-17 13:40:25.863685"]]
|
38398
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38399
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38400
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38401
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38402
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.867475"], ["updated_at", "2015-02-17 13:40:25.867475"]]
|
38403
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38404
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38405
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user12@sleede.com"], ["name", "user12"], ["created_at", "2015-02-17 13:40:25.869073"], ["updated_at", "2015-02-17 13:40:25.869073"]]
|
38406
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38407
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
38408
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38409
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38410
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.874640"], ["updated_at", "2015-02-17 13:40:25.874640"]]
|
38411
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38412
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38413
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-02-17 13:40:25.876408"], ["updated_at", "2015-02-17 13:40:25.876408"]]
|
38414
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38415
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38416
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38417
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38418
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.881223"], ["updated_at", "2015-02-17 13:40:25.881223"]]
|
38419
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38420
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38421
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user14@sleede.com"], ["name", "user14"], ["created_at", "2015-02-17 13:40:25.883183"], ["updated_at", "2015-02-17 13:40:25.883183"]]
|
38422
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38423
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
38424
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38425
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38426
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.891708"], ["updated_at", "2015-02-17 13:40:25.891708"]]
|
38427
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38428
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38429
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-02-17 13:40:25.893933"], ["updated_at", "2015-02-17 13:40:25.893933"]]
|
38430
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38431
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38432
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:40:25.896408"], ["updated_at", "2015-02-17 13:40:25.896408"]]
|
38433
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38434
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
38435
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
38436
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38437
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38438
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.900143"], ["updated_at", "2015-02-17 13:40:25.900143"]]
|
38439
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38440
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38441
|
+
[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-02-17 13:40:25.901774"], ["updated_at", "2015-02-17 13:40:25.901774"]]
|
38442
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38443
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38444
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:40:25.903891"], ["updated_at", "2015-02-17 13:40:25.903891"]]
|
38445
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38446
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
38447
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
38448
|
+
|
38449
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.3ms
|
38450
|
+
|
38451
|
+
Sent mail to user16@sleede.com (1.4ms)
|
38452
|
+
Date: Tue, 17 Feb 2015 14:40:25 +0100
|
38453
|
+
From: contact@sleede.com
|
38454
|
+
To: user16@sleede.com
|
38455
|
+
Message-ID: <54e344c9dd6cd_7c433fc44d465be45587e@pc12.home.mail>
|
38456
|
+
Subject: subject notify new message
|
38457
|
+
Mime-Version: 1.0
|
38458
|
+
Content-Type: text/html;
|
38459
|
+
charset=UTF-8
|
38460
|
+
Content-Transfer-Encoding: 7bit
|
38461
|
+
|
38462
|
+
<p>user16</p>
|
38463
|
+
<p>message body</p>
|
38464
|
+
|
38465
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
38466
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38467
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38468
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:40:25.910973"], ["updated_at", "2015-02-17 13:40:25.910973"]]
|
38469
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38470
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38471
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-02-17 13:40:25.912782"], ["updated_at", "2015-02-17 13:40:25.912782"]]
|
38472
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38473
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38474
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:40:25.914750"], ["updated_at", "2015-02-17 13:40:25.914750"]]
|
38475
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38476
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 12adc720-2387-4411-a2a5-7d6b72798b81) to Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
38477
|
+
[ActiveJob] [1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
38478
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [12adc720-2387-4411-a2a5-7d6b72798b81] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
38479
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [12adc720-2387-4411-a2a5-7d6b72798b81] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
38480
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [12adc720-2387-4411-a2a5-7d6b72798b81] [1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
38481
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [12adc720-2387-4411-a2a5-7d6b72798b81] Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
38482
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [12adc720-2387-4411-a2a5-7d6b72798b81] [1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38483
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [12adc720-2387-4411-a2a5-7d6b72798b81]
|
38484
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 3.6ms
|
38485
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [12adc720-2387-4411-a2a5-7d6b72798b81]
|
38486
|
+
Sent mail to user17@sleede.com (2.5ms)
|
38487
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [12adc720-2387-4411-a2a5-7d6b72798b81] Date: Tue, 17 Feb 2015 14:40:25 +0100
|
38488
|
+
From: contact@sleede.com
|
38489
|
+
To: user17@sleede.com
|
38490
|
+
Message-ID: <54e344c9e6d87_7c433fc44d465be455947@pc12.home.mail>
|
38491
|
+
Subject: subject notify new message
|
38492
|
+
Mime-Version: 1.0
|
38493
|
+
Content-Type: text/html;
|
38494
|
+
charset=UTF-8
|
38495
|
+
Content-Transfer-Encoding: 7bit
|
38496
|
+
|
38497
|
+
<p>user17</p>
|
38498
|
+
<p>message body</p>
|
38499
|
+
|
38500
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [12adc720-2387-4411-a2a5-7d6b72798b81] Performed ActionMailer::DeliveryJob from Inline(mailers) in 6.63ms
|
38501
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
38502
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38503
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38504
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:40:25.951039"], ["updated_at", "2015-02-17 13:40:25.951039"]]
|
38505
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38506
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38507
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-02-17 13:40:25.956508"], ["updated_at", "2015-02-17 13:40:25.956508"]]
|
38508
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38509
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38510
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38511
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38512
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:40:25.960439"], ["updated_at", "2015-02-17 13:40:25.960439"]]
|
38513
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38515
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-02-17 13:40:25.962038"], ["updated_at", "2015-02-17 13:40:25.962038"]]
|
38516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38517
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38518
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38519
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38520
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:40:25.965837"], ["updated_at", "2015-02-17 13:40:25.965837"]]
|
38521
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38522
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38523
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-02-17 13:40:25.967549"], ["updated_at", "2015-02-17 13:40:25.967549"]]
|
38524
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38525
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38526
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38527
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38528
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:40:25.971640"], ["updated_at", "2015-02-17 13:40:25.971640"]]
|
38529
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38531
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-02-17 13:40:25.973549"], ["updated_at", "2015-02-17 13:40:25.973549"]]
|
38532
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38533
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38534
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:40:25.980465"], ["updated_at", "2015-02-17 13:40:25.980465"]]
|
38535
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38536
|
+
[1m[36mNotification Load (0.0ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
38537
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38539
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38540
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38541
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
38542
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38543
|
+
[1m[36m (8.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
|
38544
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
38545
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
38546
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
38547
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
38548
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
38549
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
38550
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
38551
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
38552
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
38553
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38554
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38555
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38556
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-02-17 13:41:03.848534"], ["updated_at", "2015-02-17 13:41:03.848534"]]
|
38557
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38558
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38559
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:03.862588"], ["updated_at", "2015-02-17 13:41:03.862588"]]
|
38560
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38561
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38562
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "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-02-17 13:41:03.866838"], ["updated_at", "2015-02-17 13:41:03.866838"]]
|
38563
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38564
|
+
Processing by API::NotificationsController#index as JSON
|
38565
|
+
Rendered api/notifications/index.json.jbuilder (0.4ms)
|
38566
|
+
Completed 200 OK in 24ms (Views: 11.6ms | ActiveRecord: 0.0ms)
|
38567
|
+
[1m[36m (8.8ms)[0m [1mrollback transaction[0m
|
38568
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38569
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38570
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-02-17 13:41:03.916353"], ["updated_at", "2015-02-17 13:41:03.916353"]]
|
38571
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38572
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38573
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:03.918743"], ["updated_at", "2015-02-17 13:41:03.918743"]]
|
38574
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38575
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38576
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:41:03.920665"], ["updated_at", "2015-02-17 13:41:03.920665"]]
|
38577
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38578
|
+
Processing by API::NotificationsController#index as JSON
|
38579
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
38580
|
+
[1m[36mMessage Load (0.1ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
38581
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.3ms)
|
38582
|
+
Rendered api/notifications/index.json.jbuilder (11.3ms)
|
38583
|
+
Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.3ms)
|
38584
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
38585
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38586
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38587
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@sleede.com"], ["name", "user3"], ["created_at", "2015-02-17 13:41:03.946347"], ["updated_at", "2015-02-17 13:41:03.946347"]]
|
38588
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38589
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38590
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:03.950513"], ["updated_at", "2015-02-17 13:41:03.950513"]]
|
38591
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38592
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38593
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "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-02-17 13:41:03.953434"], ["updated_at", "2015-02-17 13:41:03.953434"]]
|
38594
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38595
|
+
Processing by API::NotificationsController#show as JSON
|
38596
|
+
Parameters: {"id"=>"1"}
|
38597
|
+
[1m[36mNotification Load (0.1ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
38598
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
38599
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
38600
|
+
Rendered api/notifications/show.json.jbuilder (2.2ms)
|
38601
|
+
Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.2ms)
|
38602
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
38603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38604
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38605
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-02-17 13:41:03.971746"], ["updated_at", "2015-02-17 13:41:03.971746"]]
|
38606
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38607
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38608
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:03.976336"], ["updated_at", "2015-02-17 13:41:03.976336"]]
|
38609
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38610
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38611
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:41:03.978490"], ["updated_at", "2015-02-17 13:41:03.978490"]]
|
38612
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38613
|
+
Processing by API::NotificationsController#update as JSON
|
38614
|
+
Parameters: {"id"=>"1"}
|
38615
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
38616
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38617
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
38618
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
38619
|
+
Rendered api/notifications/show.json.jbuilder (1.4ms)
|
38620
|
+
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)
|
38621
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
38622
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38623
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38624
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-02-17 13:41:03.991068"], ["updated_at", "2015-02-17 13:41:03.991068"]]
|
38625
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38626
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38627
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:03.993503"], ["updated_at", "2015-02-17 13:41:03.993503"]]
|
38628
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38629
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38630
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:41:03.995425"], ["updated_at", "2015-02-17 13:41:03.995425"]]
|
38631
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38632
|
+
Processing by API::NotificationsController#update_all as JSON
|
38633
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."is_read" = 'f' ORDER BY "notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"]]
|
38634
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38635
|
+
Completed 204 No Content in 2ms (ActiveRecord: 0.2ms)
|
38636
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
38637
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
38638
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38639
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
38640
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-02-17 13:41:04.160767"], ["updated_at", "2015-02-17 13:41:04.160767"]]
|
38641
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38642
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38643
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:04.162749"], ["updated_at", "2015-02-17 13:41:04.162749"]]
|
38644
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38645
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38646
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:41:04.164468"], ["updated_at", "2015-02-17 13:41:04.164468"]]
|
38647
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38648
|
+
[1m[35m (8.8ms)[0m rollback transaction
|
38649
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38650
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38651
|
+
[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-02-17 13:41:04.179162"], ["updated_at", "2015-02-17 13:41:04.179162"]]
|
38652
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38653
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38654
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:04.181103"], ["updated_at", "2015-02-17 13:41:04.181103"]]
|
38655
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38656
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38657
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:04.182916"], ["updated_at", "2015-02-17 13:41:04.182916"]]
|
38658
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38659
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.1ms)
|
38660
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38661
|
+
|
38662
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 12.0ms
|
38663
|
+
|
38664
|
+
Sent mail to user7@sleede.com (6.7ms)
|
38665
|
+
Date: Tue, 17 Feb 2015 14:41:04 +0100
|
38666
|
+
From: contact@sleede.com
|
38667
|
+
To: user7@sleede.com
|
38668
|
+
Message-ID: <54e344f030f31_7c9a3fe2f1865bf0105d@pc12.home.mail>
|
38669
|
+
Subject: subject notify new message
|
38670
|
+
Mime-Version: 1.0
|
38671
|
+
Content-Type: text/html;
|
38672
|
+
charset=UTF-8
|
38673
|
+
Content-Transfer-Encoding: 7bit
|
38674
|
+
|
38675
|
+
<p>user7</p>
|
38676
|
+
<p>message body</p>
|
38677
|
+
|
38678
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38679
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38680
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38681
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@sleede.com"], ["name", "user8"], ["created_at", "2015-02-17 13:41:04.207478"], ["updated_at", "2015-02-17 13:41:04.207478"]]
|
38682
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38683
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38684
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:04.209655"], ["updated_at", "2015-02-17 13:41:04.209655"]]
|
38685
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38686
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38687
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:04.211451"], ["updated_at", "2015-02-17 13:41:04.211451"]]
|
38688
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38689
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
38690
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38691
|
+
|
38692
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.4ms
|
38693
|
+
|
38694
|
+
Sent mail to user8@sleede.com (3.6ms)
|
38695
|
+
Date: Tue, 17 Feb 2015 14:41:04 +0100
|
38696
|
+
From: contact@sleede.com
|
38697
|
+
To: user8@sleede.com
|
38698
|
+
Message-ID: <54e344f03471a_7c9a3fe2f1865bf010645@pc12.home.mail>
|
38699
|
+
Subject: subject notify new message
|
38700
|
+
Mime-Version: 1.0
|
38701
|
+
Content-Type: text/html;
|
38702
|
+
charset=UTF-8
|
38703
|
+
Content-Transfer-Encoding: 7bit
|
38704
|
+
|
38705
|
+
<p>user8</p>
|
38706
|
+
<p>message body</p>
|
38707
|
+
|
38708
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
38709
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38710
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38711
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user9@sleede.com"], ["name", "user9"], ["created_at", "2015-02-17 13:41:04.221130"], ["updated_at", "2015-02-17 13:41:04.221130"]]
|
38712
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38713
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38714
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:04.223808"], ["updated_at", "2015-02-17 13:41:04.223808"]]
|
38715
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38716
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38717
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:04.225914"], ["updated_at", "2015-02-17 13:41:04.225914"]]
|
38718
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38719
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
38720
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38721
|
+
|
38722
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.5ms
|
38723
|
+
|
38724
|
+
Sent mail to user9@sleede.com (4.9ms)
|
38725
|
+
Date: Tue, 17 Feb 2015 14:41:04 +0100
|
38726
|
+
From: contact@sleede.com
|
38727
|
+
To: user9@sleede.com
|
38728
|
+
Message-ID: <54e344f038d2a_7c9a3fe2f1865bf0107d6@pc12.home.mail>
|
38729
|
+
Subject: subject notify new message
|
38730
|
+
Mime-Version: 1.0
|
38731
|
+
Content-Type: text/html;
|
38732
|
+
charset=UTF-8
|
38733
|
+
Content-Transfer-Encoding: 7bit
|
38734
|
+
|
38735
|
+
<p>user9</p>
|
38736
|
+
<p>message body</p>
|
38737
|
+
|
38738
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38739
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38740
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
38741
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user10@sleede.com"], ["name", "user10"], ["created_at", "2015-02-17 13:41:04.237667"], ["updated_at", "2015-02-17 13:41:04.237667"]]
|
38742
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38743
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38744
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:04.241293"], ["updated_at", "2015-02-17 13:41:04.241293"]]
|
38745
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38746
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38747
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:04.246488"], ["updated_at", "2015-02-17 13:41:04.246488"]]
|
38748
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38749
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
38750
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38751
|
+
|
38752
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.3ms
|
38753
|
+
|
38754
|
+
Sent mail to user10@sleede.com (1.4ms)
|
38755
|
+
Date: Tue, 17 Feb 2015 14:41:04 +0100
|
38756
|
+
From: contact@sleede.com
|
38757
|
+
To: user10@sleede.com
|
38758
|
+
Message-ID: <54e344f03cfd1_7c9a3fe2f1865bf01082d@pc12.home.mail>
|
38759
|
+
Subject: subject notify new message
|
38760
|
+
Mime-Version: 1.0
|
38761
|
+
Content-Type: text/html;
|
38762
|
+
charset=UTF-8
|
38763
|
+
Content-Transfer-Encoding: 7bit
|
38764
|
+
|
38765
|
+
<p>user10</p>
|
38766
|
+
<p>message body</p>
|
38767
|
+
|
38768
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38769
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38771
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:04.260736"], ["updated_at", "2015-02-17 13:41:04.260736"]]
|
38772
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38773
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
38774
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-02-17 13:41:04.262882"], ["updated_at", "2015-02-17 13:41:04.262882"]]
|
38775
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38776
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38777
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:04.265373"], ["updated_at", "2015-02-17 13:41:04.265373"]]
|
38778
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38779
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
38780
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38781
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38782
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:04.270359"], ["updated_at", "2015-02-17 13:41:04.270359"]]
|
38783
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38784
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38785
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user12@sleede.com"], ["name", "user12"], ["created_at", "2015-02-17 13:41:04.271959"], ["updated_at", "2015-02-17 13:41:04.271959"]]
|
38786
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38787
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38788
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38789
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38790
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:04.278100"], ["updated_at", "2015-02-17 13:41:04.278100"]]
|
38791
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38792
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38793
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-02-17 13:41:04.280888"], ["updated_at", "2015-02-17 13:41:04.280888"]]
|
38794
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38795
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
38796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38797
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38798
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:04.286086"], ["updated_at", "2015-02-17 13:41:04.286086"]]
|
38799
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38800
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38801
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user14@sleede.com"], ["name", "user14"], ["created_at", "2015-02-17 13:41:04.287721"], ["updated_at", "2015-02-17 13:41:04.287721"]]
|
38802
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38803
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
38804
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38805
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38806
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:04.292289"], ["updated_at", "2015-02-17 13:41:04.292289"]]
|
38807
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38808
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38809
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-02-17 13:41:04.294805"], ["updated_at", "2015-02-17 13:41:04.294805"]]
|
38810
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
38811
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38812
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:04.298320"], ["updated_at", "2015-02-17 13:41:04.298320"]]
|
38813
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38814
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
38815
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
38816
|
+
[1m[35m (0.5ms)[0m begin transaction
|
38817
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38818
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:04.306849"], ["updated_at", "2015-02-17 13:41:04.306849"]]
|
38819
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38820
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38821
|
+
[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-02-17 13:41:04.309855"], ["updated_at", "2015-02-17 13:41:04.309855"]]
|
38822
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38823
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38824
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:04.311978"], ["updated_at", "2015-02-17 13:41:04.311978"]]
|
38825
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38826
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
38827
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
38828
|
+
|
38829
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.5ms
|
38830
|
+
|
38831
|
+
Sent mail to user16@sleede.com (1.8ms)
|
38832
|
+
Date: Tue, 17 Feb 2015 14:41:04 +0100
|
38833
|
+
From: contact@sleede.com
|
38834
|
+
To: user16@sleede.com
|
38835
|
+
Message-ID: <54e344f04d113_7c9a3fe2f1865bf01099e@pc12.home.mail>
|
38836
|
+
Subject: subject notify new message
|
38837
|
+
Mime-Version: 1.0
|
38838
|
+
Content-Type: text/html;
|
38839
|
+
charset=UTF-8
|
38840
|
+
Content-Transfer-Encoding: 7bit
|
38841
|
+
|
38842
|
+
<p>user16</p>
|
38843
|
+
<p>message body</p>
|
38844
|
+
|
38845
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38846
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38847
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38848
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:04.320087"], ["updated_at", "2015-02-17 13:41:04.320087"]]
|
38849
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38850
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38851
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-02-17 13:41:04.322218"], ["updated_at", "2015-02-17 13:41:04.322218"]]
|
38852
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38853
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38854
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:04.324309"], ["updated_at", "2015-02-17 13:41:04.324309"]]
|
38855
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38856
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: a2aed8ec-6c25-49e5-ab38-4c194d8debb0) to Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
38857
|
+
[ActiveJob] [1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
38858
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [a2aed8ec-6c25-49e5-ab38-4c194d8debb0] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
38859
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [a2aed8ec-6c25-49e5-ab38-4c194d8debb0] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
38860
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [a2aed8ec-6c25-49e5-ab38-4c194d8debb0] [1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
38861
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [a2aed8ec-6c25-49e5-ab38-4c194d8debb0] Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
38862
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [a2aed8ec-6c25-49e5-ab38-4c194d8debb0] [1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
38863
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [a2aed8ec-6c25-49e5-ab38-4c194d8debb0]
|
38864
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 4.9ms
|
38865
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [a2aed8ec-6c25-49e5-ab38-4c194d8debb0]
|
38866
|
+
Sent mail to user17@sleede.com (1.9ms)
|
38867
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [a2aed8ec-6c25-49e5-ab38-4c194d8debb0] Date: Tue, 17 Feb 2015 14:41:04 +0100
|
38868
|
+
From: contact@sleede.com
|
38869
|
+
To: user17@sleede.com
|
38870
|
+
Message-ID: <54e344f054996_7c9a3fe2f1865bf011029@pc12.home.mail>
|
38871
|
+
Subject: subject notify new message
|
38872
|
+
Mime-Version: 1.0
|
38873
|
+
Content-Type: text/html;
|
38874
|
+
charset=UTF-8
|
38875
|
+
Content-Transfer-Encoding: 7bit
|
38876
|
+
|
38877
|
+
<p>user17</p>
|
38878
|
+
<p>message body</p>
|
38879
|
+
|
38880
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [a2aed8ec-6c25-49e5-ab38-4c194d8debb0] Performed ActionMailer::DeliveryJob from Inline(mailers) in 7.16ms
|
38881
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38882
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38883
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38884
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:04.350075"], ["updated_at", "2015-02-17 13:41:04.350075"]]
|
38885
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38886
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38887
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-02-17 13:41:04.353565"], ["updated_at", "2015-02-17 13:41:04.353565"]]
|
38888
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38889
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
38890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38891
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38892
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:04.360954"], ["updated_at", "2015-02-17 13:41:04.360954"]]
|
38893
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38894
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38895
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-02-17 13:41:04.363111"], ["updated_at", "2015-02-17 13:41:04.363111"]]
|
38896
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38897
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
38898
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
38899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38900
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:04.366446"], ["updated_at", "2015-02-17 13:41:04.366446"]]
|
38901
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38902
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38903
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-02-17 13:41:04.368595"], ["updated_at", "2015-02-17 13:41:04.368595"]]
|
38904
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38905
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38906
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38907
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38908
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:04.372281"], ["updated_at", "2015-02-17 13:41:04.372281"]]
|
38909
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38910
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38911
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-02-17 13:41:04.374258"], ["updated_at", "2015-02-17 13:41:04.374258"]]
|
38912
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38913
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
38914
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38915
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:04.381248"], ["updated_at", "2015-02-17 13:41:04.381248"]]
|
38916
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38917
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
38918
|
+
[1m[36mNotification Load (0.1ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
38919
|
+
[1m[35mNotification Load (0.0ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
38920
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38921
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38922
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38923
|
+
[1m[35m (0.0ms)[0m begin transaction
|
38924
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
38925
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
38926
|
+
[1m[36m (8.5ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
38927
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
38928
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
38929
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
38930
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
38931
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
38932
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
38933
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
38934
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
38935
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
38936
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
38937
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38938
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38939
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-02-17 13:41:33.622185"], ["updated_at", "2015-02-17 13:41:33.622185"]]
|
38940
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38941
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38942
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:33.637248"], ["updated_at", "2015-02-17 13:41:33.637248"]]
|
38943
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38944
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38945
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "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-02-17 13:41:33.640750"], ["updated_at", "2015-02-17 13:41:33.640750"]]
|
38946
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38947
|
+
Processing by API::NotificationsController#index as JSON
|
38948
|
+
Rendered api/notifications/index.json.jbuilder (0.3ms)
|
38949
|
+
Completed 200 OK in 23ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
38950
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
38951
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38952
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38953
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-02-17 13:41:33.698515"], ["updated_at", "2015-02-17 13:41:33.698515"]]
|
38954
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38955
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38956
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:33.700492"], ["updated_at", "2015-02-17 13:41:33.700492"]]
|
38957
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38958
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38959
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:41:33.702063"], ["updated_at", "2015-02-17 13:41:33.702063"]]
|
38960
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38961
|
+
Processing by API::NotificationsController#index as JSON
|
38962
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
38963
|
+
[1m[36mMessage Load (0.1ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
38964
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.4ms)
|
38965
|
+
Rendered api/notifications/index.json.jbuilder (11.8ms)
|
38966
|
+
Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.2ms)
|
38967
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
38968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
38969
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38970
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@sleede.com"], ["name", "user3"], ["created_at", "2015-02-17 13:41:33.724710"], ["updated_at", "2015-02-17 13:41:33.724710"]]
|
38971
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38972
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
38973
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:33.726695"], ["updated_at", "2015-02-17 13:41:33.726695"]]
|
38974
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38975
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
38976
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:33.728263"], ["updated_at", "2015-02-17 13:41:33.728263"]]
|
38977
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
38978
|
+
Processing by API::NotificationsController#show as JSON
|
38979
|
+
Parameters: {"id"=>"1"}
|
38980
|
+
[1m[36mNotification Load (0.1ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
38981
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
38982
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
38983
|
+
Rendered api/notifications/show.json.jbuilder (2.4ms)
|
38984
|
+
Completed 200 OK in 9ms (Views: 3.5ms | ActiveRecord: 0.2ms)
|
38985
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
38986
|
+
[1m[35m (0.1ms)[0m begin transaction
|
38987
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38988
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-02-17 13:41:33.745284"], ["updated_at", "2015-02-17 13:41:33.745284"]]
|
38989
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38990
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
38991
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:33.749075"], ["updated_at", "2015-02-17 13:41:33.749075"]]
|
38992
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
38993
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38994
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "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-02-17 13:41:33.754546"], ["updated_at", "2015-02-17 13:41:33.754546"]]
|
38995
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
38996
|
+
Processing by API::NotificationsController#update as JSON
|
38997
|
+
Parameters: {"id"=>"1"}
|
38998
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
38999
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39000
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
39001
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
39002
|
+
Rendered api/notifications/show.json.jbuilder (1.5ms)
|
39003
|
+
Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)
|
39004
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39006
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39007
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-02-17 13:41:33.768272"], ["updated_at", "2015-02-17 13:41:33.768272"]]
|
39008
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39009
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39010
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:33.770494"], ["updated_at", "2015-02-17 13:41:33.770494"]]
|
39011
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39012
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39013
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:41:33.772329"], ["updated_at", "2015-02-17 13:41:33.772329"]]
|
39014
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39015
|
+
Processing by API::NotificationsController#update_all as JSON
|
39016
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."is_read" = 'f' ORDER BY "notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"]]
|
39017
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39018
|
+
Completed 204 No Content in 2ms (ActiveRecord: 0.2ms)
|
39019
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
39020
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39022
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39023
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-02-17 13:41:33.967841"], ["updated_at", "2015-02-17 13:41:33.967841"]]
|
39024
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39025
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39026
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:33.969714"], ["updated_at", "2015-02-17 13:41:33.969714"]]
|
39027
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39028
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39029
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "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-02-17 13:41:33.971606"], ["updated_at", "2015-02-17 13:41:33.971606"]]
|
39030
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39031
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39032
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39033
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39034
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-02-17 13:41:33.977580"], ["updated_at", "2015-02-17 13:41:33.977580"]]
|
39035
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39036
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39037
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:33.979453"], ["updated_at", "2015-02-17 13:41:33.979453"]]
|
39038
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39039
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39040
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:33.981643"], ["updated_at", "2015-02-17 13:41:33.981643"]]
|
39041
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39042
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.5ms)
|
39043
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39044
|
+
|
39045
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 15.4ms
|
39046
|
+
|
39047
|
+
Sent mail to user7@sleede.com (7.0ms)
|
39048
|
+
Date: Tue, 17 Feb 2015 14:41:34 +0100
|
39049
|
+
From: contact@sleede.com
|
39050
|
+
To: user7@sleede.com
|
39051
|
+
Message-ID: <54e3450ecd2_7de13ffd74c65be098365@pc12.home.mail>
|
39052
|
+
Subject: subject notify new message
|
39053
|
+
Mime-Version: 1.0
|
39054
|
+
Content-Type: text/html;
|
39055
|
+
charset=UTF-8
|
39056
|
+
Content-Transfer-Encoding: 7bit
|
39057
|
+
|
39058
|
+
<p>user7</p>
|
39059
|
+
<p>message body</p>
|
39060
|
+
|
39061
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39062
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39063
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39064
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@sleede.com"], ["name", "user8"], ["created_at", "2015-02-17 13:41:34.009652"], ["updated_at", "2015-02-17 13:41:34.009652"]]
|
39065
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39066
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39067
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:34.012945"], ["updated_at", "2015-02-17 13:41:34.012945"]]
|
39068
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39069
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39070
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:34.015658"], ["updated_at", "2015-02-17 13:41:34.015658"]]
|
39071
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39072
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
39073
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39074
|
+
|
39075
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.1ms
|
39076
|
+
|
39077
|
+
Sent mail to user8@sleede.com (1.4ms)
|
39078
|
+
Date: Tue, 17 Feb 2015 14:41:34 +0100
|
39079
|
+
From: contact@sleede.com
|
39080
|
+
To: user8@sleede.com
|
39081
|
+
Message-ID: <54e3450e4fc1_7de13ffd74c65be09842a@pc12.home.mail>
|
39082
|
+
Subject: subject notify new message
|
39083
|
+
Mime-Version: 1.0
|
39084
|
+
Content-Type: text/html;
|
39085
|
+
charset=UTF-8
|
39086
|
+
Content-Transfer-Encoding: 7bit
|
39087
|
+
|
39088
|
+
<p>user8</p>
|
39089
|
+
<p>message body</p>
|
39090
|
+
|
39091
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39092
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39093
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39094
|
+
[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-02-17 13:41:34.024011"], ["updated_at", "2015-02-17 13:41:34.024011"]]
|
39095
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39096
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39097
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:34.026393"], ["updated_at", "2015-02-17 13:41:34.026393"]]
|
39098
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39099
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39100
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "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-02-17 13:41:34.032359"], ["updated_at", "2015-02-17 13:41:34.032359"]]
|
39101
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39102
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
39103
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39104
|
+
|
39105
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 4.4ms
|
39106
|
+
|
39107
|
+
Sent mail to user9@sleede.com (3.0ms)
|
39108
|
+
Date: Tue, 17 Feb 2015 14:41:34 +0100
|
39109
|
+
From: contact@sleede.com
|
39110
|
+
To: user9@sleede.com
|
39111
|
+
Message-ID: <54e3450eeb41_7de13ffd74c65be09851e@pc12.home.mail>
|
39112
|
+
Subject: subject notify new message
|
39113
|
+
Mime-Version: 1.0
|
39114
|
+
Content-Type: text/html;
|
39115
|
+
charset=UTF-8
|
39116
|
+
Content-Transfer-Encoding: 7bit
|
39117
|
+
|
39118
|
+
<p>user9</p>
|
39119
|
+
<p>message body</p>
|
39120
|
+
|
39121
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39123
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39124
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user10@sleede.com"], ["name", "user10"], ["created_at", "2015-02-17 13:41:34.064445"], ["updated_at", "2015-02-17 13:41:34.064445"]]
|
39125
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39126
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39127
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:34.066192"], ["updated_at", "2015-02-17 13:41:34.066192"]]
|
39128
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39129
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39130
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:34.067737"], ["updated_at", "2015-02-17 13:41:34.067737"]]
|
39131
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39132
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
39133
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39134
|
+
|
39135
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.2ms
|
39136
|
+
|
39137
|
+
Sent mail to user10@sleede.com (1.5ms)
|
39138
|
+
Date: Tue, 17 Feb 2015 14:41:34 +0100
|
39139
|
+
From: contact@sleede.com
|
39140
|
+
To: user10@sleede.com
|
39141
|
+
Message-ID: <54e3450e113ee_7de13ffd74c65be098695@pc12.home.mail>
|
39142
|
+
Subject: subject notify new message
|
39143
|
+
Mime-Version: 1.0
|
39144
|
+
Content-Type: text/html;
|
39145
|
+
charset=UTF-8
|
39146
|
+
Content-Transfer-Encoding: 7bit
|
39147
|
+
|
39148
|
+
<p>user10</p>
|
39149
|
+
<p>message body</p>
|
39150
|
+
|
39151
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
39152
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39153
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39154
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:34.081430"], ["updated_at", "2015-02-17 13:41:34.081430"]]
|
39155
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39156
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
39157
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-02-17 13:41:34.083534"], ["updated_at", "2015-02-17 13:41:34.083534"]]
|
39158
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39159
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39160
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:34.086374"], ["updated_at", "2015-02-17 13:41:34.086374"]]
|
39161
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39162
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
39163
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39164
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39165
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:34.090611"], ["updated_at", "2015-02-17 13:41:34.090611"]]
|
39166
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39167
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39168
|
+
[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-02-17 13:41:34.092430"], ["updated_at", "2015-02-17 13:41:34.092430"]]
|
39169
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39170
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39171
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39172
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39173
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:34.097624"], ["updated_at", "2015-02-17 13:41:34.097624"]]
|
39174
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39175
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39176
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-02-17 13:41:34.099390"], ["updated_at", "2015-02-17 13:41:34.099390"]]
|
39177
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39178
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39179
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39180
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39181
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:34.104340"], ["updated_at", "2015-02-17 13:41:34.104340"]]
|
39182
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39183
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39184
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user14@sleede.com"], ["name", "user14"], ["created_at", "2015-02-17 13:41:34.106068"], ["updated_at", "2015-02-17 13:41:34.106068"]]
|
39185
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39186
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39187
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39188
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39189
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:34.113035"], ["updated_at", "2015-02-17 13:41:34.113035"]]
|
39190
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39191
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39192
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-02-17 13:41:34.116472"], ["updated_at", "2015-02-17 13:41:34.116472"]]
|
39193
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39194
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39195
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:34.119729"], ["updated_at", "2015-02-17 13:41:34.119729"]]
|
39196
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39197
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
39198
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39199
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39201
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:34.122874"], ["updated_at", "2015-02-17 13:41:34.122874"]]
|
39202
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39203
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39204
|
+
[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-02-17 13:41:34.124485"], ["updated_at", "2015-02-17 13:41:34.124485"]]
|
39205
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39206
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39207
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:34.126512"], ["updated_at", "2015-02-17 13:41:34.126512"]]
|
39208
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39209
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
39210
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
39211
|
+
|
39212
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.2ms
|
39213
|
+
|
39214
|
+
Sent mail to user16@sleede.com (1.9ms)
|
39215
|
+
Date: Tue, 17 Feb 2015 14:41:34 +0100
|
39216
|
+
From: contact@sleede.com
|
39217
|
+
To: user16@sleede.com
|
39218
|
+
Message-ID: <54e3450e1fb95_7de13ffd74c65be0987ec@pc12.home.mail>
|
39219
|
+
Subject: subject notify new message
|
39220
|
+
Mime-Version: 1.0
|
39221
|
+
Content-Type: text/html;
|
39222
|
+
charset=UTF-8
|
39223
|
+
Content-Transfer-Encoding: 7bit
|
39224
|
+
|
39225
|
+
<p>user16</p>
|
39226
|
+
<p>message body</p>
|
39227
|
+
|
39228
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
39229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39230
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39231
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:34.134363"], ["updated_at", "2015-02-17 13:41:34.134363"]]
|
39232
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39233
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39234
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-02-17 13:41:34.135998"], ["updated_at", "2015-02-17 13:41:34.135998"]]
|
39235
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39236
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39237
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:34.138229"], ["updated_at", "2015-02-17 13:41:34.138229"]]
|
39238
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39239
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 507f52ae-8d8f-4013-b62d-ab107171886b) to Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
39240
|
+
[ActiveJob] [1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
39241
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [507f52ae-8d8f-4013-b62d-ab107171886b] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
39242
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [507f52ae-8d8f-4013-b62d-ab107171886b] [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
39243
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [507f52ae-8d8f-4013-b62d-ab107171886b] [1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
39244
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [507f52ae-8d8f-4013-b62d-ab107171886b] Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
39245
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [507f52ae-8d8f-4013-b62d-ab107171886b] [1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39246
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [507f52ae-8d8f-4013-b62d-ab107171886b]
|
39247
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 6.1ms
|
39248
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [507f52ae-8d8f-4013-b62d-ab107171886b]
|
39249
|
+
Sent mail to user17@sleede.com (3.7ms)
|
39250
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [507f52ae-8d8f-4013-b62d-ab107171886b] Date: Tue, 17 Feb 2015 14:41:34 +0100
|
39251
|
+
From: contact@sleede.com
|
39252
|
+
To: user17@sleede.com
|
39253
|
+
Message-ID: <54e3450e2930c_7de13ffd74c65be0988b4@pc12.home.mail>
|
39254
|
+
Subject: subject notify new message
|
39255
|
+
Mime-Version: 1.0
|
39256
|
+
Content-Type: text/html;
|
39257
|
+
charset=UTF-8
|
39258
|
+
Content-Transfer-Encoding: 7bit
|
39259
|
+
|
39260
|
+
<p>user17</p>
|
39261
|
+
<p>message body</p>
|
39262
|
+
|
39263
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [507f52ae-8d8f-4013-b62d-ab107171886b] Performed ActionMailer::DeliveryJob from Inline(mailers) in 10.22ms
|
39264
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39265
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39266
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39267
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:34.173459"], ["updated_at", "2015-02-17 13:41:34.173459"]]
|
39268
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39269
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39270
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-02-17 13:41:34.176630"], ["updated_at", "2015-02-17 13:41:34.176630"]]
|
39271
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39272
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39274
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39275
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:34.180161"], ["updated_at", "2015-02-17 13:41:34.180161"]]
|
39276
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39277
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39278
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-02-17 13:41:34.181697"], ["updated_at", "2015-02-17 13:41:34.181697"]]
|
39279
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39280
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39281
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39282
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39283
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:34.185625"], ["updated_at", "2015-02-17 13:41:34.185625"]]
|
39284
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39285
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39286
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-02-17 13:41:34.187185"], ["updated_at", "2015-02-17 13:41:34.187185"]]
|
39287
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39288
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39289
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39290
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39291
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:34.190706"], ["updated_at", "2015-02-17 13:41:34.190706"]]
|
39292
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39293
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39294
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-02-17 13:41:34.192405"], ["updated_at", "2015-02-17 13:41:34.192405"]]
|
39295
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39296
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39297
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:34.195754"], ["updated_at", "2015-02-17 13:41:34.195754"]]
|
39298
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39299
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
39300
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
39301
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39302
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39303
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
39304
|
+
[1m[35mNotification Load (0.0ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
39305
|
+
[1m[36mNotification Load (0.0ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ?[0m [["receiver_id", 1], ["receiver_type", "User"]]
|
39306
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
39307
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39308
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39309
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39310
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
39311
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
39312
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
39313
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
39314
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
39315
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
39316
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
39317
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
39318
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
39319
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
39320
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
39321
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
39322
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
39323
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39324
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39325
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-02-17 13:41:58.735939"], ["updated_at", "2015-02-17 13:41:58.735939"]]
|
39326
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39327
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39328
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:58.750378"], ["updated_at", "2015-02-17 13:41:58.750378"]]
|
39329
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39330
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39331
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "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-02-17 13:41:58.753442"], ["updated_at", "2015-02-17 13:41:58.753442"]]
|
39332
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39333
|
+
Processing by API::NotificationsController#index as JSON
|
39334
|
+
Rendered api/notifications/index.json.jbuilder (0.3ms)
|
39335
|
+
Completed 200 OK in 26ms (Views: 10.8ms | ActiveRecord: 0.0ms)
|
39336
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39337
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39338
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39339
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-02-17 13:41:58.803555"], ["updated_at", "2015-02-17 13:41:58.803555"]]
|
39340
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39341
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39342
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:58.805733"], ["updated_at", "2015-02-17 13:41:58.805733"]]
|
39343
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39344
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39345
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:41:58.807524"], ["updated_at", "2015-02-17 13:41:58.807524"]]
|
39346
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39347
|
+
Processing by API::NotificationsController#index as JSON
|
39348
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
39349
|
+
[1m[36mMessage Load (0.1ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
39350
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.5ms)
|
39351
|
+
Rendered api/notifications/index.json.jbuilder (13.7ms)
|
39352
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.2ms)
|
39353
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
39354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39355
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39356
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@sleede.com"], ["name", "user3"], ["created_at", "2015-02-17 13:41:58.832585"], ["updated_at", "2015-02-17 13:41:58.832585"]]
|
39357
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39358
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39359
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:58.834781"], ["updated_at", "2015-02-17 13:41:58.834781"]]
|
39360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39361
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39362
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:58.836992"], ["updated_at", "2015-02-17 13:41:58.836992"]]
|
39363
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39364
|
+
Processing by API::NotificationsController#show as JSON
|
39365
|
+
Parameters: {"id"=>"1"}
|
39366
|
+
[1m[36mNotification Load (0.1ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
39367
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
39368
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
39369
|
+
Rendered api/notifications/show.json.jbuilder (2.8ms)
|
39370
|
+
Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
39371
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
39372
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39373
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39374
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-02-17 13:41:58.857827"], ["updated_at", "2015-02-17 13:41:58.857827"]]
|
39375
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39376
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39377
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:58.861315"], ["updated_at", "2015-02-17 13:41:58.861315"]]
|
39378
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39379
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39380
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:41:58.863296"], ["updated_at", "2015-02-17 13:41:58.863296"]]
|
39381
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39382
|
+
Processing by API::NotificationsController#update as JSON
|
39383
|
+
Parameters: {"id"=>"1"}
|
39384
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
39385
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39386
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
39387
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
39388
|
+
Rendered api/notifications/show.json.jbuilder (1.3ms)
|
39389
|
+
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)
|
39390
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39391
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39392
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39393
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-02-17 13:41:58.884846"], ["updated_at", "2015-02-17 13:41:58.884846"]]
|
39394
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39395
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39396
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:58.886908"], ["updated_at", "2015-02-17 13:41:58.886908"]]
|
39397
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39398
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39399
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:41:58.888660"], ["updated_at", "2015-02-17 13:41:58.888660"]]
|
39400
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39401
|
+
Processing by API::NotificationsController#update_all as JSON
|
39402
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."is_read" = 'f' ORDER BY "notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"]]
|
39403
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39404
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
|
39405
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
39406
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39407
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39408
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39409
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-02-17 13:41:59.070027"], ["updated_at", "2015-02-17 13:41:59.070027"]]
|
39410
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39411
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39412
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:59.071900"], ["updated_at", "2015-02-17 13:41:59.071900"]]
|
39413
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39414
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39415
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:41:59.073577"], ["updated_at", "2015-02-17 13:41:59.073577"]]
|
39416
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39417
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39418
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39419
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39420
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-02-17 13:41:59.079130"], ["updated_at", "2015-02-17 13:41:59.079130"]]
|
39421
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39422
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39423
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:59.081069"], ["updated_at", "2015-02-17 13:41:59.081069"]]
|
39424
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39425
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39426
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:59.083130"], ["updated_at", "2015-02-17 13:41:59.083130"]]
|
39427
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39428
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.5ms)
|
39429
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39430
|
+
|
39431
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 15.6ms
|
39432
|
+
|
39433
|
+
Sent mail to user7@sleede.com (7.4ms)
|
39434
|
+
Date: Tue, 17 Feb 2015 14:41:59 +0100
|
39435
|
+
From: contact@sleede.com
|
39436
|
+
To: user7@sleede.com
|
39437
|
+
Message-ID: <54e3452719c43_7e223fdb34865bec12528@pc12.home.mail>
|
39438
|
+
Subject: subject notify new message
|
39439
|
+
Mime-Version: 1.0
|
39440
|
+
Content-Type: text/html;
|
39441
|
+
charset=UTF-8
|
39442
|
+
Content-Transfer-Encoding: 7bit
|
39443
|
+
|
39444
|
+
<p>user7</p>
|
39445
|
+
<p>message body</p>
|
39446
|
+
|
39447
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39448
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39449
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39450
|
+
[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-02-17 13:41:59.111494"], ["updated_at", "2015-02-17 13:41:59.111494"]]
|
39451
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39452
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39453
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:59.115320"], ["updated_at", "2015-02-17 13:41:59.115320"]]
|
39454
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39455
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39456
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:59.118483"], ["updated_at", "2015-02-17 13:41:59.118483"]]
|
39457
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39458
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
39459
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39460
|
+
|
39461
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.4ms
|
39462
|
+
|
39463
|
+
Sent mail to user8@sleede.com (2.2ms)
|
39464
|
+
Date: Tue, 17 Feb 2015 14:41:59 +0100
|
39465
|
+
From: contact@sleede.com
|
39466
|
+
To: user8@sleede.com
|
39467
|
+
Message-ID: <54e345271e412_7e223fdb34865bec12660@pc12.home.mail>
|
39468
|
+
Subject: subject notify new message
|
39469
|
+
Mime-Version: 1.0
|
39470
|
+
Content-Type: text/html;
|
39471
|
+
charset=UTF-8
|
39472
|
+
Content-Transfer-Encoding: 7bit
|
39473
|
+
|
39474
|
+
<p>user8</p>
|
39475
|
+
<p>message body</p>
|
39476
|
+
|
39477
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39479
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39480
|
+
[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-02-17 13:41:59.129317"], ["updated_at", "2015-02-17 13:41:59.129317"]]
|
39481
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39482
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39483
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:59.132055"], ["updated_at", "2015-02-17 13:41:59.132055"]]
|
39484
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39485
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39486
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:59.135352"], ["updated_at", "2015-02-17 13:41:59.135352"]]
|
39487
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39488
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
39489
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39490
|
+
|
39491
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.4ms
|
39492
|
+
|
39493
|
+
Sent mail to user9@sleede.com (1.4ms)
|
39494
|
+
Date: Tue, 17 Feb 2015 14:41:59 +0100
|
39495
|
+
From: contact@sleede.com
|
39496
|
+
To: user9@sleede.com
|
39497
|
+
Message-ID: <54e345272212c_7e223fdb34865bec127cb@pc12.home.mail>
|
39498
|
+
Subject: subject notify new message
|
39499
|
+
Mime-Version: 1.0
|
39500
|
+
Content-Type: text/html;
|
39501
|
+
charset=UTF-8
|
39502
|
+
Content-Transfer-Encoding: 7bit
|
39503
|
+
|
39504
|
+
<p>user9</p>
|
39505
|
+
<p>message body</p>
|
39506
|
+
|
39507
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39508
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39509
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39510
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user10@sleede.com"], ["name", "user10"], ["created_at", "2015-02-17 13:41:59.143142"], ["updated_at", "2015-02-17 13:41:59.143142"]]
|
39511
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39512
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39513
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:59.144835"], ["updated_at", "2015-02-17 13:41:59.144835"]]
|
39514
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39515
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39516
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:41:59.146408"], ["updated_at", "2015-02-17 13:41:59.146408"]]
|
39517
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39518
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
39519
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39520
|
+
|
39521
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.3ms
|
39522
|
+
|
39523
|
+
Sent mail to user10@sleede.com (1.3ms)
|
39524
|
+
Date: Tue, 17 Feb 2015 14:41:59 +0100
|
39525
|
+
From: contact@sleede.com
|
39526
|
+
To: user10@sleede.com
|
39527
|
+
Message-ID: <54e3452724755_7e223fdb34865bec128b7@pc12.home.mail>
|
39528
|
+
Subject: subject notify new message
|
39529
|
+
Mime-Version: 1.0
|
39530
|
+
Content-Type: text/html;
|
39531
|
+
charset=UTF-8
|
39532
|
+
Content-Transfer-Encoding: 7bit
|
39533
|
+
|
39534
|
+
<p>user10</p>
|
39535
|
+
<p>message body</p>
|
39536
|
+
|
39537
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39538
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39539
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39540
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:59.159650"], ["updated_at", "2015-02-17 13:41:59.159650"]]
|
39541
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39543
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-02-17 13:41:59.161121"], ["updated_at", "2015-02-17 13:41:59.161121"]]
|
39544
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39545
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39546
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:59.163029"], ["updated_at", "2015-02-17 13:41:59.163029"]]
|
39547
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39548
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
39549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39550
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39551
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:59.165672"], ["updated_at", "2015-02-17 13:41:59.165672"]]
|
39552
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39553
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39554
|
+
[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-02-17 13:41:59.167137"], ["updated_at", "2015-02-17 13:41:59.167137"]]
|
39555
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39556
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39557
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39558
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39559
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:59.174403"], ["updated_at", "2015-02-17 13:41:59.174403"]]
|
39560
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39561
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39562
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-02-17 13:41:59.176786"], ["updated_at", "2015-02-17 13:41:59.176786"]]
|
39563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39564
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39565
|
+
[1m[35m (0.2ms)[0m begin transaction
|
39566
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39567
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:59.183075"], ["updated_at", "2015-02-17 13:41:59.183075"]]
|
39568
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39569
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39570
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user14@sleede.com"], ["name", "user14"], ["created_at", "2015-02-17 13:41:59.185701"], ["updated_at", "2015-02-17 13:41:59.185701"]]
|
39571
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39572
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39573
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39574
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39575
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:59.192193"], ["updated_at", "2015-02-17 13:41:59.192193"]]
|
39576
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39577
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39578
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-02-17 13:41:59.193892"], ["updated_at", "2015-02-17 13:41:59.193892"]]
|
39579
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39580
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39581
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:59.196415"], ["updated_at", "2015-02-17 13:41:59.196415"]]
|
39582
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39583
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
39584
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39585
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39586
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39587
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:59.200178"], ["updated_at", "2015-02-17 13:41:59.200178"]]
|
39588
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39589
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39590
|
+
[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-02-17 13:41:59.201806"], ["updated_at", "2015-02-17 13:41:59.201806"]]
|
39591
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39592
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39593
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:59.203728"], ["updated_at", "2015-02-17 13:41:59.203728"]]
|
39594
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39595
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
39596
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
39597
|
+
|
39598
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.5ms
|
39599
|
+
|
39600
|
+
Sent mail to user16@sleede.com (1.5ms)
|
39601
|
+
Date: Tue, 17 Feb 2015 14:41:59 +0100
|
39602
|
+
From: contact@sleede.com
|
39603
|
+
To: user16@sleede.com
|
39604
|
+
Message-ID: <54e34527328e6_7e223fdb34865bec12957@pc12.home.mail>
|
39605
|
+
Subject: subject notify new message
|
39606
|
+
Mime-Version: 1.0
|
39607
|
+
Content-Type: text/html;
|
39608
|
+
charset=UTF-8
|
39609
|
+
Content-Transfer-Encoding: 7bit
|
39610
|
+
|
39611
|
+
<p>user16</p>
|
39612
|
+
<p>message body</p>
|
39613
|
+
|
39614
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39615
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39616
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39617
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:41:59.211630"], ["updated_at", "2015-02-17 13:41:59.211630"]]
|
39618
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39619
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39620
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-02-17 13:41:59.213471"], ["updated_at", "2015-02-17 13:41:59.213471"]]
|
39621
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39622
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39623
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:59.215577"], ["updated_at", "2015-02-17 13:41:59.215577"]]
|
39624
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39625
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 86d693e3-601c-4f4f-9113-f53d504921b0) to Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
39626
|
+
[ActiveJob] [1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
39627
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [86d693e3-601c-4f4f-9113-f53d504921b0] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
39628
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [86d693e3-601c-4f4f-9113-f53d504921b0] [1m[36mUser Load (0.8ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
39629
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [86d693e3-601c-4f4f-9113-f53d504921b0] [1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
39630
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [86d693e3-601c-4f4f-9113-f53d504921b0] Rendered notifications_mailer/notify_new_message.html.erb (0.2ms)
|
39631
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [86d693e3-601c-4f4f-9113-f53d504921b0] [1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39632
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [86d693e3-601c-4f4f-9113-f53d504921b0]
|
39633
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 6.9ms
|
39634
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [86d693e3-601c-4f4f-9113-f53d504921b0]
|
39635
|
+
Sent mail to user17@sleede.com (1.6ms)
|
39636
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [86d693e3-601c-4f4f-9113-f53d504921b0] Date: Tue, 17 Feb 2015 14:41:59 +0100
|
39637
|
+
From: contact@sleede.com
|
39638
|
+
To: user17@sleede.com
|
39639
|
+
Message-ID: <54e345273ba07_7e223fdb34865bec130a1@pc12.home.mail>
|
39640
|
+
Subject: subject notify new message
|
39641
|
+
Mime-Version: 1.0
|
39642
|
+
Content-Type: text/html;
|
39643
|
+
charset=UTF-8
|
39644
|
+
Content-Transfer-Encoding: 7bit
|
39645
|
+
|
39646
|
+
<p>user17</p>
|
39647
|
+
<p>message body</p>
|
39648
|
+
|
39649
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [86d693e3-601c-4f4f-9113-f53d504921b0] Performed ActionMailer::DeliveryJob from Inline(mailers) in 8.88ms
|
39650
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39651
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39652
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39653
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:59.248005"], ["updated_at", "2015-02-17 13:41:59.248005"]]
|
39654
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39655
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39656
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-02-17 13:41:59.249670"], ["updated_at", "2015-02-17 13:41:59.249670"]]
|
39657
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39658
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39660
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39661
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:59.253136"], ["updated_at", "2015-02-17 13:41:59.253136"]]
|
39662
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39663
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39664
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-02-17 13:41:59.255949"], ["updated_at", "2015-02-17 13:41:59.255949"]]
|
39665
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39666
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39667
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39668
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39669
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:59.260095"], ["updated_at", "2015-02-17 13:41:59.260095"]]
|
39670
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39671
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39672
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-02-17 13:41:59.261798"], ["updated_at", "2015-02-17 13:41:59.261798"]]
|
39673
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39674
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39675
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
39676
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39677
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:41:59.265218"], ["updated_at", "2015-02-17 13:41:59.265218"]]
|
39678
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39679
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39680
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-02-17 13:41:59.266802"], ["updated_at", "2015-02-17 13:41:59.266802"]]
|
39681
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39682
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
39683
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39684
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:41:59.273743"], ["updated_at", "2015-02-17 13:41:59.273743"]]
|
39685
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39686
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
39687
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39688
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39689
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39690
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39691
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
39692
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
39693
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
39694
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
39695
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
39696
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
39697
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
39698
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
39699
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
39700
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
39701
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
39702
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
39703
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
39704
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39705
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39706
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-02-17 13:44:39.664476"], ["updated_at", "2015-02-17 13:44:39.664476"]]
|
39707
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39708
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39709
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:39.679678"], ["updated_at", "2015-02-17 13:44:39.679678"]]
|
39710
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39711
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39712
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:44:39.683059"], ["updated_at", "2015-02-17 13:44:39.683059"]]
|
39713
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39714
|
+
Processing by API::NotificationsController#index as JSON
|
39715
|
+
Rendered api/notifications/index.json.jbuilder (0.3ms)
|
39716
|
+
Completed 200 OK in 19ms (Views: 8.7ms | ActiveRecord: 0.0ms)
|
39717
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
39718
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39719
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39720
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-02-17 13:44:39.722402"], ["updated_at", "2015-02-17 13:44:39.722402"]]
|
39721
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39722
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39723
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:44:39.724509"], ["updated_at", "2015-02-17 13:44:39.724509"]]
|
39724
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39725
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39726
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:44:39.726206"], ["updated_at", "2015-02-17 13:44:39.726206"]]
|
39727
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39728
|
+
Processing by API::NotificationsController#index as JSON
|
39729
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
39730
|
+
[1m[36mMessage Load (0.1ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
39731
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.4ms)
|
39732
|
+
Rendered api/notifications/index.json.jbuilder (13.7ms)
|
39733
|
+
Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 0.3ms)
|
39734
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39736
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39737
|
+
[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-02-17 13:44:39.750576"], ["updated_at", "2015-02-17 13:44:39.750576"]]
|
39738
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39739
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39740
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:39.752706"], ["updated_at", "2015-02-17 13:44:39.752706"]]
|
39741
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39742
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39743
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:44:39.754481"], ["updated_at", "2015-02-17 13:44:39.754481"]]
|
39744
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39745
|
+
Processing by API::NotificationsController#show as JSON
|
39746
|
+
Parameters: {"id"=>"1"}
|
39747
|
+
[1m[36mNotification Load (0.2ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
39748
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
39749
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
39750
|
+
Rendered api/notifications/show.json.jbuilder (1.9ms)
|
39751
|
+
Completed 200 OK in 9ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
39752
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39753
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39755
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-02-17 13:44:39.772551"], ["updated_at", "2015-02-17 13:44:39.772551"]]
|
39756
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39757
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39758
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:44:39.774560"], ["updated_at", "2015-02-17 13:44:39.774560"]]
|
39759
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39760
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39761
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:44:39.776399"], ["updated_at", "2015-02-17 13:44:39.776399"]]
|
39762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39763
|
+
Processing by API::NotificationsController#update as JSON
|
39764
|
+
Parameters: {"id"=>"1"}
|
39765
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
39766
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39767
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
39768
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
39769
|
+
Rendered api/notifications/show.json.jbuilder (1.4ms)
|
39770
|
+
Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.2ms)
|
39771
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39772
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39774
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-02-17 13:44:39.788965"], ["updated_at", "2015-02-17 13:44:39.788965"]]
|
39775
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39776
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39777
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:44:39.791234"], ["updated_at", "2015-02-17 13:44:39.791234"]]
|
39778
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39779
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39780
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:44:39.793222"], ["updated_at", "2015-02-17 13:44:39.793222"]]
|
39781
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39782
|
+
Processing by API::NotificationsController#update_all as JSON
|
39783
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."is_read" = 'f' ORDER BY "notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"]]
|
39784
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39785
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
|
39786
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
39787
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39788
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39789
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
39790
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-02-17 13:44:40.047786"], ["updated_at", "2015-02-17 13:44:40.047786"]]
|
39791
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39792
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
39793
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:44:40.052395"], ["updated_at", "2015-02-17 13:44:40.052395"]]
|
39794
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
39795
|
+
[1m[36m (5.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
39796
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "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-02-17 13:44:40.081658"], ["updated_at", "2015-02-17 13:44:40.081658"]]
|
39797
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39798
|
+
[1m[35m (2.0ms)[0m rollback transaction
|
39799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39800
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39801
|
+
[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-02-17 13:44:40.091843"], ["updated_at", "2015-02-17 13:44:40.091843"]]
|
39802
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39803
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39804
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.093770"], ["updated_at", "2015-02-17 13:44:40.093770"]]
|
39805
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39806
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39807
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:44:40.095548"], ["updated_at", "2015-02-17 13:44:40.095548"]]
|
39808
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39809
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.5ms)
|
39810
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39811
|
+
|
39812
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 13.8ms
|
39813
|
+
|
39814
|
+
Sent mail to user7@sleede.com (6.1ms)
|
39815
|
+
Date: Tue, 17 Feb 2015 14:44:40 +0100
|
39816
|
+
From: contact@sleede.com
|
39817
|
+
To: user7@sleede.com
|
39818
|
+
Message-ID: <54e345c81c247_82283fc275465c1878831@pc12.home.mail>
|
39819
|
+
Subject: subject notify new message
|
39820
|
+
Mime-Version: 1.0
|
39821
|
+
Content-Type: text/html;
|
39822
|
+
charset=UTF-8
|
39823
|
+
Content-Transfer-Encoding: 7bit
|
39824
|
+
|
39825
|
+
<p>user7</p>
|
39826
|
+
<p>message body</p>
|
39827
|
+
|
39828
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
39829
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39830
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39831
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@sleede.com"], ["name", "user8"], ["created_at", "2015-02-17 13:44:40.120895"], ["updated_at", "2015-02-17 13:44:40.120895"]]
|
39832
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39833
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39834
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.122835"], ["updated_at", "2015-02-17 13:44:40.122835"]]
|
39835
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39837
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:44:40.124532"], ["updated_at", "2015-02-17 13:44:40.124532"]]
|
39838
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39839
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
39840
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39841
|
+
|
39842
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.6ms
|
39843
|
+
|
39844
|
+
Sent mail to user8@sleede.com (2.5ms)
|
39845
|
+
Date: Tue, 17 Feb 2015 14:44:40 +0100
|
39846
|
+
From: contact@sleede.com
|
39847
|
+
To: user8@sleede.com
|
39848
|
+
Message-ID: <54e345c81fe1e_82283fc275465c187893e@pc12.home.mail>
|
39849
|
+
Subject: subject notify new message
|
39850
|
+
Mime-Version: 1.0
|
39851
|
+
Content-Type: text/html;
|
39852
|
+
charset=UTF-8
|
39853
|
+
Content-Transfer-Encoding: 7bit
|
39854
|
+
|
39855
|
+
<p>user8</p>
|
39856
|
+
<p>message body</p>
|
39857
|
+
|
39858
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
39859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39860
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39861
|
+
[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-02-17 13:44:40.135468"], ["updated_at", "2015-02-17 13:44:40.135468"]]
|
39862
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39863
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39864
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.137503"], ["updated_at", "2015-02-17 13:44:40.137503"]]
|
39865
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39866
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39867
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:44:40.139302"], ["updated_at", "2015-02-17 13:44:40.139302"]]
|
39868
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39869
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
39870
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39871
|
+
|
39872
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.3ms
|
39873
|
+
|
39874
|
+
Sent mail to user9@sleede.com (1.6ms)
|
39875
|
+
Date: Tue, 17 Feb 2015 14:44:40 +0100
|
39876
|
+
From: contact@sleede.com
|
39877
|
+
To: user9@sleede.com
|
39878
|
+
Message-ID: <54e345c822cb8_82283fc275465c1879029@pc12.home.mail>
|
39879
|
+
Subject: subject notify new message
|
39880
|
+
Mime-Version: 1.0
|
39881
|
+
Content-Type: text/html;
|
39882
|
+
charset=UTF-8
|
39883
|
+
Content-Transfer-Encoding: 7bit
|
39884
|
+
|
39885
|
+
<p>user9</p>
|
39886
|
+
<p>message body</p>
|
39887
|
+
|
39888
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39889
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39890
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39891
|
+
[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-02-17 13:44:40.146957"], ["updated_at", "2015-02-17 13:44:40.146957"]]
|
39892
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39893
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39894
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.149174"], ["updated_at", "2015-02-17 13:44:40.149174"]]
|
39895
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39896
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39897
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:44:40.151247"], ["updated_at", "2015-02-17 13:44:40.151247"]]
|
39898
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39899
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
39900
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
39901
|
+
|
39902
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.3ms
|
39903
|
+
|
39904
|
+
Sent mail to user10@sleede.com (2.0ms)
|
39905
|
+
Date: Tue, 17 Feb 2015 14:44:40 +0100
|
39906
|
+
From: contact@sleede.com
|
39907
|
+
To: user10@sleede.com
|
39908
|
+
Message-ID: <54e345c825b35_82283fc275465c18791e1@pc12.home.mail>
|
39909
|
+
Subject: subject notify new message
|
39910
|
+
Mime-Version: 1.0
|
39911
|
+
Content-Type: text/html;
|
39912
|
+
charset=UTF-8
|
39913
|
+
Content-Transfer-Encoding: 7bit
|
39914
|
+
|
39915
|
+
<p>user10</p>
|
39916
|
+
<p>message body</p>
|
39917
|
+
|
39918
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
39919
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39920
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39921
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:44:40.166176"], ["updated_at", "2015-02-17 13:44:40.166176"]]
|
39922
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39923
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39924
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-02-17 13:44:40.169215"], ["updated_at", "2015-02-17 13:44:40.169215"]]
|
39925
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39926
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39927
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:44:40.173191"], ["updated_at", "2015-02-17 13:44:40.173191"]]
|
39928
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39929
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
39930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39931
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39932
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.178645"], ["updated_at", "2015-02-17 13:44:40.178645"]]
|
39933
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39934
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39935
|
+
[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-02-17 13:44:40.180381"], ["updated_at", "2015-02-17 13:44:40.180381"]]
|
39936
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39937
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39938
|
+
[1m[35m (0.6ms)[0m begin transaction
|
39939
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39940
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.186668"], ["updated_at", "2015-02-17 13:44:40.186668"]]
|
39941
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39942
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39943
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-02-17 13:44:40.188453"], ["updated_at", "2015-02-17 13:44:40.188453"]]
|
39944
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39945
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
39946
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39947
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39948
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.194020"], ["updated_at", "2015-02-17 13:44:40.194020"]]
|
39949
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39950
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39951
|
+
[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-02-17 13:44:40.195666"], ["updated_at", "2015-02-17 13:44:40.195666"]]
|
39952
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39953
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39954
|
+
[1m[35m (0.0ms)[0m begin transaction
|
39955
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
39956
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.200125"], ["updated_at", "2015-02-17 13:44:40.200125"]]
|
39957
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39958
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
39959
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-02-17 13:44:40.201777"], ["updated_at", "2015-02-17 13:44:40.201777"]]
|
39960
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39961
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
39962
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:44:40.208140"], ["updated_at", "2015-02-17 13:44:40.208140"]]
|
39963
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39964
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
39965
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
39966
|
+
[1m[35m (0.3ms)[0m begin transaction
|
39967
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39968
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.221966"], ["updated_at", "2015-02-17 13:44:40.221966"]]
|
39969
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39970
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
39971
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user16@sleede.com"], ["name", "user16"], ["created_at", "2015-02-17 13:44:40.225117"], ["updated_at", "2015-02-17 13:44:40.225117"]]
|
39972
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
39973
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39974
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:44:40.229011"], ["updated_at", "2015-02-17 13:44:40.229011"]]
|
39975
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
39976
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
39977
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
39978
|
+
|
39979
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.4ms
|
39980
|
+
|
39981
|
+
Sent mail to user16@sleede.com (1.4ms)
|
39982
|
+
Date: Tue, 17 Feb 2015 14:44:40 +0100
|
39983
|
+
From: contact@sleede.com
|
39984
|
+
To: user16@sleede.com
|
39985
|
+
Message-ID: <54e345c838cd1_82283fc275465c18792f@pc12.home.mail>
|
39986
|
+
Subject: subject notify new message
|
39987
|
+
Mime-Version: 1.0
|
39988
|
+
Content-Type: text/html;
|
39989
|
+
charset=UTF-8
|
39990
|
+
Content-Transfer-Encoding: 7bit
|
39991
|
+
|
39992
|
+
<p>user16</p>
|
39993
|
+
<p>message body</p>
|
39994
|
+
|
39995
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
39996
|
+
[1m[35m (0.2ms)[0m begin transaction
|
39997
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
39998
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.237603"], ["updated_at", "2015-02-17 13:44:40.237603"]]
|
39999
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40000
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40001
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-02-17 13:44:40.239454"], ["updated_at", "2015-02-17 13:44:40.239454"]]
|
40002
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40003
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40004
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:44:40.242131"], ["updated_at", "2015-02-17 13:44:40.242131"]]
|
40005
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40006
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 1d86452d-ea58-4066-aebf-0daf1f4274a4) to Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
40007
|
+
[ActiveJob] [1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
40008
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [1d86452d-ea58-4066-aebf-0daf1f4274a4] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
40009
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [1d86452d-ea58-4066-aebf-0daf1f4274a4] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
40010
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [1d86452d-ea58-4066-aebf-0daf1f4274a4] [1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
40011
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [1d86452d-ea58-4066-aebf-0daf1f4274a4] Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
40012
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [1d86452d-ea58-4066-aebf-0daf1f4274a4] [1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40013
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [1d86452d-ea58-4066-aebf-0daf1f4274a4]
|
40014
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 4.2ms
|
40015
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [1d86452d-ea58-4066-aebf-0daf1f4274a4]
|
40016
|
+
Sent mail to user17@sleede.com (3.1ms)
|
40017
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [1d86452d-ea58-4066-aebf-0daf1f4274a4] Date: Tue, 17 Feb 2015 14:44:40 +0100
|
40018
|
+
From: contact@sleede.com
|
40019
|
+
To: user17@sleede.com
|
40020
|
+
Message-ID: <54e345c841fbd_82283fc275465c18793b2@pc12.home.mail>
|
40021
|
+
Subject: subject notify new message
|
40022
|
+
Mime-Version: 1.0
|
40023
|
+
Content-Type: text/html;
|
40024
|
+
charset=UTF-8
|
40025
|
+
Content-Transfer-Encoding: 7bit
|
40026
|
+
|
40027
|
+
<p>user17</p>
|
40028
|
+
<p>message body</p>
|
40029
|
+
|
40030
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [1d86452d-ea58-4066-aebf-0daf1f4274a4] Performed ActionMailer::DeliveryJob from Inline(mailers) in 7.8ms
|
40031
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40032
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40033
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40034
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:44:40.274836"], ["updated_at", "2015-02-17 13:44:40.274836"]]
|
40035
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40036
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40037
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-02-17 13:44:40.276425"], ["updated_at", "2015-02-17 13:44:40.276425"]]
|
40038
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40039
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
40040
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40041
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40042
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:44:40.279703"], ["updated_at", "2015-02-17 13:44:40.279703"]]
|
40043
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40044
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40045
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-02-17 13:44:40.281349"], ["updated_at", "2015-02-17 13:44:40.281349"]]
|
40046
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40047
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40049
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40050
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:44:40.286561"], ["updated_at", "2015-02-17 13:44:40.286561"]]
|
40051
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40052
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40053
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-02-17 13:44:40.288306"], ["updated_at", "2015-02-17 13:44:40.288306"]]
|
40054
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40055
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40056
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40057
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40058
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:44:40.291759"], ["updated_at", "2015-02-17 13:44:40.291759"]]
|
40059
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40060
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40061
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-02-17 13:44:40.293315"], ["updated_at", "2015-02-17 13:44:40.293315"]]
|
40062
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40063
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40064
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40065
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:44:40.300106"], ["updated_at", "2015-02-17 13:44:40.300106"]]
|
40066
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40067
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40068
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40069
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40070
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40071
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:44:40.304636"], ["updated_at", "2015-02-17 13:44:40.304636"]]
|
40072
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40073
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
40074
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user22@sleede.com"], ["name", "user22"], ["created_at", "2015-02-17 13:44:40.309578"], ["updated_at", "2015-02-17 13:44:40.309578"]]
|
40075
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40076
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40077
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:44:40.313772"], ["updated_at", "2015-02-17 13:44:40.313772"]]
|
40078
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40079
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40080
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40081
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 1]]
|
40082
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40083
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40084
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40085
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40086
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40087
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40088
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40089
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
40090
|
+
[1m[36m (9.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40091
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40092
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40093
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
40094
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
40095
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
40096
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
40097
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
40098
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
40099
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
40100
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
40101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40102
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40103
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-02-17 13:45:03.017032"], ["updated_at", "2015-02-17 13:45:03.017032"]]
|
40104
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40105
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40106
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.032950"], ["updated_at", "2015-02-17 13:45:03.032950"]]
|
40107
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40108
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40109
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "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-02-17 13:45:03.036538"], ["updated_at", "2015-02-17 13:45:03.036538"]]
|
40110
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40111
|
+
Processing by API::NotificationsController#index as JSON
|
40112
|
+
Rendered api/notifications/index.json.jbuilder (0.3ms)
|
40113
|
+
Completed 200 OK in 20ms (Views: 8.9ms | ActiveRecord: 0.0ms)
|
40114
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40115
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40116
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40117
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-02-17 13:45:03.081438"], ["updated_at", "2015-02-17 13:45:03.081438"]]
|
40118
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40119
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40120
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:45:03.083656"], ["updated_at", "2015-02-17 13:45:03.083656"]]
|
40121
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40122
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40123
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:45:03.085484"], ["updated_at", "2015-02-17 13:45:03.085484"]]
|
40124
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40125
|
+
Processing by API::NotificationsController#index as JSON
|
40126
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40127
|
+
[1m[36mMessage Load (0.1ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
40128
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.4ms)
|
40129
|
+
Rendered api/notifications/index.json.jbuilder (12.5ms)
|
40130
|
+
Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.2ms)
|
40131
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40133
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40134
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@sleede.com"], ["name", "user3"], ["created_at", "2015-02-17 13:45:03.108632"], ["updated_at", "2015-02-17 13:45:03.108632"]]
|
40135
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40136
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40137
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.110707"], ["updated_at", "2015-02-17 13:45:03.110707"]]
|
40138
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40139
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40140
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:45:03.112514"], ["updated_at", "2015-02-17 13:45:03.112514"]]
|
40141
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40142
|
+
Processing by API::NotificationsController#show as JSON
|
40143
|
+
Parameters: {"id"=>"1"}
|
40144
|
+
[1m[36mNotification Load (0.2ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
40145
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
40146
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
40147
|
+
Rendered api/notifications/show.json.jbuilder (1.9ms)
|
40148
|
+
Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
40149
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
40150
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40151
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40152
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-02-17 13:45:03.132267"], ["updated_at", "2015-02-17 13:45:03.132267"]]
|
40153
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40154
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40155
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:45:03.137328"], ["updated_at", "2015-02-17 13:45:03.137328"]]
|
40156
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40157
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40158
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:45:03.139807"], ["updated_at", "2015-02-17 13:45:03.139807"]]
|
40159
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40160
|
+
Processing by API::NotificationsController#update as JSON
|
40161
|
+
Parameters: {"id"=>"1"}
|
40162
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
40163
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40164
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
40165
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
40166
|
+
Rendered api/notifications/show.json.jbuilder (1.3ms)
|
40167
|
+
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)
|
40168
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40169
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40171
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-02-17 13:45:03.160761"], ["updated_at", "2015-02-17 13:45:03.160761"]]
|
40172
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40173
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40174
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:45:03.162725"], ["updated_at", "2015-02-17 13:45:03.162725"]]
|
40175
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40176
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40177
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:45:03.164478"], ["updated_at", "2015-02-17 13:45:03.164478"]]
|
40178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40179
|
+
Processing by API::NotificationsController#update_all as JSON
|
40180
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."is_read" = 'f' ORDER BY "notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"]]
|
40181
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40182
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
|
40183
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
40184
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40186
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40187
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-02-17 13:45:03.345035"], ["updated_at", "2015-02-17 13:45:03.345035"]]
|
40188
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40189
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40190
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:45:03.347046"], ["updated_at", "2015-02-17 13:45:03.347046"]]
|
40191
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40192
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40193
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:45:03.348897"], ["updated_at", "2015-02-17 13:45:03.348897"]]
|
40194
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40195
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40197
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40198
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-02-17 13:45:03.354630"], ["updated_at", "2015-02-17 13:45:03.354630"]]
|
40199
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40201
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.356549"], ["updated_at", "2015-02-17 13:45:03.356549"]]
|
40202
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40203
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40204
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:45:03.358695"], ["updated_at", "2015-02-17 13:45:03.358695"]]
|
40205
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40206
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.5ms)
|
40207
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40208
|
+
|
40209
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 15.6ms
|
40210
|
+
|
40211
|
+
Sent mail to user7@sleede.com (6.6ms)
|
40212
|
+
Date: Tue, 17 Feb 2015 14:45:03 +0100
|
40213
|
+
From: contact@sleede.com
|
40214
|
+
To: user7@sleede.com
|
40215
|
+
Message-ID: <54e345df5cf9b_82f23fc58cc65bec892ae@pc12.home.mail>
|
40216
|
+
Subject: subject notify new message
|
40217
|
+
Mime-Version: 1.0
|
40218
|
+
Content-Type: text/html;
|
40219
|
+
charset=UTF-8
|
40220
|
+
Content-Transfer-Encoding: 7bit
|
40221
|
+
|
40222
|
+
<p>user7</p>
|
40223
|
+
<p>message body</p>
|
40224
|
+
|
40225
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40227
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40228
|
+
[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-02-17 13:45:03.386706"], ["updated_at", "2015-02-17 13:45:03.386706"]]
|
40229
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40230
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40231
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.389987"], ["updated_at", "2015-02-17 13:45:03.389987"]]
|
40232
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40233
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40234
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:45:03.392317"], ["updated_at", "2015-02-17 13:45:03.392317"]]
|
40235
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40236
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
40237
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40238
|
+
|
40239
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.9ms
|
40240
|
+
|
40241
|
+
Sent mail to user8@sleede.com (1.9ms)
|
40242
|
+
Date: Tue, 17 Feb 2015 14:45:03 +0100
|
40243
|
+
From: contact@sleede.com
|
40244
|
+
To: user8@sleede.com
|
40245
|
+
Message-ID: <54e345df60d0d_82f23fc58cc65bec893c3@pc12.home.mail>
|
40246
|
+
Subject: subject notify new message
|
40247
|
+
Mime-Version: 1.0
|
40248
|
+
Content-Type: text/html;
|
40249
|
+
charset=UTF-8
|
40250
|
+
Content-Transfer-Encoding: 7bit
|
40251
|
+
|
40252
|
+
<p>user8</p>
|
40253
|
+
<p>message body</p>
|
40254
|
+
|
40255
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40256
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40257
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40258
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user9@sleede.com"], ["name", "user9"], ["created_at", "2015-02-17 13:45:03.400578"], ["updated_at", "2015-02-17 13:45:03.400578"]]
|
40259
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40260
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40261
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.402422"], ["updated_at", "2015-02-17 13:45:03.402422"]]
|
40262
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40263
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40264
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "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-02-17 13:45:03.404996"], ["updated_at", "2015-02-17 13:45:03.404996"]]
|
40265
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40266
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
40267
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40268
|
+
|
40269
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.7ms
|
40270
|
+
|
40271
|
+
Sent mail to user9@sleede.com (3.5ms)
|
40272
|
+
Date: Tue, 17 Feb 2015 14:45:03 +0100
|
40273
|
+
From: contact@sleede.com
|
40274
|
+
To: user9@sleede.com
|
40275
|
+
Message-ID: <54e345df6478f_82f23fc58cc65bec89451@pc12.home.mail>
|
40276
|
+
Subject: subject notify new message
|
40277
|
+
Mime-Version: 1.0
|
40278
|
+
Content-Type: text/html;
|
40279
|
+
charset=UTF-8
|
40280
|
+
Content-Transfer-Encoding: 7bit
|
40281
|
+
|
40282
|
+
<p>user9</p>
|
40283
|
+
<p>message body</p>
|
40284
|
+
|
40285
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40287
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40288
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user10@sleede.com"], ["name", "user10"], ["created_at", "2015-02-17 13:45:03.416825"], ["updated_at", "2015-02-17 13:45:03.416825"]]
|
40289
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40290
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40291
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.418762"], ["updated_at", "2015-02-17 13:45:03.418762"]]
|
40292
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40294
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:45:03.420483"], ["updated_at", "2015-02-17 13:45:03.420483"]]
|
40295
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40296
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
40297
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40298
|
+
|
40299
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.4ms
|
40300
|
+
|
40301
|
+
Sent mail to user10@sleede.com (8.7ms)
|
40302
|
+
Date: Tue, 17 Feb 2015 14:45:03 +0100
|
40303
|
+
From: contact@sleede.com
|
40304
|
+
To: user10@sleede.com
|
40305
|
+
Message-ID: <54e345df67718_82f23fc58cc65bec89540@pc12.home.mail>
|
40306
|
+
Subject: subject notify new message
|
40307
|
+
Mime-Version: 1.0
|
40308
|
+
Content-Type: text/html;
|
40309
|
+
charset=UTF-8
|
40310
|
+
Content-Transfer-Encoding: 7bit
|
40311
|
+
|
40312
|
+
<p>user10</p>
|
40313
|
+
<p>message body</p>
|
40314
|
+
|
40315
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40317
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40318
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:45:03.434302"], ["updated_at", "2015-02-17 13:45:03.434302"]]
|
40319
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40320
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40321
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-02-17 13:45:03.436052"], ["updated_at", "2015-02-17 13:45:03.436052"]]
|
40322
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40323
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40324
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:45:03.438107"], ["updated_at", "2015-02-17 13:45:03.438107"]]
|
40325
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40326
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40327
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40328
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40329
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.440979"], ["updated_at", "2015-02-17 13:45:03.440979"]]
|
40330
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40331
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40332
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user12@sleede.com"], ["name", "user12"], ["created_at", "2015-02-17 13:45:03.442527"], ["updated_at", "2015-02-17 13:45:03.442527"]]
|
40333
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40334
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40335
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40336
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40337
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.449254"], ["updated_at", "2015-02-17 13:45:03.449254"]]
|
40338
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40339
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40340
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-02-17 13:45:03.451306"], ["updated_at", "2015-02-17 13:45:03.451306"]]
|
40341
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40342
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40343
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40344
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40345
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.457363"], ["updated_at", "2015-02-17 13:45:03.457363"]]
|
40346
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40347
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40348
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user14@sleede.com"], ["name", "user14"], ["created_at", "2015-02-17 13:45:03.461782"], ["updated_at", "2015-02-17 13:45:03.461782"]]
|
40349
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40350
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
40351
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40352
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40353
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.469820"], ["updated_at", "2015-02-17 13:45:03.469820"]]
|
40354
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40355
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40356
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-02-17 13:45:03.471737"], ["updated_at", "2015-02-17 13:45:03.471737"]]
|
40357
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40358
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40359
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:45:03.474278"], ["updated_at", "2015-02-17 13:45:03.474278"]]
|
40360
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40361
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
40362
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40363
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40364
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40365
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.478632"], ["updated_at", "2015-02-17 13:45:03.478632"]]
|
40366
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40367
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40368
|
+
[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-02-17 13:45:03.480387"], ["updated_at", "2015-02-17 13:45:03.480387"]]
|
40369
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40370
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40371
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:45:03.482368"], ["updated_at", "2015-02-17 13:45:03.482368"]]
|
40372
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40373
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
40374
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
40375
|
+
|
40376
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.5ms
|
40377
|
+
|
40378
|
+
Sent mail to user16@sleede.com (1.5ms)
|
40379
|
+
Date: Tue, 17 Feb 2015 14:45:03 +0100
|
40380
|
+
From: contact@sleede.com
|
40381
|
+
To: user16@sleede.com
|
40382
|
+
Message-ID: <54e345df76939_82f23fc58cc65bec8969f@pc12.home.mail>
|
40383
|
+
Subject: subject notify new message
|
40384
|
+
Mime-Version: 1.0
|
40385
|
+
Content-Type: text/html;
|
40386
|
+
charset=UTF-8
|
40387
|
+
Content-Transfer-Encoding: 7bit
|
40388
|
+
|
40389
|
+
<p>user16</p>
|
40390
|
+
<p>message body</p>
|
40391
|
+
|
40392
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
40393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40394
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40395
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.489870"], ["updated_at", "2015-02-17 13:45:03.489870"]]
|
40396
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40397
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40398
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-02-17 13:45:03.491989"], ["updated_at", "2015-02-17 13:45:03.491989"]]
|
40399
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40400
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40401
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:45:03.494117"], ["updated_at", "2015-02-17 13:45:03.494117"]]
|
40402
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40403
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 3f916bef-05b5-4fd2-9969-24fb001f4a94) to Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
40404
|
+
[ActiveJob] [1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
40405
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [3f916bef-05b5-4fd2-9969-24fb001f4a94] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
40406
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [3f916bef-05b5-4fd2-9969-24fb001f4a94] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
40407
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [3f916bef-05b5-4fd2-9969-24fb001f4a94] [1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
40408
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [3f916bef-05b5-4fd2-9969-24fb001f4a94] Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
40409
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [3f916bef-05b5-4fd2-9969-24fb001f4a94] [1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40410
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [3f916bef-05b5-4fd2-9969-24fb001f4a94]
|
40411
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 5.4ms
|
40412
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [3f916bef-05b5-4fd2-9969-24fb001f4a94]
|
40413
|
+
Sent mail to user17@sleede.com (2.5ms)
|
40414
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [3f916bef-05b5-4fd2-9969-24fb001f4a94] Date: Tue, 17 Feb 2015 14:45:03 +0100
|
40415
|
+
From: contact@sleede.com
|
40416
|
+
To: user17@sleede.com
|
40417
|
+
Message-ID: <54e345df7fd4f_82f23fc58cc65bec8976d@pc12.home.mail>
|
40418
|
+
Subject: subject notify new message
|
40419
|
+
Mime-Version: 1.0
|
40420
|
+
Content-Type: text/html;
|
40421
|
+
charset=UTF-8
|
40422
|
+
Content-Transfer-Encoding: 7bit
|
40423
|
+
|
40424
|
+
<p>user17</p>
|
40425
|
+
<p>message body</p>
|
40426
|
+
|
40427
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [3f916bef-05b5-4fd2-9969-24fb001f4a94] Performed ActionMailer::DeliveryJob from Inline(mailers) in 8.39ms
|
40428
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
40429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40430
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40431
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:45:03.529948"], ["updated_at", "2015-02-17 13:45:03.529948"]]
|
40432
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40433
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40434
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-02-17 13:45:03.532052"], ["updated_at", "2015-02-17 13:45:03.532052"]]
|
40435
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40436
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40438
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40439
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:45:03.537180"], ["updated_at", "2015-02-17 13:45:03.537180"]]
|
40440
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40441
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40442
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-02-17 13:45:03.539007"], ["updated_at", "2015-02-17 13:45:03.539007"]]
|
40443
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40444
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40445
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40446
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40447
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:45:03.545392"], ["updated_at", "2015-02-17 13:45:03.545392"]]
|
40448
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40449
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40450
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-02-17 13:45:03.548778"], ["updated_at", "2015-02-17 13:45:03.548778"]]
|
40451
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40452
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40453
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40454
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40455
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:45:03.552681"], ["updated_at", "2015-02-17 13:45:03.552681"]]
|
40456
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40457
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40458
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-02-17 13:45:03.554432"], ["updated_at", "2015-02-17 13:45:03.554432"]]
|
40459
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40460
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40461
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40462
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:45:03.562695"], ["updated_at", "2015-02-17 13:45:03.562695"]]
|
40463
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40464
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40465
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40466
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40467
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40468
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:45:03.566788"], ["updated_at", "2015-02-17 13:45:03.566788"]]
|
40469
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40470
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40471
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user22@sleede.com"], ["name", "user22"], ["created_at", "2015-02-17 13:45:03.568552"], ["updated_at", "2015-02-17 13:45:03.568552"]]
|
40472
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40473
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40474
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:45:03.572323"], ["updated_at", "2015-02-17 13:45:03.572323"]]
|
40475
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40476
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40477
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40478
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 1]]
|
40479
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
40480
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40481
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40482
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40483
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40484
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
40485
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
40486
|
+
[1m[36m (9.1ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40487
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40488
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40489
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
40490
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
40491
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
40492
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
40493
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
40494
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
40495
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
40496
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
40497
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40499
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-02-17 13:47:08.791574"], ["updated_at", "2015-02-17 13:47:08.791574"]]
|
40500
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40501
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40502
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:08.806643"], ["updated_at", "2015-02-17 13:47:08.806643"]]
|
40503
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40504
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40505
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "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-02-17 13:47:08.810339"], ["updated_at", "2015-02-17 13:47:08.810339"]]
|
40506
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40507
|
+
Processing by API::NotificationsController#index as JSON
|
40508
|
+
Rendered api/notifications/index.json.jbuilder (0.3ms)
|
40509
|
+
Completed 200 OK in 18ms (Views: 9.1ms | ActiveRecord: 0.0ms)
|
40510
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40511
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40512
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40513
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-02-17 13:47:08.847692"], ["updated_at", "2015-02-17 13:47:08.847692"]]
|
40514
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40515
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40516
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:47:08.849801"], ["updated_at", "2015-02-17 13:47:08.849801"]]
|
40517
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40518
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40519
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:47:08.851495"], ["updated_at", "2015-02-17 13:47:08.851495"]]
|
40520
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40521
|
+
Processing by API::NotificationsController#index as JSON
|
40522
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40523
|
+
[1m[36mMessage Load (0.1ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
40524
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.4ms)
|
40525
|
+
Rendered api/notifications/index.json.jbuilder (12.3ms)
|
40526
|
+
Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.2ms)
|
40527
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40528
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40529
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40530
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@sleede.com"], ["name", "user3"], ["created_at", "2015-02-17 13:47:08.875069"], ["updated_at", "2015-02-17 13:47:08.875069"]]
|
40531
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40532
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40533
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:08.876987"], ["updated_at", "2015-02-17 13:47:08.876987"]]
|
40534
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40535
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40536
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:47:08.878631"], ["updated_at", "2015-02-17 13:47:08.878631"]]
|
40537
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40538
|
+
Processing by API::NotificationsController#show as JSON
|
40539
|
+
Parameters: {"id"=>"1"}
|
40540
|
+
[1m[36mNotification Load (0.2ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
40541
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
40542
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
40543
|
+
Rendered api/notifications/show.json.jbuilder (2.0ms)
|
40544
|
+
Completed 200 OK in 9ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
40545
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40546
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40547
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40548
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-02-17 13:47:08.896178"], ["updated_at", "2015-02-17 13:47:08.896178"]]
|
40549
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40550
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40551
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:47:08.898173"], ["updated_at", "2015-02-17 13:47:08.898173"]]
|
40552
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40553
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40554
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:47:08.900098"], ["updated_at", "2015-02-17 13:47:08.900098"]]
|
40555
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40556
|
+
Processing by API::NotificationsController#update as JSON
|
40557
|
+
Parameters: {"id"=>"1"}
|
40558
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
40559
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40560
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
40561
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.0ms)
|
40562
|
+
Rendered api/notifications/show.json.jbuilder (1.2ms)
|
40563
|
+
Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.2ms)
|
40564
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
40565
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40566
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40567
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-02-17 13:47:08.922172"], ["updated_at", "2015-02-17 13:47:08.922172"]]
|
40568
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40569
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40570
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:47:08.924222"], ["updated_at", "2015-02-17 13:47:08.924222"]]
|
40571
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40572
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40573
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:47:08.926072"], ["updated_at", "2015-02-17 13:47:08.926072"]]
|
40574
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40575
|
+
Processing by API::NotificationsController#update_all as JSON
|
40576
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."is_read" = 'f' ORDER BY "notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"]]
|
40577
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40578
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
|
40579
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
40580
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40581
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40582
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40583
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-02-17 13:47:09.102155"], ["updated_at", "2015-02-17 13:47:09.102155"]]
|
40584
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40585
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40586
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:47:09.104120"], ["updated_at", "2015-02-17 13:47:09.104120"]]
|
40587
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40588
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40589
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:47:09.105862"], ["updated_at", "2015-02-17 13:47:09.105862"]]
|
40590
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40591
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40593
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40594
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-02-17 13:47:09.111253"], ["updated_at", "2015-02-17 13:47:09.111253"]]
|
40595
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40596
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40597
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.113241"], ["updated_at", "2015-02-17 13:47:09.113241"]]
|
40598
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40599
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40600
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:47:09.115206"], ["updated_at", "2015-02-17 13:47:09.115206"]]
|
40601
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40602
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.5ms)
|
40603
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40604
|
+
|
40605
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 14.4ms
|
40606
|
+
|
40607
|
+
Sent mail to user7@sleede.com (6.8ms)
|
40608
|
+
Date: Tue, 17 Feb 2015 14:47:09 +0100
|
40609
|
+
From: contact@sleede.com
|
40610
|
+
To: user7@sleede.com
|
40611
|
+
Message-ID: <54e3465d21485_842c3fd468c55be4608c6@pc12.home.mail>
|
40612
|
+
Subject: subject notify new message
|
40613
|
+
Mime-Version: 1.0
|
40614
|
+
Content-Type: text/html;
|
40615
|
+
charset=UTF-8
|
40616
|
+
Content-Transfer-Encoding: 7bit
|
40617
|
+
|
40618
|
+
<p>user7</p>
|
40619
|
+
<p>message body</p>
|
40620
|
+
|
40621
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40623
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40624
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@sleede.com"], ["name", "user8"], ["created_at", "2015-02-17 13:47:09.142124"], ["updated_at", "2015-02-17 13:47:09.142124"]]
|
40625
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40626
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40627
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.144097"], ["updated_at", "2015-02-17 13:47:09.144097"]]
|
40628
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40629
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40630
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "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-02-17 13:47:09.148705"], ["updated_at", "2015-02-17 13:47:09.148705"]]
|
40631
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40632
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
40633
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40634
|
+
|
40635
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.6ms
|
40636
|
+
|
40637
|
+
Sent mail to user8@sleede.com (3.1ms)
|
40638
|
+
Date: Tue, 17 Feb 2015 14:47:09 +0100
|
40639
|
+
From: contact@sleede.com
|
40640
|
+
To: user8@sleede.com
|
40641
|
+
Message-ID: <54e3465d25e59_842c3fd468c55be4609b8@pc12.home.mail>
|
40642
|
+
Subject: subject notify new message
|
40643
|
+
Mime-Version: 1.0
|
40644
|
+
Content-Type: text/html;
|
40645
|
+
charset=UTF-8
|
40646
|
+
Content-Transfer-Encoding: 7bit
|
40647
|
+
|
40648
|
+
<p>user8</p>
|
40649
|
+
<p>message body</p>
|
40650
|
+
|
40651
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40652
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40653
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40654
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user9@sleede.com"], ["name", "user9"], ["created_at", "2015-02-17 13:47:09.160588"], ["updated_at", "2015-02-17 13:47:09.160588"]]
|
40655
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40656
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40657
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.162458"], ["updated_at", "2015-02-17 13:47:09.162458"]]
|
40658
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40659
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40660
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:47:09.164230"], ["updated_at", "2015-02-17 13:47:09.164230"]]
|
40661
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40662
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
40663
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40664
|
+
|
40665
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.4ms
|
40666
|
+
|
40667
|
+
Sent mail to user9@sleede.com (1.4ms)
|
40668
|
+
Date: Tue, 17 Feb 2015 14:47:09 +0100
|
40669
|
+
From: contact@sleede.com
|
40670
|
+
To: user9@sleede.com
|
40671
|
+
Message-ID: <54e3465d28ec8_842c3fd468c55be461050@pc12.home.mail>
|
40672
|
+
Subject: subject notify new message
|
40673
|
+
Mime-Version: 1.0
|
40674
|
+
Content-Type: text/html;
|
40675
|
+
charset=UTF-8
|
40676
|
+
Content-Transfer-Encoding: 7bit
|
40677
|
+
|
40678
|
+
<p>user9</p>
|
40679
|
+
<p>message body</p>
|
40680
|
+
|
40681
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40682
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40683
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40684
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user10@sleede.com"], ["name", "user10"], ["created_at", "2015-02-17 13:47:09.171397"], ["updated_at", "2015-02-17 13:47:09.171397"]]
|
40685
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40686
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40687
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.173262"], ["updated_at", "2015-02-17 13:47:09.173262"]]
|
40688
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40689
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40690
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:47:09.175068"], ["updated_at", "2015-02-17 13:47:09.175068"]]
|
40691
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40692
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
40693
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40694
|
+
|
40695
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.3ms
|
40696
|
+
|
40697
|
+
Sent mail to user10@sleede.com (9.2ms)
|
40698
|
+
Date: Tue, 17 Feb 2015 14:47:09 +0100
|
40699
|
+
From: contact@sleede.com
|
40700
|
+
To: user10@sleede.com
|
40701
|
+
Message-ID: <54e3465d2ba57_842c3fd468c55be4611a8@pc12.home.mail>
|
40702
|
+
Subject: subject notify new message
|
40703
|
+
Mime-Version: 1.0
|
40704
|
+
Content-Type: text/html;
|
40705
|
+
charset=UTF-8
|
40706
|
+
Content-Transfer-Encoding: 7bit
|
40707
|
+
|
40708
|
+
<p>user10</p>
|
40709
|
+
<p>message body</p>
|
40710
|
+
|
40711
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40712
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40713
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40714
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:47:09.189303"], ["updated_at", "2015-02-17 13:47:09.189303"]]
|
40715
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40717
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-02-17 13:47:09.190964"], ["updated_at", "2015-02-17 13:47:09.190964"]]
|
40718
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40719
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40720
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:47:09.193067"], ["updated_at", "2015-02-17 13:47:09.193067"]]
|
40721
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40722
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40724
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40725
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.198441"], ["updated_at", "2015-02-17 13:47:09.198441"]]
|
40726
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40727
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40728
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user12@sleede.com"], ["name", "user12"], ["created_at", "2015-02-17 13:47:09.201518"], ["updated_at", "2015-02-17 13:47:09.201518"]]
|
40729
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40730
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40731
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40733
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.208754"], ["updated_at", "2015-02-17 13:47:09.208754"]]
|
40734
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40735
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40736
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-02-17 13:47:09.210384"], ["updated_at", "2015-02-17 13:47:09.210384"]]
|
40737
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40738
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40739
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40740
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40741
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.215842"], ["updated_at", "2015-02-17 13:47:09.215842"]]
|
40742
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40743
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40744
|
+
[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-02-17 13:47:09.217503"], ["updated_at", "2015-02-17 13:47:09.217503"]]
|
40745
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40746
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
40747
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40748
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40749
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.221675"], ["updated_at", "2015-02-17 13:47:09.221675"]]
|
40750
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40751
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40752
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-02-17 13:47:09.223881"], ["updated_at", "2015-02-17 13:47:09.223881"]]
|
40753
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40754
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40755
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:47:09.226670"], ["updated_at", "2015-02-17 13:47:09.226670"]]
|
40756
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40757
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
40758
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
40759
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40760
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40761
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.230282"], ["updated_at", "2015-02-17 13:47:09.230282"]]
|
40762
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40763
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40764
|
+
[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-02-17 13:47:09.231858"], ["updated_at", "2015-02-17 13:47:09.231858"]]
|
40765
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40766
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40767
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:47:09.234286"], ["updated_at", "2015-02-17 13:47:09.234286"]]
|
40768
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40769
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
40770
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
40771
|
+
|
40772
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.1ms
|
40773
|
+
|
40774
|
+
Sent mail to user16@sleede.com (1.5ms)
|
40775
|
+
Date: Tue, 17 Feb 2015 14:47:09 +0100
|
40776
|
+
From: contact@sleede.com
|
40777
|
+
To: user16@sleede.com
|
40778
|
+
Message-ID: <54e3465d3a2fe_842c3fd468c55be46129c@pc12.home.mail>
|
40779
|
+
Subject: subject notify new message
|
40780
|
+
Mime-Version: 1.0
|
40781
|
+
Content-Type: text/html;
|
40782
|
+
charset=UTF-8
|
40783
|
+
Content-Transfer-Encoding: 7bit
|
40784
|
+
|
40785
|
+
<p>user16</p>
|
40786
|
+
<p>message body</p>
|
40787
|
+
|
40788
|
+
[1m[36m (1.7ms)[0m [1mrollback transaction[0m
|
40789
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40790
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40791
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.243914"], ["updated_at", "2015-02-17 13:47:09.243914"]]
|
40792
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40793
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40794
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-02-17 13:47:09.246808"], ["updated_at", "2015-02-17 13:47:09.246808"]]
|
40795
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40796
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40797
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:47:09.250894"], ["updated_at", "2015-02-17 13:47:09.250894"]]
|
40798
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40799
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 6f2ac294-9868-4e5f-923c-54efc397058a) to Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
40800
|
+
[ActiveJob] [1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
40801
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [6f2ac294-9868-4e5f-923c-54efc397058a] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
40802
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [6f2ac294-9868-4e5f-923c-54efc397058a] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
40803
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [6f2ac294-9868-4e5f-923c-54efc397058a] [1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
40804
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [6f2ac294-9868-4e5f-923c-54efc397058a] Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
40805
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [6f2ac294-9868-4e5f-923c-54efc397058a] [1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40806
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [6f2ac294-9868-4e5f-923c-54efc397058a]
|
40807
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 3.7ms
|
40808
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [6f2ac294-9868-4e5f-923c-54efc397058a]
|
40809
|
+
Sent mail to user17@sleede.com (1.5ms)
|
40810
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [6f2ac294-9868-4e5f-923c-54efc397058a] Date: Tue, 17 Feb 2015 14:47:09 +0100
|
40811
|
+
From: contact@sleede.com
|
40812
|
+
To: user17@sleede.com
|
40813
|
+
Message-ID: <54e3465d42c5b_842c3fd468c55be461338@pc12.home.mail>
|
40814
|
+
Subject: subject notify new message
|
40815
|
+
Mime-Version: 1.0
|
40816
|
+
Content-Type: text/html;
|
40817
|
+
charset=UTF-8
|
40818
|
+
Content-Transfer-Encoding: 7bit
|
40819
|
+
|
40820
|
+
<p>user17</p>
|
40821
|
+
<p>message body</p>
|
40822
|
+
|
40823
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [6f2ac294-9868-4e5f-923c-54efc397058a] Performed ActionMailer::DeliveryJob from Inline(mailers) in 5.61ms
|
40824
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40825
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40826
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40827
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:47:09.276802"], ["updated_at", "2015-02-17 13:47:09.276802"]]
|
40828
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40829
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40830
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-02-17 13:47:09.278961"], ["updated_at", "2015-02-17 13:47:09.278961"]]
|
40831
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40832
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
40833
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40834
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40835
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:47:09.282351"], ["updated_at", "2015-02-17 13:47:09.282351"]]
|
40836
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40837
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40838
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-02-17 13:47:09.284171"], ["updated_at", "2015-02-17 13:47:09.284171"]]
|
40839
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40840
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
40841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40842
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40843
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:47:09.289278"], ["updated_at", "2015-02-17 13:47:09.289278"]]
|
40844
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40845
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40846
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-02-17 13:47:09.292239"], ["updated_at", "2015-02-17 13:47:09.292239"]]
|
40847
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40848
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40850
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40851
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:47:09.296316"], ["updated_at", "2015-02-17 13:47:09.296316"]]
|
40852
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40853
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40854
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-02-17 13:47:09.298563"], ["updated_at", "2015-02-17 13:47:09.298563"]]
|
40855
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40856
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40857
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40858
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:47:09.305035"], ["updated_at", "2015-02-17 13:47:09.305035"]]
|
40859
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40860
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40861
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
40862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40863
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40864
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:47:09.311898"], ["updated_at", "2015-02-17 13:47:09.311898"]]
|
40865
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40866
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40867
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user22@sleede.com"], ["name", "user22"], ["created_at", "2015-02-17 13:47:09.315065"], ["updated_at", "2015-02-17 13:47:09.315065"]]
|
40868
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40869
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
40870
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:47:09.321015"], ["updated_at", "2015-02-17 13:47:09.321015"]]
|
40871
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40872
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40873
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40874
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 1]]
|
40875
|
+
[1m[36mNotification Load (0.1ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE (attached_object_id = 1 and attached_object_type = 'Message')[0m
|
40876
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifications" WHERE "notifications"."id" = ? [["id", 1]]
|
40877
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40878
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40879
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
40880
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40881
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40882
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40883
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
40884
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
40885
|
+
[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
|
40886
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40887
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40888
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
40889
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
40890
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
40891
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
40892
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
40893
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
40894
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
40895
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
40896
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
40897
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40898
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-02-17 13:56:20.097603"], ["updated_at", "2015-02-17 13:56:20.097603"]]
|
40899
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40900
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40901
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.117683"], ["updated_at", "2015-02-17 13:56:20.117683"]]
|
40902
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40903
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40904
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "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-02-17 13:56:20.125428"], ["updated_at", "2015-02-17 13:56:20.125428"]]
|
40905
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
40906
|
+
Processing by API::NotificationsController#index as JSON
|
40907
|
+
Rendered api/notifications/index.json.jbuilder (0.3ms)
|
40908
|
+
Completed 200 OK in 22ms (Views: 10.0ms | ActiveRecord: 0.0ms)
|
40909
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
40910
|
+
[1m[35m (0.0ms)[0m begin transaction
|
40911
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40912
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-02-17 13:56:20.173865"], ["updated_at", "2015-02-17 13:56:20.173865"]]
|
40913
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40914
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40915
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:20.178481"], ["updated_at", "2015-02-17 13:56:20.178481"]]
|
40916
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40917
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40918
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:56:20.180727"], ["updated_at", "2015-02-17 13:56:20.180727"]]
|
40919
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40920
|
+
Processing by API::NotificationsController#index as JSON
|
40921
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
40922
|
+
[1m[36mMessage Load (0.1ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
40923
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.4ms)
|
40924
|
+
Rendered api/notifications/index.json.jbuilder (14.4ms)
|
40925
|
+
Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.3ms)
|
40926
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
40927
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40928
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40929
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user3@sleede.com"], ["name", "user3"], ["created_at", "2015-02-17 13:56:20.206999"], ["updated_at", "2015-02-17 13:56:20.206999"]]
|
40930
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40931
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40932
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.209190"], ["updated_at", "2015-02-17 13:56:20.209190"]]
|
40933
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40934
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40935
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:20.211126"], ["updated_at", "2015-02-17 13:56:20.211126"]]
|
40936
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40937
|
+
Processing by API::NotificationsController#show as JSON
|
40938
|
+
Parameters: {"id"=>"1"}
|
40939
|
+
[1m[36mNotification Load (0.1ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
40940
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
40941
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
40942
|
+
Rendered api/notifications/show.json.jbuilder (2.0ms)
|
40943
|
+
Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
40944
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
40945
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40946
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40947
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-02-17 13:56:20.229441"], ["updated_at", "2015-02-17 13:56:20.229441"]]
|
40948
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40949
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
40950
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:20.233933"], ["updated_at", "2015-02-17 13:56:20.233933"]]
|
40951
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
40952
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40953
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:56:20.236967"], ["updated_at", "2015-02-17 13:56:20.236967"]]
|
40954
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40955
|
+
Processing by API::NotificationsController#update as JSON
|
40956
|
+
Parameters: {"id"=>"1"}
|
40957
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
40958
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40959
|
+
[1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
40960
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
40961
|
+
Rendered api/notifications/show.json.jbuilder (1.3ms)
|
40962
|
+
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)
|
40963
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40964
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40965
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40966
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-02-17 13:56:20.260209"], ["updated_at", "2015-02-17 13:56:20.260209"]]
|
40967
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40968
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
40969
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:20.262227"], ["updated_at", "2015-02-17 13:56:20.262227"]]
|
40970
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40971
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40972
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:56:20.264084"], ["updated_at", "2015-02-17 13:56:20.264084"]]
|
40973
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40974
|
+
Processing by API::NotificationsController#update_all as JSON
|
40975
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."is_read" = 'f' ORDER BY "notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"]]
|
40976
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
40977
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
|
40978
|
+
[1m[35mNotification Load (0.2ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
40979
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
40980
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40981
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40982
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-02-17 13:56:20.443692"], ["updated_at", "2015-02-17 13:56:20.443692"]]
|
40983
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40984
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40985
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:20.445920"], ["updated_at", "2015-02-17 13:56:20.445920"]]
|
40986
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40987
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
40988
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:56:20.448069"], ["updated_at", "2015-02-17 13:56:20.448069"]]
|
40989
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40990
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
40991
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40992
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40993
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-02-17 13:56:20.453709"], ["updated_at", "2015-02-17 13:56:20.453709"]]
|
40994
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
40995
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
40996
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.455573"], ["updated_at", "2015-02-17 13:56:20.455573"]]
|
40997
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
40998
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
40999
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:20.457605"], ["updated_at", "2015-02-17 13:56:20.457605"]]
|
41000
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41001
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.5ms)
|
41002
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41003
|
+
|
41004
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 14.4ms
|
41005
|
+
|
41006
|
+
Sent mail to user7@sleede.com (7.0ms)
|
41007
|
+
Date: Tue, 17 Feb 2015 14:56:20 +0100
|
41008
|
+
From: contact@sleede.com
|
41009
|
+
To: user7@sleede.com
|
41010
|
+
Message-ID: <54e3488474cbe_89923ff560465bf01227@pc12.home.mail>
|
41011
|
+
Subject: subject notify new message
|
41012
|
+
Mime-Version: 1.0
|
41013
|
+
Content-Type: text/html;
|
41014
|
+
charset=UTF-8
|
41015
|
+
Content-Transfer-Encoding: 7bit
|
41016
|
+
|
41017
|
+
<p>user7</p>
|
41018
|
+
<p>message body</p>
|
41019
|
+
|
41020
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
41021
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41022
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41023
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user8@sleede.com"], ["name", "user8"], ["created_at", "2015-02-17 13:56:20.484307"], ["updated_at", "2015-02-17 13:56:20.484307"]]
|
41024
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41025
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41026
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.487167"], ["updated_at", "2015-02-17 13:56:20.487167"]]
|
41027
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41028
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41029
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:20.489815"], ["updated_at", "2015-02-17 13:56:20.489815"]]
|
41030
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41031
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
41032
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41033
|
+
|
41034
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 2.1ms
|
41035
|
+
|
41036
|
+
Sent mail to user8@sleede.com (1.8ms)
|
41037
|
+
Date: Tue, 17 Feb 2015 14:56:20 +0100
|
41038
|
+
From: contact@sleede.com
|
41039
|
+
To: user8@sleede.com
|
41040
|
+
Message-ID: <54e3488478976_89923ff560465bf0123fb@pc12.home.mail>
|
41041
|
+
Subject: subject notify new message
|
41042
|
+
Mime-Version: 1.0
|
41043
|
+
Content-Type: text/html;
|
41044
|
+
charset=UTF-8
|
41045
|
+
Content-Transfer-Encoding: 7bit
|
41046
|
+
|
41047
|
+
<p>user8</p>
|
41048
|
+
<p>message body</p>
|
41049
|
+
|
41050
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
41051
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41052
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41053
|
+
[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-02-17 13:56:20.499622"], ["updated_at", "2015-02-17 13:56:20.499622"]]
|
41054
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
41055
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41056
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.503093"], ["updated_at", "2015-02-17 13:56:20.503093"]]
|
41057
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41058
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41059
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:20.505794"], ["updated_at", "2015-02-17 13:56:20.505794"]]
|
41060
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41061
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
41062
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41063
|
+
|
41064
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.7ms
|
41065
|
+
|
41066
|
+
Sent mail to user9@sleede.com (1.5ms)
|
41067
|
+
Date: Tue, 17 Feb 2015 14:56:20 +0100
|
41068
|
+
From: contact@sleede.com
|
41069
|
+
To: user9@sleede.com
|
41070
|
+
Message-ID: <54e348847c665_89923ff560465bf0124dc@pc12.home.mail>
|
41071
|
+
Subject: subject notify new message
|
41072
|
+
Mime-Version: 1.0
|
41073
|
+
Content-Type: text/html;
|
41074
|
+
charset=UTF-8
|
41075
|
+
Content-Transfer-Encoding: 7bit
|
41076
|
+
|
41077
|
+
<p>user9</p>
|
41078
|
+
<p>message body</p>
|
41079
|
+
|
41080
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
41081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41082
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41083
|
+
[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-02-17 13:56:20.513328"], ["updated_at", "2015-02-17 13:56:20.513328"]]
|
41084
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41085
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41086
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.515281"], ["updated_at", "2015-02-17 13:56:20.515281"]]
|
41087
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41088
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41089
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:20.516928"], ["updated_at", "2015-02-17 13:56:20.516928"]]
|
41090
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41091
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
41092
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41093
|
+
|
41094
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.4ms
|
41095
|
+
|
41096
|
+
Sent mail to user10@sleede.com (9.7ms)
|
41097
|
+
Date: Tue, 17 Feb 2015 14:56:20 +0100
|
41098
|
+
From: contact@sleede.com
|
41099
|
+
To: user10@sleede.com
|
41100
|
+
Message-ID: <54e348847ef9e_89923ff560465bf012553@pc12.home.mail>
|
41101
|
+
Subject: subject notify new message
|
41102
|
+
Mime-Version: 1.0
|
41103
|
+
Content-Type: text/html;
|
41104
|
+
charset=UTF-8
|
41105
|
+
Content-Transfer-Encoding: 7bit
|
41106
|
+
|
41107
|
+
<p>user10</p>
|
41108
|
+
<p>message body</p>
|
41109
|
+
|
41110
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
41111
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41112
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41113
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:20.531951"], ["updated_at", "2015-02-17 13:56:20.531951"]]
|
41114
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41115
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41116
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-02-17 13:56:20.533794"], ["updated_at", "2015-02-17 13:56:20.533794"]]
|
41117
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41118
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41119
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:20.536737"], ["updated_at", "2015-02-17 13:56:20.536737"]]
|
41120
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41121
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
41122
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41123
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41124
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.540266"], ["updated_at", "2015-02-17 13:56:20.540266"]]
|
41125
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41126
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41127
|
+
[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-02-17 13:56:20.542402"], ["updated_at", "2015-02-17 13:56:20.542402"]]
|
41128
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41129
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
41130
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41131
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41132
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.550389"], ["updated_at", "2015-02-17 13:56:20.550389"]]
|
41133
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41134
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41135
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-02-17 13:56:20.554682"], ["updated_at", "2015-02-17 13:56:20.554682"]]
|
41136
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41137
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
41138
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41139
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41140
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.559645"], ["updated_at", "2015-02-17 13:56:20.559645"]]
|
41141
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41142
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41143
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user14@sleede.com"], ["name", "user14"], ["created_at", "2015-02-17 13:56:20.561286"], ["updated_at", "2015-02-17 13:56:20.561286"]]
|
41144
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41145
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
41146
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41147
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41148
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.566111"], ["updated_at", "2015-02-17 13:56:20.566111"]]
|
41149
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41150
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41151
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-02-17 13:56:20.568424"], ["updated_at", "2015-02-17 13:56:20.568424"]]
|
41152
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41153
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41154
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:20.572236"], ["updated_at", "2015-02-17 13:56:20.572236"]]
|
41155
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41156
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
41157
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
41158
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41159
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41160
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.576482"], ["updated_at", "2015-02-17 13:56:20.576482"]]
|
41161
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41162
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41163
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user16@sleede.com"], ["name", "user16"], ["created_at", "2015-02-17 13:56:20.578534"], ["updated_at", "2015-02-17 13:56:20.578534"]]
|
41164
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41165
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41166
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:20.580904"], ["updated_at", "2015-02-17 13:56:20.580904"]]
|
41167
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41168
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
41169
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
41170
|
+
|
41171
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.8ms
|
41172
|
+
|
41173
|
+
Sent mail to user16@sleede.com (1.7ms)
|
41174
|
+
Date: Tue, 17 Feb 2015 14:56:20 +0100
|
41175
|
+
From: contact@sleede.com
|
41176
|
+
To: user16@sleede.com
|
41177
|
+
Message-ID: <54e348848eda0_89923ff560465bf0126db@pc12.home.mail>
|
41178
|
+
Subject: subject notify new message
|
41179
|
+
Mime-Version: 1.0
|
41180
|
+
Content-Type: text/html;
|
41181
|
+
charset=UTF-8
|
41182
|
+
Content-Transfer-Encoding: 7bit
|
41183
|
+
|
41184
|
+
<p>user16</p>
|
41185
|
+
<p>message body</p>
|
41186
|
+
|
41187
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
41188
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41189
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41190
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.589868"], ["updated_at", "2015-02-17 13:56:20.589868"]]
|
41191
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41192
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41193
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-02-17 13:56:20.592589"], ["updated_at", "2015-02-17 13:56:20.592589"]]
|
41194
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41195
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41196
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:20.595018"], ["updated_at", "2015-02-17 13:56:20.595018"]]
|
41197
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41198
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 2ed7e360-93d0-4561-b1e8-4e3550a8ba1e) to Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
41199
|
+
[ActiveJob] [1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
41200
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [2ed7e360-93d0-4561-b1e8-4e3550a8ba1e] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
41201
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [2ed7e360-93d0-4561-b1e8-4e3550a8ba1e] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
41202
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [2ed7e360-93d0-4561-b1e8-4e3550a8ba1e] [1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
41203
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [2ed7e360-93d0-4561-b1e8-4e3550a8ba1e] Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
41204
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [2ed7e360-93d0-4561-b1e8-4e3550a8ba1e] [1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41205
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [2ed7e360-93d0-4561-b1e8-4e3550a8ba1e]
|
41206
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 3.8ms
|
41207
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [2ed7e360-93d0-4561-b1e8-4e3550a8ba1e]
|
41208
|
+
Sent mail to user17@sleede.com (1.6ms)
|
41209
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [2ed7e360-93d0-4561-b1e8-4e3550a8ba1e] Date: Tue, 17 Feb 2015 14:56:20 +0100
|
41210
|
+
From: contact@sleede.com
|
41211
|
+
To: user17@sleede.com
|
41212
|
+
Message-ID: <54e348849849a_89923ff560465bf012756@pc12.home.mail>
|
41213
|
+
Subject: subject notify new message
|
41214
|
+
Mime-Version: 1.0
|
41215
|
+
Content-Type: text/html;
|
41216
|
+
charset=UTF-8
|
41217
|
+
Content-Transfer-Encoding: 7bit
|
41218
|
+
|
41219
|
+
<p>user17</p>
|
41220
|
+
<p>message body</p>
|
41221
|
+
|
41222
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [2ed7e360-93d0-4561-b1e8-4e3550a8ba1e] Performed ActionMailer::DeliveryJob from Inline(mailers) in 5.72ms
|
41223
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
41224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41225
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41226
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:20.627229"], ["updated_at", "2015-02-17 13:56:20.627229"]]
|
41227
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41229
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-02-17 13:56:20.628954"], ["updated_at", "2015-02-17 13:56:20.628954"]]
|
41230
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41231
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
41232
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41233
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41234
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:20.634167"], ["updated_at", "2015-02-17 13:56:20.634167"]]
|
41235
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41236
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41237
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-02-17 13:56:20.636851"], ["updated_at", "2015-02-17 13:56:20.636851"]]
|
41238
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41239
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
41240
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41241
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41242
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:20.642124"], ["updated_at", "2015-02-17 13:56:20.642124"]]
|
41243
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41244
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41245
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-02-17 13:56:20.645544"], ["updated_at", "2015-02-17 13:56:20.645544"]]
|
41246
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41247
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
41248
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41249
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41250
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:20.652608"], ["updated_at", "2015-02-17 13:56:20.652608"]]
|
41251
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41253
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-02-17 13:56:20.655991"], ["updated_at", "2015-02-17 13:56:20.655991"]]
|
41254
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41255
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
41256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41257
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:20.662972"], ["updated_at", "2015-02-17 13:56:20.662972"]]
|
41258
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41259
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
41260
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
41261
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41262
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41263
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:20.667223"], ["updated_at", "2015-02-17 13:56:20.667223"]]
|
41264
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41265
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41266
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user22@sleede.com"], ["name", "user22"], ["created_at", "2015-02-17 13:56:20.669069"], ["updated_at", "2015-02-17 13:56:20.669069"]]
|
41267
|
+
[1m[35m (1.5ms)[0m RELEASE SAVEPOINT active_record_1
|
41268
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41269
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:20.672953"], ["updated_at", "2015-02-17 13:56:20.672953"]]
|
41270
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41271
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
41272
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41273
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 1]]
|
41274
|
+
[1m[36mNotification Load (0.1ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE (attached_object_id = 1 and attached_object_type = 'Message')[0m
|
41275
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifications" WHERE "notifications"."id" = ? [["id", 1]]
|
41276
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41277
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
41278
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
41279
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41280
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41281
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41282
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41283
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
41284
|
+
[1m[36m (8.8ms)[0m [1mCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
41285
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "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_send" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
41286
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
41287
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
41288
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
41289
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
41290
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
41291
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150216115438')
|
41292
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150213150625')[0m
|
41293
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150213152846')
|
41294
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
41295
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41296
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41297
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user1@sleede.com"], ["name", "user1"], ["created_at", "2015-02-17 13:56:37.872686"], ["updated_at", "2015-02-17 13:56:37.872686"]]
|
41298
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41299
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41300
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:37.889228"], ["updated_at", "2015-02-17 13:56:37.889228"]]
|
41301
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41302
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41303
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:37.892793"], ["updated_at", "2015-02-17 13:56:37.892793"]]
|
41304
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41305
|
+
Processing by API::NotificationsController#index as JSON
|
41306
|
+
Rendered api/notifications/index.json.jbuilder (0.3ms)
|
41307
|
+
Completed 200 OK in 19ms (Views: 9.2ms | ActiveRecord: 0.0ms)
|
41308
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
41309
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41310
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41311
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user2@sleede.com"], ["name", "user2"], ["created_at", "2015-02-17 13:56:37.930339"], ["updated_at", "2015-02-17 13:56:37.930339"]]
|
41312
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41313
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41314
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:37.932275"], ["updated_at", "2015-02-17 13:56:37.932275"]]
|
41315
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41316
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41317
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:56:37.933989"], ["updated_at", "2015-02-17 13:56:37.933989"]]
|
41318
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41319
|
+
Processing by API::NotificationsController#index as JSON
|
41320
|
+
[1m[35mNotification Load (0.3ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
41321
|
+
[1m[36mMessage Load (0.1ms)[0m [1mSELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1[0m [["id", 1]]
|
41322
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.4ms)
|
41323
|
+
Rendered api/notifications/index.json.jbuilder (15.9ms)
|
41324
|
+
Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.4ms)
|
41325
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
41326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41327
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41328
|
+
[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-02-17 13:56:37.961152"], ["updated_at", "2015-02-17 13:56:37.961152"]]
|
41329
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41330
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41331
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:37.963595"], ["updated_at", "2015-02-17 13:56:37.963595"]]
|
41332
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41333
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41334
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:37.966679"], ["updated_at", "2015-02-17 13:56:37.966679"]]
|
41335
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41336
|
+
Processing by API::NotificationsController#show as JSON
|
41337
|
+
Parameters: {"id"=>"1"}
|
41338
|
+
[1m[36mNotification Load (0.2ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1[0m [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
41339
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
41340
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
41341
|
+
Rendered api/notifications/show.json.jbuilder (1.8ms)
|
41342
|
+
Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.2ms)
|
41343
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
41344
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41345
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41346
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user4@sleede.com"], ["name", "user4"], ["created_at", "2015-02-17 13:56:37.982473"], ["updated_at", "2015-02-17 13:56:37.982473"]]
|
41347
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41348
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41349
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:37.984374"], ["updated_at", "2015-02-17 13:56:37.984374"]]
|
41350
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41351
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41352
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:56:37.986136"], ["updated_at", "2015-02-17 13:56:37.986136"]]
|
41353
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41354
|
+
Processing by API::NotificationsController#update as JSON
|
41355
|
+
Parameters: {"id"=>"1"}
|
41356
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."id" = ? LIMIT 1 [["receiver_id", 1], ["receiver_type", "User"], ["id", 1]]
|
41357
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41358
|
+
[1m[35mMessage Load (0.1ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
41359
|
+
Rendered api/notifications/_notify_new_message.json.jbuilder (0.1ms)
|
41360
|
+
Rendered api/notifications/show.json.jbuilder (1.4ms)
|
41361
|
+
Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.2ms)
|
41362
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
41363
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41364
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41365
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user5@sleede.com"], ["name", "user5"], ["created_at", "2015-02-17 13:56:38.008632"], ["updated_at", "2015-02-17 13:56:38.008632"]]
|
41366
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41367
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41368
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:38.010492"], ["updated_at", "2015-02-17 13:56:38.010492"]]
|
41369
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41370
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41371
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:56:38.012171"], ["updated_at", "2015-02-17 13:56:38.012171"]]
|
41372
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41373
|
+
Processing by API::NotificationsController#update_all as JSON
|
41374
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? AND "notifications"."is_read" = 'f' ORDER BY "notifications"."id" ASC LIMIT 1000 [["receiver_id", 1], ["receiver_type", "User"]]
|
41375
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41376
|
+
Completed 204 No Content in 3ms (ActiveRecord: 0.2ms)
|
41377
|
+
[1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
41378
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
41379
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41380
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41381
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user6@sleede.com"], ["name", "user6"], ["created_at", "2015-02-17 13:56:38.182251"], ["updated_at", "2015-02-17 13:56:38.182251"]]
|
41382
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41383
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41384
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:38.184124"], ["updated_at", "2015-02-17 13:56:38.184124"]]
|
41385
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41386
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41387
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "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-02-17 13:56:38.185827"], ["updated_at", "2015-02-17 13:56:38.185827"]]
|
41388
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41389
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
41390
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41391
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41392
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user7@sleede.com"], ["name", "user7"], ["created_at", "2015-02-17 13:56:38.191173"], ["updated_at", "2015-02-17 13:56:38.191173"]]
|
41393
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41394
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41395
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.193034"], ["updated_at", "2015-02-17 13:56:38.193034"]]
|
41396
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41397
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41398
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:38.195069"], ["updated_at", "2015-02-17 13:56:38.195069"]]
|
41399
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41400
|
+
Rendered notifications_mailer/notify_new_message.html.erb (1.6ms)
|
41401
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41402
|
+
|
41403
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 15.6ms
|
41404
|
+
|
41405
|
+
Sent mail to user7@sleede.com (7.5ms)
|
41406
|
+
Date: Tue, 17 Feb 2015 14:56:38 +0100
|
41407
|
+
From: contact@sleede.com
|
41408
|
+
To: user7@sleede.com
|
41409
|
+
Message-ID: <54e34896351d9_89f43ffbdc463be872484@pc12.home.mail>
|
41410
|
+
Subject: subject notify new message
|
41411
|
+
Mime-Version: 1.0
|
41412
|
+
Content-Type: text/html;
|
41413
|
+
charset=UTF-8
|
41414
|
+
Content-Transfer-Encoding: 7bit
|
41415
|
+
|
41416
|
+
<p>user7</p>
|
41417
|
+
<p>message body</p>
|
41418
|
+
|
41419
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
41420
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41421
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41422
|
+
[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-02-17 13:56:38.224186"], ["updated_at", "2015-02-17 13:56:38.224186"]]
|
41423
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41424
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41425
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.227331"], ["updated_at", "2015-02-17 13:56:38.227331"]]
|
41426
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41427
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41428
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:38.229408"], ["updated_at", "2015-02-17 13:56:38.229408"]]
|
41429
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41430
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
41431
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41432
|
+
|
41433
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.9ms
|
41434
|
+
|
41435
|
+
Sent mail to user8@sleede.com (1.4ms)
|
41436
|
+
Date: Tue, 17 Feb 2015 14:56:38 +0100
|
41437
|
+
From: contact@sleede.com
|
41438
|
+
To: user8@sleede.com
|
41439
|
+
Message-ID: <54e3489638f8d_89f43ffbdc463be872513@pc12.home.mail>
|
41440
|
+
Subject: subject notify new message
|
41441
|
+
Mime-Version: 1.0
|
41442
|
+
Content-Type: text/html;
|
41443
|
+
charset=UTF-8
|
41444
|
+
Content-Transfer-Encoding: 7bit
|
41445
|
+
|
41446
|
+
<p>user8</p>
|
41447
|
+
<p>message body</p>
|
41448
|
+
|
41449
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
41450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41451
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41452
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user9@sleede.com"], ["name", "user9"], ["created_at", "2015-02-17 13:56:38.236922"], ["updated_at", "2015-02-17 13:56:38.236922"]]
|
41453
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41454
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41455
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.238622"], ["updated_at", "2015-02-17 13:56:38.238622"]]
|
41456
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41457
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41458
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:38.240988"], ["updated_at", "2015-02-17 13:56:38.240988"]]
|
41459
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41460
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
41461
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41462
|
+
|
41463
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.5ms
|
41464
|
+
|
41465
|
+
Sent mail to user9@sleede.com (1.5ms)
|
41466
|
+
Date: Tue, 17 Feb 2015 14:56:38 +0100
|
41467
|
+
From: contact@sleede.com
|
41468
|
+
To: user9@sleede.com
|
41469
|
+
Message-ID: <54e348963bae1_89f43ffbdc463be87269f@pc12.home.mail>
|
41470
|
+
Subject: subject notify new message
|
41471
|
+
Mime-Version: 1.0
|
41472
|
+
Content-Type: text/html;
|
41473
|
+
charset=UTF-8
|
41474
|
+
Content-Transfer-Encoding: 7bit
|
41475
|
+
|
41476
|
+
<p>user9</p>
|
41477
|
+
<p>message body</p>
|
41478
|
+
|
41479
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
41480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41481
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41482
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user10@sleede.com"], ["name", "user10"], ["created_at", "2015-02-17 13:56:38.248285"], ["updated_at", "2015-02-17 13:56:38.248285"]]
|
41483
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41484
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41485
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.250077"], ["updated_at", "2015-02-17 13:56:38.250077"]]
|
41486
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41487
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41488
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "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-02-17 13:56:38.251566"], ["updated_at", "2015-02-17 13:56:38.251566"]]
|
41489
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41490
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
41491
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41492
|
+
|
41493
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.3ms
|
41494
|
+
|
41495
|
+
Sent mail to user10@sleede.com (8.1ms)
|
41496
|
+
Date: Tue, 17 Feb 2015 14:56:38 +0100
|
41497
|
+
From: contact@sleede.com
|
41498
|
+
To: user10@sleede.com
|
41499
|
+
Message-ID: <54e348963e2c5_89f43ffbdc463be8727e2@pc12.home.mail>
|
41500
|
+
Subject: subject notify new message
|
41501
|
+
Mime-Version: 1.0
|
41502
|
+
Content-Type: text/html;
|
41503
|
+
charset=UTF-8
|
41504
|
+
Content-Transfer-Encoding: 7bit
|
41505
|
+
|
41506
|
+
<p>user10</p>
|
41507
|
+
<p>message body</p>
|
41508
|
+
|
41509
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
41510
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41511
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41512
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:38.264758"], ["updated_at", "2015-02-17 13:56:38.264758"]]
|
41513
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41515
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user11@sleede.com"], ["name", "user11"], ["created_at", "2015-02-17 13:56:38.266331"], ["updated_at", "2015-02-17 13:56:38.266331"]]
|
41516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41517
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41518
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:38.268267"], ["updated_at", "2015-02-17 13:56:38.268267"]]
|
41519
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41520
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
41521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41522
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41523
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.271826"], ["updated_at", "2015-02-17 13:56:38.271826"]]
|
41524
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41525
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41526
|
+
[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-02-17 13:56:38.273684"], ["updated_at", "2015-02-17 13:56:38.273684"]]
|
41527
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41528
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
41529
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41530
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41531
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.280396"], ["updated_at", "2015-02-17 13:56:38.280396"]]
|
41532
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41533
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41534
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user13@sleede.com"], ["name", "user13"], ["created_at", "2015-02-17 13:56:38.281980"], ["updated_at", "2015-02-17 13:56:38.281980"]]
|
41535
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41536
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
41537
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41538
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41539
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.287174"], ["updated_at", "2015-02-17 13:56:38.287174"]]
|
41540
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41541
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41542
|
+
[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-02-17 13:56:38.289350"], ["updated_at", "2015-02-17 13:56:38.289350"]]
|
41543
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41544
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
41545
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41546
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41547
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.293998"], ["updated_at", "2015-02-17 13:56:38.293998"]]
|
41548
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41550
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user15@sleede.com"], ["name", "user15"], ["created_at", "2015-02-17 13:56:38.295708"], ["updated_at", "2015-02-17 13:56:38.295708"]]
|
41551
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41552
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41553
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:38.298282"], ["updated_at", "2015-02-17 13:56:38.298282"]]
|
41554
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41555
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "notifications" SET "is_read" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
41556
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
41557
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41558
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41559
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.301683"], ["updated_at", "2015-02-17 13:56:38.301683"]]
|
41560
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41561
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41562
|
+
[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-02-17 13:56:38.303505"], ["updated_at", "2015-02-17 13:56:38.303505"]]
|
41563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41565
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:38.305631"], ["updated_at", "2015-02-17 13:56:38.305631"]]
|
41566
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41567
|
+
Rendered notifications_mailer/notify_new_message.html.erb (0.0ms)
|
41568
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ? [["id", 1]]
|
41569
|
+
|
41570
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 1.6ms
|
41571
|
+
|
41572
|
+
Sent mail to user16@sleede.com (1.4ms)
|
41573
|
+
Date: Tue, 17 Feb 2015 14:56:38 +0100
|
41574
|
+
From: contact@sleede.com
|
41575
|
+
To: user16@sleede.com
|
41576
|
+
Message-ID: <54e348964b70f_89f43ffbdc463be87289a@pc12.home.mail>
|
41577
|
+
Subject: subject notify new message
|
41578
|
+
Mime-Version: 1.0
|
41579
|
+
Content-Type: text/html;
|
41580
|
+
charset=UTF-8
|
41581
|
+
Content-Transfer-Encoding: 7bit
|
41582
|
+
|
41583
|
+
<p>user16</p>
|
41584
|
+
<p>message body</p>
|
41585
|
+
|
41586
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
41587
|
+
[1m[35m (0.1ms)[0m begin transaction
|
41588
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41589
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.313442"], ["updated_at", "2015-02-17 13:56:38.313442"]]
|
41590
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41591
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41592
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user17@sleede.com"], ["name", "user17"], ["created_at", "2015-02-17 13:56:38.315526"], ["updated_at", "2015-02-17 13:56:38.315526"]]
|
41593
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41594
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41595
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:38.317806"], ["updated_at", "2015-02-17 13:56:38.317806"]]
|
41596
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41597
|
+
[ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: ee33edc9-f9fa-407a-aa2c-1f9a3293d784) to Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
41598
|
+
[ActiveJob] [1m[35mNotification Load (0.1ms)[0m SELECT "notifications".* FROM "notifications" WHERE "notifications"."id" = ? LIMIT 1 [["id", 1]]
|
41599
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [ee33edc9-f9fa-407a-aa2c-1f9a3293d784] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "NotificationsMailer", "send_mail_by", "deliver_now", gid://dummy/Notification/1
|
41600
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [ee33edc9-f9fa-407a-aa2c-1f9a3293d784] [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
41601
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [ee33edc9-f9fa-407a-aa2c-1f9a3293d784] [1m[35mMessage Load (0.0ms)[0m SELECT "messages".* FROM "messages" WHERE "messages"."id" = ? LIMIT 1 [["id", 1]]
|
41602
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [ee33edc9-f9fa-407a-aa2c-1f9a3293d784] Rendered notifications_mailer/notify_new_message.html.erb (0.1ms)
|
41603
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [ee33edc9-f9fa-407a-aa2c-1f9a3293d784] [1m[36mSQL (0.0ms)[0m [1mUPDATE "notifications" SET "is_send" = 't' WHERE "notifications"."id" = ?[0m [["id", 1]]
|
41604
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [ee33edc9-f9fa-407a-aa2c-1f9a3293d784]
|
41605
|
+
NotificationsMailer#send_mail_by: processed outbound mail in 3.3ms
|
41606
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [ee33edc9-f9fa-407a-aa2c-1f9a3293d784]
|
41607
|
+
Sent mail to user17@sleede.com (1.4ms)
|
41608
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [ee33edc9-f9fa-407a-aa2c-1f9a3293d784] Date: Tue, 17 Feb 2015 14:56:38 +0100
|
41609
|
+
From: contact@sleede.com
|
41610
|
+
To: user17@sleede.com
|
41611
|
+
Message-ID: <54e3489653105_89f43ffbdc463be872991@pc12.home.mail>
|
41612
|
+
Subject: subject notify new message
|
41613
|
+
Mime-Version: 1.0
|
41614
|
+
Content-Type: text/html;
|
41615
|
+
charset=UTF-8
|
41616
|
+
Content-Transfer-Encoding: 7bit
|
41617
|
+
|
41618
|
+
<p>user17</p>
|
41619
|
+
<p>message body</p>
|
41620
|
+
|
41621
|
+
[ActiveJob] [ActionMailer::DeliveryJob] [ee33edc9-f9fa-407a-aa2c-1f9a3293d784] Performed ActionMailer::DeliveryJob from Inline(mailers) in 5.0ms
|
41622
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
41623
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41624
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41625
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:38.343403"], ["updated_at", "2015-02-17 13:56:38.343403"]]
|
41626
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41627
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41628
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user18@sleede.com"], ["name", "user18"], ["created_at", "2015-02-17 13:56:38.345299"], ["updated_at", "2015-02-17 13:56:38.345299"]]
|
41629
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41630
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
41631
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41632
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41633
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:38.348570"], ["updated_at", "2015-02-17 13:56:38.348570"]]
|
41634
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41635
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41636
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user19@sleede.com"], ["name", "user19"], ["created_at", "2015-02-17 13:56:38.350346"], ["updated_at", "2015-02-17 13:56:38.350346"]]
|
41637
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41638
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
41639
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
41640
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
41641
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:38.354903"], ["updated_at", "2015-02-17 13:56:38.354903"]]
|
41642
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
41643
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41644
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user20@sleede.com"], ["name", "user20"], ["created_at", "2015-02-17 13:56:38.357935"], ["updated_at", "2015-02-17 13:56:38.357935"]]
|
41645
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41646
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
41647
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
41648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41649
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["body", "message body"], ["created_at", "2015-02-17 13:56:38.361977"], ["updated_at", "2015-02-17 13:56:38.361977"]]
|
41650
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41651
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41652
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["email", "user21@sleede.com"], ["name", "user21"], ["created_at", "2015-02-17 13:56:38.363508"], ["updated_at", "2015-02-17 13:56:38.363508"]]
|
41653
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41654
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
41655
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41656
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:38.370436"], ["updated_at", "2015-02-17 13:56:38.370436"]]
|
41657
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41658
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
41659
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
41660
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41661
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
41662
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "messages" ("body", "created_at", "updated_at") VALUES (?, ?, ?) [["body", "message body"], ["created_at", "2015-02-17 13:56:38.375627"], ["updated_at", "2015-02-17 13:56:38.375627"]]
|
41663
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41664
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
41665
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["email", "user22@sleede.com"], ["name", "user22"], ["created_at", "2015-02-17 13:56:38.377436"], ["updated_at", "2015-02-17 13:56:38.377436"]]
|
41666
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41667
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41668
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "notifications" ("notification_type_id", "attached_object_id", "attached_object_type", "receiver_id", "receiver_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["notification_type_id", 1], ["attached_object_id", 1], ["attached_object_type", "Message"], ["receiver_id", 1], ["receiver_type", "User"], ["created_at", "2015-02-17 13:56:38.379361"], ["updated_at", "2015-02-17 13:56:38.379361"]]
|
41669
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41670
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
41671
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
41672
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "messages" WHERE "messages"."id" = ? [["id", 1]]
|
41673
|
+
[1m[36mNotification Load (0.1ms)[0m [1mSELECT "notifications".* FROM "notifications" WHERE (attached_object_id = 1 and attached_object_type = 'Message')[0m
|
41674
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "notifications" WHERE "notifications"."id" = ? [["id", 1]]
|
41675
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
41676
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "notifications" WHERE "notifications"."receiver_id" = ? AND "notifications"."receiver_type" = ? [["receiver_id", 1], ["receiver_type", "User"]]
|
41677
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
41678
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41679
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
41680
|
+
[1m[35m (0.0ms)[0m begin transaction
|
41681
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|