-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevelopment.log
785 lines (649 loc) · 43.9 KB
/
development.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
Started GET "/" for 127.0.0.1 at 2018-04-17 12:02:59 +0800
Processing by WelcomeController#index as HTML
Rendering welcome/index.html.erb within layouts/application
Rendered welcome/index.html.erb within layouts/application (1.6ms)
Rendered common/_navbar.html.erb (0.7ms)
Rendered common/_footer.html.erb (0.5ms)
Completed 200 OK in 5278ms (Views: 5121.6ms)
Started GET "/" for 127.0.0.1 at 2018-04-17 12:12:02 +0800
Processing by WelcomeController#index as HTML
Rendering welcome/index.html.erb within layouts/application
Rendered welcome/index.html.erb within layouts/application (1.5ms)
Rendered common/_navbar.html.erb (0.5ms)
Rendered common/_flashes.html.erb (1.0ms)
Rendered common/_footer.html.erb (0.6ms)
Completed 200 OK in 82ms (Views: 78.5ms)
Started GET "/" for 127.0.0.1 at 2018-04-17 12:22:11 +0800
Processing by WelcomeController#index as HTML
Rendering welcome/index.html.erb within layouts/application
Rendered welcome/index.html.erb within layouts/application (0.3ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.8ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 49ms (Views: 44.3ms)
Started GET "/" for 127.0.0.1 at 2018-04-17 12:22:42 +0800
Processing by WelcomeController#index as HTML
Rendering welcome/index.html.erb within layouts/application
Rendered welcome/index.html.erb within layouts/application (0.4ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.7ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 40ms (Views: 35.4ms)
Started GET "/" for 127.0.0.1 at 2018-04-17 12:22:43 +0800
Processing by WelcomeController#index as HTML
Rendering welcome/index.html.erb within layouts/application
Rendered welcome/index.html.erb within layouts/application (0.6ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (1.2ms)
Rendered common/_footer.html.erb (0.5ms)
Completed 200 OK in 50ms (Views: 46.6ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to DeviseCreateUsers (20180417043022)
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_users_on_email' AND type='index'
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_users_on_email' AND type='index'
[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180417043022"]]
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-04-17 04:30:56.274076"], ["updated_at", "2018-04-17 04:30:56.274076"]]
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_users_on_reset_password_token' AND type='index'
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_users_on_reset_password_token' AND type='index'
[0m
[1m[35m (0.4ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_users_on_email' AND type='index'
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_users_on_email' AND type='index'
[0m
Started GET "/" for 127.0.0.1 at 2018-04-17 12:32:08 +0800
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by WelcomeController#index as HTML
Rendering welcome/index.html.erb within layouts/application
Rendered welcome/index.html.erb within layouts/application (1.1ms)
Rendered common/_navbar.html.erb (0.7ms)
Rendered common/_flashes.html.erb (0.9ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 349ms (Views: 339.0ms | ActiveRecord: 0.0ms)
Started GET "/" for 127.0.0.1 at 2018-04-17 12:32:11 +0800
Processing by WelcomeController#index as HTML
Rendering welcome/index.html.erb within layouts/application
Rendered welcome/index.html.erb within layouts/application (0.9ms)
Rendered common/_navbar.html.erb (0.5ms)
Rendered common/_flashes.html.erb (0.6ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 105ms (Views: 99.6ms | ActiveRecord: 0.0ms)
Started GET "/" for 127.0.0.1 at 2018-04-17 12:32:14 +0800
Processing by WelcomeController#index as HTML
Rendering welcome/index.html.erb within layouts/application
Rendered welcome/index.html.erb within layouts/application (0.7ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.4ms)
Rendered common/_footer.html.erb (0.7ms)
Completed 200 OK in 70ms (Views: 67.1ms | ActiveRecord: 0.0ms)
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to CreateThreats (20180417055924)
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "threats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180417055924"]]
[1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_users_on_reset_password_token' AND type='index'
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_users_on_reset_password_token' AND type='index'
[0m
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_users_on_email' AND type='index'
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_users_on_email' AND type='index'
[0m
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:04:16 +0800
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats" LIMIT ?[0m [["LIMIT", 11]]
[1m[36mCACHE Threat Load (0.0ms)[0m [1m[34mSELECT "threats".* FROM "threats" LIMIT ?[0m [["LIMIT", 11]]
[1m[36mCACHE Threat Load (0.0ms)[0m [1m[34mSELECT "threats".* FROM "threats" LIMIT ?[0m [["LIMIT", 11]]
[1m[36mCACHE Threat Load (0.0ms)[0m [1m[34mSELECT "threats".* FROM "threats" LIMIT ?[0m [["LIMIT", 11]]
[1m[36mCACHE Threat Load (0.0ms)[0m [1m[34mSELECT "threats".* FROM "threats" LIMIT ?[0m [["LIMIT", 11]]
[1m[36mCACHE Threat Load (0.0ms)[0m [1m[34mSELECT "threats".* FROM "threats" LIMIT ?[0m [["LIMIT", 11]]
[1m[36mCACHE Threat Load (0.0ms)[0m [1m[34mSELECT "threats".* FROM "threats" LIMIT ?[0m [["LIMIT", 11]]
[1m[36mCACHE Threat Load (0.0ms)[0m [1m[34mSELECT "threats".* FROM "threats" LIMIT ?[0m [["LIMIT", 11]]
Rendered threats/index.html.erb within layouts/application (269.4ms)
Completed 500 Internal Server Error in 281ms (ActiveRecord: 0.6ms)
ActionView::Template::Error (undefined local variable or method `new_group_path' for #<#<Class:0x007f98a6672050>:0x007f98a66617c8>
Did you mean? new_password_path):
1: <div class="col-md-12">
2: <div class="group">
3: <%= link_to("New group", new_group_path, class: "btn btn-primary pull-right") %>
4: </div>
5: <table class="table table-hover">
6: <thead>
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:06:07 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (1.3ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (1.0ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 1878ms (Views: 1874.3ms | ActiveRecord: 0.2ms)
Started GET "/threats/new" for 127.0.0.1 at 2018-04-17 14:06:13 +0800
AbstractController::ActionNotFound (The action 'new' could not be found for ThreatsController):
actionpack (5.1.6) lib/abstract_controller/base.rb:119:in `process'
actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
warden (1.2.7) lib/warden/manager.rb:35:in `catch'
warden (1.2.7) lib/warden/manager.rb:35:in `call'
rack (2.0.4) lib/rack/etag.rb:25:in `call'
rack (2.0.4) lib/rack/conditional_get.rb:25:in `call'
rack (2.0.4) lib/rack/head.rb:12:in `call'
rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
web-console (3.6.0) lib/web_console/middleware.rb:137:in `call_app'
web-console (3.6.0) lib/web_console/middleware.rb:30:in `block in call'
web-console (3.6.0) lib/web_console/middleware.rb:20:in `catch'
web-console (3.6.0) lib/web_console/middleware.rb:20:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.4) lib/rack/method_override.rb:22:in `call'
rack (2.0.4) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
railties (5.1.6) lib/rails/engine.rb:522:in `call'
puma (3.11.4) lib/puma/configuration.rb:225:in `call'
puma (3.11.4) lib/puma/server.rb:632:in `handle_request'
puma (3.11.4) lib/puma/server.rb:446:in `process_client'
puma (3.11.4) lib/puma/server.rb:306:in `block in run'
puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:06:14 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.5ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (3.8ms)
Rendered common/_navbar.html.erb (0.5ms)
Rendered common/_flashes.html.erb (0.6ms)
Rendered common/_footer.html.erb (1.6ms)
Completed 200 OK in 86ms (Views: 80.0ms | ActiveRecord: 0.5ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:24:29 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (4.2ms)
Rendered common/_navbar.html.erb (0.5ms)
Rendered common/_flashes.html.erb (0.5ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 65ms (Views: 61.0ms | ActiveRecord: 1.2ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:29:32 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (1.6ms)
Rendered common/_navbar.html.erb (0.5ms)
Rendered common/_flashes.html.erb (0.5ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 55ms (Views: 52.2ms | ActiveRecord: 0.2ms)
Started GET "/threats/new" for 127.0.0.1 at 2018-04-17 14:29:33 +0800
Processing by ThreatsController#new as HTML
Rendering threats/new.html.erb within layouts/application
Rendered threats/new.html.erb within layouts/application (24.3ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.6ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 100ms (Views: 84.6ms | ActiveRecord: 0.5ms)
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:29:37 +0800
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"22VlXPttocbOPFBGp0nRg5ZsK5uyZyo+dK/f79OUkicyrPVJN6FrvJB7tIC8RN4UfdN8BzmQd/4kAYu947m5Fg==", "threat"=>{"title"=>"adsfa ", "description"=>"asdf as "}, "commit"=>"Submit"}
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", nil], ["LIMIT", 1]]
Completed 404 Not Found in 4ms (ActiveRecord: 0.2ms)
ActiveRecord::RecordNotFound (Couldn't find Threat with 'id'=):
app/controllers/threats_controller.rb:15:in `create'
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:30:41 +0800
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"22VlXPttocbOPFBGp0nRg5ZsK5uyZyo+dK/f79OUkicyrPVJN6FrvJB7tIC8RN4UfdN8BzmQd/4kAYu947m5Fg==", "threat"=>{"title"=>"adsfa ", "description"=>"asdf as "}, "commit"=>"Submit"}
[1m[36mThreat Load (0.3ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", nil], ["LIMIT", 1]]
Completed 404 Not Found in 18ms (ActiveRecord: 1.1ms)
ActiveRecord::RecordNotFound (Couldn't find Threat with 'id'=):
app/controllers/threats_controller.rb:15:in `create'
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_users_on_reset_password_token' AND type='index'
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_users_on_reset_password_token' AND type='index'
[0m
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_users_on_email' AND type='index'
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_users_on_email' AND type='index'
[0m
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:34:34 +0800
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"22VlXPttocbOPFBGp0nRg5ZsK5uyZyo+dK/f79OUkicyrPVJN6FrvJB7tIC8RN4UfdN8BzmQd/4kAYu947m5Fg==", "threat"=>{"title"=>"adsfa ", "description"=>"asdf as "}, "commit"=>"Submit"}
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", nil], ["LIMIT", 1]]
Completed 404 Not Found in 17ms (ActiveRecord: 0.8ms)
ActiveRecord::RecordNotFound (Couldn't find Threat with 'id'=):
app/controllers/threats_controller.rb:15:in `create'
Started GET "/" for 127.0.0.1 at 2018-04-17 14:35:00 +0800
ActionController::RoutingError (uninitialized constant ThreatController):
activesupport (5.1.6) lib/active_support/inflector/methods.rb:269:in `const_get'
activesupport (5.1.6) lib/active_support/inflector/methods.rb:269:in `block in constantize'
activesupport (5.1.6) lib/active_support/inflector/methods.rb:267:in `each'
activesupport (5.1.6) lib/active_support/inflector/methods.rb:267:in `inject'
activesupport (5.1.6) lib/active_support/inflector/methods.rb:267:in `constantize'
actionpack (5.1.6) lib/action_dispatch/http/request.rb:85:in `controller_class_for'
actionpack (5.1.6) lib/action_dispatch/http/request.rb:78:in `controller_class'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:43:in `controller'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:29:in `serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
warden (1.2.7) lib/warden/manager.rb:35:in `catch'
warden (1.2.7) lib/warden/manager.rb:35:in `call'
rack (2.0.4) lib/rack/etag.rb:25:in `call'
rack (2.0.4) lib/rack/conditional_get.rb:25:in `call'
rack (2.0.4) lib/rack/head.rb:12:in `call'
rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
web-console (3.6.0) lib/web_console/middleware.rb:137:in `call_app'
web-console (3.6.0) lib/web_console/middleware.rb:30:in `block in call'
web-console (3.6.0) lib/web_console/middleware.rb:20:in `catch'
web-console (3.6.0) lib/web_console/middleware.rb:20:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
rack (2.0.4) lib/rack/method_override.rb:22:in `call'
rack (2.0.4) lib/rack/runtime.rb:22:in `call'
activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
railties (5.1.6) lib/rails/engine.rb:522:in `call'
puma (3.11.4) lib/puma/configuration.rb:225:in `call'
puma (3.11.4) lib/puma/server.rb:632:in `handle_request'
puma (3.11.4) lib/puma/server.rb:446:in `process_client'
puma (3.11.4) lib/puma/server.rb:306:in `block in run'
puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
Started GET "/" for 127.0.0.1 at 2018-04-17 14:35:52 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (3.5ms)
Rendered common/_navbar.html.erb (0.8ms)
Rendered common/_flashes.html.erb (0.7ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 216ms (Views: 209.6ms | ActiveRecord: 0.8ms)
Started GET "/threats/new" for 127.0.0.1 at 2018-04-17 14:35:57 +0800
Processing by ThreatsController#new as HTML
Rendering threats/new.html.erb within layouts/application
Rendered threats/new.html.erb within layouts/application (6.4ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.4ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 113ms (Views: 92.8ms | ActiveRecord: 0.5ms)
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:36:01 +0800
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"r4c2inx1H/XTn+/fBTZR6JOyGjy/FPmdD/mFaTxsyjdGTqafsLnVj43YCxkeO15/eA1NoDTjpF1fV9E7DEHhBg==", "threat"=>{"title"=>"sdfa ", "description"=>"adsf a "}, "commit"=>"Submit"}
[1m[36mThreat Load (0.4ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", nil], ["LIMIT", 1]]
Completed 404 Not Found in 6ms (ActiveRecord: 0.4ms)
ActiveRecord::RecordNotFound (Couldn't find Threat with 'id'=):
app/controllers/threats_controller.rb:15:in `create'
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:38:12 +0800
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"r4c2inx1H/XTn+/fBTZR6JOyGjy/FPmdD/mFaTxsyjdGTqafsLnVj43YCxkeO15/eA1NoDTjpF1fV9E7DEHhBg==", "threat"=>{"title"=>"sdfa ", "description"=>"adsf a "}, "commit"=>"Submit"}
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", nil], ["LIMIT", 1]]
Completed 404 Not Found in 6ms (ActiveRecord: 1.1ms)
ActiveRecord::RecordNotFound (Couldn't find Threat with 'id'=):
app/controllers/threats_controller.rb:15:in `create'
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:38:16 +0800
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"r4c2inx1H/XTn+/fBTZR6JOyGjy/FPmdD/mFaTxsyjdGTqafsLnVj43YCxkeO15/eA1NoDTjpF1fV9E7DEHhBg==", "threat"=>{"title"=>"sdfa ", "description"=>"adsf a "}, "commit"=>"Submit"}
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", nil], ["LIMIT", 1]]
Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms)
ActiveRecord::RecordNotFound (Couldn't find Threat with 'id'=):
app/controllers/threats_controller.rb:15:in `create'
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:38:23 +0800
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jQYEQpxezmyngpAsKp6uN2Gbg3Zudj2S6L0tCNcQzgTnb0oydTqhCc589t7K1nrgQOAkq3q0u2tngYMGVqE3ig==", "threat"=>{"title"=>"sdfa ", "description"=>"adsf a "}, "commit"=>"Submit"}
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", nil], ["LIMIT", 1]]
Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms)
ActiveRecord::RecordNotFound (Couldn't find Threat with 'id'=):
app/controllers/threats_controller.rb:15:in `create'
Started GET "/threats/new" for 127.0.0.1 at 2018-04-17 14:39:38 +0800
Processing by ThreatsController#new as HTML
Rendering threats/new.html.erb within layouts/application
Rendered threats/new.html.erb within layouts/application (1.6ms)
Rendered common/_navbar.html.erb (0.8ms)
Rendered common/_flashes.html.erb (0.5ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 67ms (Views: 56.7ms | ActiveRecord: 0.0ms)
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:39:43 +0800
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"BCbv/9MYRJzELG+NfPfE73mVy7j3OsaeU38aTIhUm5xuT6GPOnwr+a3SCX+cvxA4WO5sZeP4QGfcQ7RCCeViEg==", "threat"=>{"title"=>"asdf a", "description"=>"asd fa "}, "commit"=>"Submit"}
[1m[36mThreat Load (0.4ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", nil], ["LIMIT", 1]]
Completed 404 Not Found in 4ms (ActiveRecord: 0.4ms)
ActiveRecord::RecordNotFound (Couldn't find Threat with 'id'=):
app/controllers/threats_controller.rb:15:in `create'
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:41:21 +0800
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"BCbv/9MYRJzELG+NfPfE73mVy7j3OsaeU38aTIhUm5xuT6GPOnwr+a3SCX+cvxA4WO5sZeP4QGfcQ7RCCeViEg==", "threat"=>{"title"=>"asdf a", "description"=>"asd fa "}, "commit"=>"Submit"}
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "threats" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "asdf a"], ["description", "asd fa "], ["created_at", "2018-04-17 06:41:21.168775"], ["updated_at", "2018-04-17 06:41:21.168775"]]
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Redirected to http://localhost:3000/threats
Completed 302 Found in 14ms (ActiveRecord: 2.6ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:41:21 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (4.5ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.5ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 52ms (Views: 48.4ms | ActiveRecord: 0.2ms)
Started GET "/threats/1/edit" for 127.0.0.1 at 2018-04-17 14:41:24 +0800
Processing by ThreatsController#edit as HTML
Parameters: {"id"=>"1"}
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
Rendering threats/edit.html.erb within layouts/application
Rendered threats/edit.html.erb within layouts/application (4.9ms)
Rendered common/_navbar.html.erb (0.5ms)
Rendered common/_flashes.html.erb (0.4ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 82ms (Views: 73.6ms | ActiveRecord: 0.2ms)
Started PATCH "/threats/1" for 127.0.0.1 at 2018-04-17 14:41:28 +0800
Processing by ThreatsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"9WRGBO7ds7++yvGSnIubhNnmsRjukhYodfaZHCTvCe0Dpmy+9qPRtKYNVRWCjGRo3o/3lSya6Y+OlVUL2E4TMQ==", "threat"=>{"title"=>"asdf a", "description"=>"asd f"}, "commit"=>"Submit", "id"=>"1"}
[1m[36mThreat Load (0.3ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "threats" SET "description" = ?, "updated_at" = ? WHERE "threats"."id" = ?[0m [["description", "asd f"], ["updated_at", "2018-04-17 06:41:28.440676"], ["id", 1]]
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
Redirected to http://localhost:3000/threats
Completed 302 Found in 11ms (ActiveRecord: 2.2ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:41:28 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.3ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (2.0ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.5ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 43ms (Views: 39.1ms | ActiveRecord: 0.3ms)
Started DELETE "/threats/1" for 127.0.0.1 at 2018-04-17 14:41:32 +0800
Processing by ThreatsController#destroy as HTML
Parameters: {"authenticity_token"=>"GD96rAa6+zYcIpCNqR7lIpVwKRi7W2G2TB8UlJTBTkxyVjTc796UU3Xc9n9JVjH1tAuOxa+Z50/DI7qaFXC3wg==", "id"=>"1"}
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35mSQL (0.9ms)[0m [1m[31mDELETE FROM "threats" WHERE "threats"."id" = ?[0m [["id", 1]]
[1m[35m (2.4ms)[0m [1m[36mcommit transaction[0m
Redirected to http://localhost:3000/threats
Completed 302 Found in 15ms (ActiveRecord: 3.6ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:41:32 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (1.4ms)
Rendered common/_navbar.html.erb (0.5ms)
Rendered common/_flashes.html.erb (0.5ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 53ms (Views: 49.7ms | ActiveRecord: 0.2ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:41:37 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (1.4ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.5ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 42ms (Views: 39.5ms | ActiveRecord: 0.2ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:53:34 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.1ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (3.1ms)
Rendered common/_navbar.html.erb (0.5ms)
Rendered common/_flashes.html.erb (0.5ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 61ms (Views: 55.7ms | ActiveRecord: 0.7ms)
Started GET "/threats/new" for 127.0.0.1 at 2018-04-17 14:53:37 +0800
Processing by ThreatsController#new as HTML
Rendering threats/new.html.erb within layouts/application
Rendered threats/new.html.erb within layouts/application (5.3ms)
Rendered common/_navbar.html.erb (0.8ms)
Rendered common/_flashes.html.erb (1.0ms)
Rendered common/_footer.html.erb (0.5ms)
Completed 200 OK in 95ms (Views: 75.9ms | ActiveRecord: 0.7ms)
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:53:41 +0800
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Wb63JgZ4N+70t61MyNxBQGwIst26F8BaNq6uXmDY7QewdyczyrT9lKrwSYrT0U7Xh7flQTHgnZpmAPoMUPXGNg==", "threat"=>{"title"=>"asdf sa", "description"=>"asd fa "}, "commit"=>"Submit"}
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "threats" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "asdf sa"], ["description", "asd fa "], ["created_at", "2018-04-17 06:53:41.273307"], ["updated_at", "2018-04-17 06:53:41.273307"]]
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
Redirected to http://localhost:3000/threats
Completed 302 Found in 9ms (ActiveRecord: 1.6ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:53:41 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.5ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (3.2ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.5ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 45ms (Views: 41.6ms | ActiveRecord: 0.5ms)
Started GET "/threats/2/edit" for 127.0.0.1 at 2018-04-17 14:53:49 +0800
Processing by ThreatsController#edit as HTML
Parameters: {"id"=>"2"}
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
Rendering threats/edit.html.erb within layouts/application
Rendered threats/edit.html.erb within layouts/application (2.2ms)
Rendered common/_navbar.html.erb (0.6ms)
Rendered common/_flashes.html.erb (0.6ms)
Rendered common/_footer.html.erb (0.5ms)
Completed 200 OK in 81ms (Views: 66.7ms | ActiveRecord: 0.2ms)
Started PATCH "/threats/2" for 127.0.0.1 at 2018-04-17 14:53:53 +0800
Processing by ThreatsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"mtNGT57R5KKHJ+jSOldeyqjA62o8dD6QMXU/ORquHUh14WIDxHux9pEuZphDuwy4rQUlD7jnelPdYghaXvqQAA==", "threat"=>{"title"=>"", "description"=>"asd fa "}, "commit"=>"Submit", "id"=>"2"}
[1m[36mThreat Load (0.3ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
Rendering threats/edit.html.erb within layouts/application
Rendered threats/edit.html.erb within layouts/application (3.8ms)
Rendered common/_navbar.html.erb (0.5ms)
Rendered common/_flashes.html.erb (0.6ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 68ms (Views: 47.8ms | ActiveRecord: 0.5ms)
Started PATCH "/threats/2" for 127.0.0.1 at 2018-04-17 14:53:59 +0800
Processing by ThreatsController#update as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"WUuzRFS3TzJxxGvbKRt0wx4cL1f/aaIwUajbQVSHPrszIv00vdMgVxg6DSnJU6AUP2eIiuurJMnelHVP1TbHNQ==", "threat"=>{"title"=>"sad ", "description"=>"asd fa "}, "commit"=>"Submit", "id"=>"2"}
[1m[36mThreat Load (0.3ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35mSQL (0.9ms)[0m [1m[33mUPDATE "threats" SET "title" = ?, "updated_at" = ? WHERE "threats"."id" = ?[0m [["title", "sad "], ["updated_at", "2018-04-17 06:53:59.274451"], ["id", 2]]
[1m[35m (2.8ms)[0m [1m[36mcommit transaction[0m
Redirected to http://localhost:3000/threats
Completed 302 Found in 10ms (ActiveRecord: 4.1ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:53:59 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (2.0ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.7ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 44ms (Views: 41.0ms | ActiveRecord: 0.2ms)
Started GET "/threats/new" for 127.0.0.1 at 2018-04-17 14:54:01 +0800
Processing by ThreatsController#new as HTML
Rendering threats/new.html.erb within layouts/application
Rendered threats/new.html.erb within layouts/application (1.7ms)
Rendered common/_navbar.html.erb (0.9ms)
Rendered common/_flashes.html.erb (0.7ms)
Rendered common/_footer.html.erb (0.5ms)
Completed 200 OK in 103ms (Views: 100.4ms | ActiveRecord: 0.0ms)
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:54:03 +0800
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"7PWDqjwOh7MIh/b+TFJUYg+HSmHYW22YHxQhFmKV7gIFPBO/8MJNyVbAEjhXX1v15Dgd/VOsMFhPunVEUrjFMw==", "threat"=>{"title"=>"", "description"=>"撒d"}, "commit"=>"Submit"}
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
Rendering threats/new.html.erb within layouts/application
Rendered threats/new.html.erb within layouts/application (1.7ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.4ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 51ms (Views: 48.5ms | ActiveRecord: 0.1ms)
Started POST "/threats" for 127.0.0.1 at 2018-04-17 14:54:07 +0800
Processing by ThreatsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"c8h5A0+N60YKXqCEmNqhX/km30+3v+xQsOZjSTty+KIZoTdzpumEI2OgxnZ4knWI2F14kqN9aqk/2s1HusMBLA==", "threat"=>{"title"=>"sadf a ", "description"=>"撒d"}, "commit"=>"Submit"}
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "threats" ("title", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["title", "sadf a "], ["description", "撒d"], ["created_at", "2018-04-17 06:54:07.172908"], ["updated_at", "2018-04-17 06:54:07.172908"]]
[1m[35m (1.7ms)[0m [1m[36mcommit transaction[0m
Redirected to http://localhost:3000/threats
Completed 302 Found in 6ms (ActiveRecord: 2.3ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 14:54:07 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.3ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (2.7ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.6ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 44ms (Views: 41.0ms | ActiveRecord: 0.3ms)
Started DELETE "/threats/2" for 127.0.0.1 at 2018-04-17 15:07:29 +0800
Processing by ThreatsController#destroy as HTML
Parameters: {"authenticity_token"=>"JhKs5VW9ijkCGTCsvwuyEzXkTtyAiGa/ZedjB9TF3cZMe+KVvNnlXGvnVl5fQ2bEFJ/pAZRK4Ebq280JVXQkSA==", "id"=>"2"}
[1m[36mThreat Load (0.1ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "threats" WHERE "threats"."id" = ?[0m [["id", 2]]
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
Redirected to http://localhost:3000/threats
Completed 302 Found in 11ms (ActiveRecord: 4.2ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 15:07:29 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.3ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (3.1ms)
Rendered common/_navbar.html.erb (0.5ms)
Rendered common/_flashes.html.erb (0.7ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 82ms (Views: 77.4ms | ActiveRecord: 0.3ms)
Started DELETE "/threats/3" for 127.0.0.1 at 2018-04-17 15:11:16 +0800
Processing by ThreatsController#destroy as HTML
Parameters: {"authenticity_token"=>"fOuei46OO0JxWPwl5ByvrInawuOUl8tq93sj9VLtTbMWgtD7Z+pUJximmtcEVHt7qKFlPoBVTZN4R43701y0PQ==", "id"=>"3"}
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats" WHERE "threats"."id" = ? LIMIT ?[0m [["id", 3], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35mSQL (0.7ms)[0m [1m[31mDELETE FROM "threats" WHERE "threats"."id" = ?[0m [["id", 3]]
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
Redirected to http://localhost:3000/threats
Completed 302 Found in 18ms (ActiveRecord: 2.8ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 15:11:16 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (1.8ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.6ms)
Rendered common/_footer.html.erb (0.6ms)
Completed 200 OK in 65ms (Views: 61.4ms | ActiveRecord: 0.2ms)
Started GET "/threats" for 127.0.0.1 at 2018-04-17 15:11:19 +0800
Processing by ThreatsController#index as HTML
Rendering threats/index.html.erb within layouts/application
[1m[36mThreat Load (0.2ms)[0m [1m[34mSELECT "threats".* FROM "threats"[0m
Rendered threats/index.html.erb within layouts/application (1.4ms)
Rendered common/_navbar.html.erb (0.6ms)
Rendered common/_flashes.html.erb (0.8ms)
Rendered common/_footer.html.erb (0.4ms)
Completed 200 OK in 65ms (Views: 60.9ms | ActiveRecord: 0.2ms)
Started GET "/threats/new" for 127.0.0.1 at 2018-04-17 15:11:22 +0800
Processing by ThreatsController#new as HTML
Completed 401 Unauthorized in 18ms (ActiveRecord: 0.0ms)
Started GET "/users/sign_in" for 127.0.0.1 at 2018-04-17 15:11:22 +0800
Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (2.0ms)
Rendered devise/sessions/new.html.erb within layouts/application (17.7ms)
Rendered common/_navbar.html.erb (0.4ms)
Rendered common/_flashes.html.erb (0.5ms)
Rendered common/_footer.html.erb (0.3ms)
Completed 200 OK in 92ms (Views: 70.7ms | ActiveRecord: 0.6ms)