poptart 0.0.7 → 0.0.8

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.
@@ -0,0 +1,1073 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:3000/api/questions/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.0
12
+ Content-Type:
13
+ - application/json
14
+ Api-Token:
15
+ - testing
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: 'OK '
24
+ headers:
25
+ X-Frame-Options:
26
+ - SAMEORIGIN
27
+ X-Xss-Protection:
28
+ - 1; mode=block
29
+ X-Content-Type-Options:
30
+ - nosniff
31
+ X-Ua-Compatible:
32
+ - chrome=1
33
+ Content-Type:
34
+ - application/json; charset=utf-8
35
+ Etag:
36
+ - '"00b082ab08fa212cd932dcae5cb61a0c"'
37
+ Cache-Control:
38
+ - max-age=0, private, must-revalidate
39
+ X-Request-Id:
40
+ - 482e03af-b515-4c68-af7e-99dc0d812931
41
+ X-Runtime:
42
+ - '0.010085'
43
+ Server:
44
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
45
+ Date:
46
+ - Thu, 25 Sep 2014 02:29:22 GMT
47
+ Content-Length:
48
+ - '7773'
49
+ Connection:
50
+ - Keep-Alive
51
+ body:
52
+ encoding: UTF-8
53
+ string: |-
54
+ [
55
+ {
56
+ "id": 1,
57
+ "question_type": "multiple",
58
+ "text": "How hungry or full are you right now?",
59
+ "responses": [
60
+ "Very hungry",
61
+ "Somewhat hungry",
62
+ "Neither full nor hungry",
63
+ "Somewhat full",
64
+ "Very full"
65
+ ],
66
+ "freeform": false
67
+ },
68
+ {
69
+ "id": 2,
70
+ "question_type": "time",
71
+ "text": "What time did you wake up this morning?",
72
+ "responses": null,
73
+ "freeform": false
74
+ },
75
+ {
76
+ "id": 3,
77
+ "question_type": "time",
78
+ "text": "What time did you got to sleep last night?",
79
+ "responses": null,
80
+ "freeform": false
81
+ },
82
+ {
83
+ "id": 4,
84
+ "question_type": "multiple",
85
+ "text": "Are you judging or evaluating yourself right now (i.e. at the moment just before you were notified)?",
86
+ "responses": [
87
+ "f",
88
+ "Yes - Negatively",
89
+ "Yes - Neutrally",
90
+ "Yes - Positively"
91
+ ],
92
+ "freeform": false
93
+ },
94
+ {
95
+ "id": 5,
96
+ "question_type": "range",
97
+ "text": "How well did you sleep last night?",
98
+ "responses": [
99
+ "0",
100
+ "10"
101
+ ],
102
+ "freeform": false
103
+ },
104
+ {
105
+ "id": 6,
106
+ "question_type": "range",
107
+ "text": "To what extent are you engrossed in what you are doing?",
108
+ "responses": [
109
+ "0",
110
+ "10"
111
+ ],
112
+ "freeform": false
113
+ },
114
+ {
115
+ "id": 7,
116
+ "question_type": "multiple",
117
+ "text": "Are you judging or evaluating what you are doing right now (i.e. at the moment just before you were notified?)",
118
+ "responses": [
119
+ "f",
120
+ "Yes - Negatively",
121
+ "Yes - Neutrally",
122
+ "Yes - Positively"
123
+ ],
124
+ "freeform": false
125
+ },
126
+ {
127
+ "id": 8,
128
+ "question_type": "boolean",
129
+ "text": "In the past 24 hours, have you engaged in sexual activity with another person?",
130
+ "responses": [
131
+ "t",
132
+ "f"
133
+ ],
134
+ "freeform": false
135
+ },
136
+ {
137
+ "id": 9,
138
+ "question_type": "multiple",
139
+ "text": "Imagine you were given $10 to divide between yourself and a stranger to whom you would remain anonymous. How much would you give to the stranger?",
140
+ "responses": [
141
+ "0",
142
+ "1",
143
+ "2",
144
+ "3",
145
+ "4",
146
+ "5",
147
+ "6",
148
+ "7",
149
+ "8",
150
+ "9",
151
+ "10"
152
+ ],
153
+ "freeform": false
154
+ },
155
+ {
156
+ "id": 10,
157
+ "question_type": "boolean",
158
+ "text": "Have you surprised someone with a gift (including small gifts) in the last week?",
159
+ "responses": [
160
+ "t",
161
+ "f"
162
+ ],
163
+ "freeform": false
164
+ },
165
+ {
166
+ "id": 11,
167
+ "question_type": "multiple",
168
+ "text": "In general, how is your health?",
169
+ "responses": [
170
+ "Excellent",
171
+ "Very Good",
172
+ "Good",
173
+ "Fair",
174
+ "Poor"
175
+ ],
176
+ "freeform": false
177
+ },
178
+ {
179
+ "id": 12,
180
+ "question_type": "range",
181
+ "text": "Where would you place yourself on this ladder?\nThink of a ladder representing where people stand in your country.\nAt the top of the ladder are the people who are the best off - those who have the most money, the most education and the most respected jobs. At the bottom are the people who are the worst off - who have the least money, least education, and the least respected jobs or no job. The higher up you are on the ladder, the closer you are to the people at the very top; the lower you are the closer you are to people at the very bottom.",
182
+ "responses": [
183
+ "0",
184
+ "10"
185
+ ],
186
+ "freeform": false
187
+ },
188
+ {
189
+ "id": 13,
190
+ "question_type": "range",
191
+ "text": "To what extent is what you're doing interesting?",
192
+ "responses": [
193
+ "0",
194
+ "10"
195
+ ],
196
+ "freeform": false
197
+ },
198
+ {
199
+ "id": 14,
200
+ "question_type": "multiple",
201
+ "text": "On average, how many hours do you work each week?",
202
+ "responses": [
203
+ "Less than 5",
204
+ "5-10",
205
+ "10-20",
206
+ "20-30",
207
+ "30-40",
208
+ "40-50",
209
+ "50-60",
210
+ "60-70",
211
+ "More than 70"
212
+ ],
213
+ "freeform": false
214
+ },
215
+ {
216
+ "id": 15,
217
+ "question_type": "range",
218
+ "text": "How do you feel right now?",
219
+ "responses": [
220
+ "0",
221
+ "10"
222
+ ],
223
+ "freeform": false
224
+ },
225
+ {
226
+ "id": 16,
227
+ "question_type": "range",
228
+ "text": "To what extent do you expect good things to happen in the future?",
229
+ "responses": [
230
+ "0",
231
+ "10"
232
+ ],
233
+ "freeform": false
234
+ },
235
+ {
236
+ "id": 17,
237
+ "question_type": "boolean",
238
+ "text": "Have you taken any over-the-counter pain medication in the past 24 hours?",
239
+ "responses": [
240
+ "t",
241
+ "f"
242
+ ],
243
+ "freeform": false
244
+ },
245
+ {
246
+ "id": 18,
247
+ "question_type": "range",
248
+ "text": "To what extent have you procrastinated so far today?",
249
+ "responses": [
250
+ "0",
251
+ "10"
252
+ ],
253
+ "freeform": false
254
+ },
255
+ {
256
+ "id": 19,
257
+ "question_type": "range",
258
+ "text": "To what extent are you being productive?",
259
+ "responses": [
260
+ "0",
261
+ "10"
262
+ ],
263
+ "freeform": false
264
+ },
265
+ {
266
+ "id": 20,
267
+ "question_type": "multiple",
268
+ "text": "Who are you talking or interacting with?",
269
+ "responses": [
270
+ "Spouse/partner/significant other",
271
+ "Children",
272
+ "Parents",
273
+ "Other relatives",
274
+ "Friends",
275
+ "Acquaintances",
276
+ "Strangers",
277
+ "Co-workers",
278
+ "Customers/students",
279
+ "Boss",
280
+ "No one"
281
+ ],
282
+ "freeform": true
283
+ },
284
+ {
285
+ "id": 30,
286
+ "question_type": "multiple",
287
+ "text": "Beyond any work you've already done today, how many additional hours do you expect to work today?",
288
+ "responses": [
289
+ "0 (none)",
290
+ "Less than 1 hour",
291
+ "1-2 hours",
292
+ "2-3 hours",
293
+ "3-4 hours",
294
+ "4-5 hours",
295
+ "5-6 hours"
296
+ ],
297
+ "freeform": false
298
+ },
299
+ {
300
+ "id": 21,
301
+ "question_type": "range",
302
+ "text": "To what extent do you feel accepted by the person/people you are interacting with?",
303
+ "responses": [
304
+ "0",
305
+ "10"
306
+ ],
307
+ "freeform": false
308
+ },
309
+ {
310
+ "id": 22,
311
+ "question_type": "boolean",
312
+ "text": "Are you alone?",
313
+ "responses": [
314
+ "t",
315
+ "f"
316
+ ],
317
+ "freeform": false
318
+ },
319
+ {
320
+ "id": 23,
321
+ "question_type": "boolean",
322
+ "text": "Do you want to do what you're doing?",
323
+ "responses": [
324
+ "t",
325
+ "f"
326
+ ],
327
+ "freeform": false
328
+ },
329
+ {
330
+ "id": 24,
331
+ "question_type": "boolean",
332
+ "text": "Are you talking or interacting with anyone?",
333
+ "responses": [
334
+ "t",
335
+ "f"
336
+ ],
337
+ "freeform": false
338
+ },
339
+ {
340
+ "id": 25,
341
+ "question_type": "multiple",
342
+ "text": "Where are you?",
343
+ "responses": [
344
+ "At Home",
345
+ "At Work",
346
+ "In a car",
347
+ "Other"
348
+ ],
349
+ "freeform": true
350
+ },
351
+ {
352
+ "id": 26,
353
+ "question_type": "multiple",
354
+ "text": "How many people are you talking or interacting with?",
355
+ "responses": [
356
+ "0",
357
+ "1",
358
+ "2",
359
+ "3",
360
+ "4",
361
+ "5",
362
+ "6",
363
+ "7",
364
+ "8",
365
+ "9",
366
+ "10",
367
+ "More than 10"
368
+ ],
369
+ "freeform": false
370
+ },
371
+ {
372
+ "id": 27,
373
+ "question_type": "boolean",
374
+ "text": "Do you have to do what you're doing?",
375
+ "responses": [
376
+ "t",
377
+ "f"
378
+ ],
379
+ "freeform": false
380
+ },
381
+ {
382
+ "id": 28,
383
+ "question_type": "range",
384
+ "text": "To what extent are you focused on what you are doing?",
385
+ "responses": [
386
+ "0",
387
+ "10"
388
+ ],
389
+ "freeform": false
390
+ },
391
+ {
392
+ "id": 29,
393
+ "question_type": "multiple",
394
+ "text": "When did you last check Facebook?",
395
+ "responses": [
396
+ "Right now",
397
+ "In the last 5 minutes",
398
+ "In the last 15 minutes",
399
+ "In the last 30 minutes",
400
+ "In the last hour",
401
+ "1-2 hours ago",
402
+ "3-5 hours ago",
403
+ "6-12 hours ago",
404
+ "24 hours ago",
405
+ "Don't use facebook"
406
+ ],
407
+ "freeform": false
408
+ },
409
+ {
410
+ "id": 31,
411
+ "question_type": "boolean",
412
+ "text": "If you could, and it had no negative consequences, would you jump forward in time 24 hours?",
413
+ "responses": [
414
+ "t",
415
+ "f"
416
+ ],
417
+ "freeform": false
418
+ }
419
+ ]
420
+ http_version:
421
+ recorded_at: Thu, 25 Sep 2014 02:29:22 GMT
422
+ - request:
423
+ method: post
424
+ uri: http://localhost:3000/api/users/
425
+ body:
426
+ encoding: UTF-8
427
+ string: "{}"
428
+ headers:
429
+ User-Agent:
430
+ - Faraday v0.9.0
431
+ Content-Type:
432
+ - application/json
433
+ Api-Token:
434
+ - testing
435
+ Accept-Encoding:
436
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
437
+ Accept:
438
+ - "*/*"
439
+ response:
440
+ status:
441
+ code: 201
442
+ message: 'Created '
443
+ headers:
444
+ X-Frame-Options:
445
+ - SAMEORIGIN
446
+ X-Xss-Protection:
447
+ - 1; mode=block
448
+ X-Content-Type-Options:
449
+ - nosniff
450
+ X-Ua-Compatible:
451
+ - chrome=1
452
+ Content-Type:
453
+ - application/json; charset=utf-8
454
+ Etag:
455
+ - '"d2960910cfe0787a1b3ef42b2f6290fe"'
456
+ Cache-Control:
457
+ - max-age=0, private, must-revalidate
458
+ X-Request-Id:
459
+ - 94836300-b065-42d0-832d-b410896292b3
460
+ X-Runtime:
461
+ - '0.010095'
462
+ Server:
463
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
464
+ Date:
465
+ - Thu, 25 Sep 2014 02:29:22 GMT
466
+ Content-Length:
467
+ - '260'
468
+ Connection:
469
+ - Keep-Alive
470
+ body:
471
+ encoding: UTF-8
472
+ string: |-
473
+ {
474
+ "service_user_id": "e2e405f10db037586a1d7e77f3db499ba625a3aa10ba491209e21792bafdd0d1",
475
+ "_links": {
476
+ "self": {
477
+ "href": "http://localhost:3000/api/users/92"
478
+ }
479
+ },
480
+ "token": "1a58d3875b7eec409e0e18e419a1a0ed4c76e59ebe655181504a547119e2a7c4"
481
+ }
482
+ http_version:
483
+ recorded_at: Thu, 25 Sep 2014 02:29:22 GMT
484
+ - request:
485
+ method: post
486
+ uri: http://localhost:3000/api/surveys/
487
+ body:
488
+ encoding: UTF-8
489
+ string: '{"survey":{"service_user_id":"e2e405f10db037586a1d7e77f3db499ba625a3aa10ba491209e21792bafdd0d1"}}'
490
+ headers:
491
+ User-Agent:
492
+ - Faraday v0.9.0
493
+ Content-Type:
494
+ - application/json
495
+ Api-Token:
496
+ - testing
497
+ Accept-Encoding:
498
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
499
+ Accept:
500
+ - "*/*"
501
+ response:
502
+ status:
503
+ code: 201
504
+ message: 'Created '
505
+ headers:
506
+ X-Frame-Options:
507
+ - SAMEORIGIN
508
+ X-Xss-Protection:
509
+ - 1; mode=block
510
+ X-Content-Type-Options:
511
+ - nosniff
512
+ X-Ua-Compatible:
513
+ - chrome=1
514
+ Content-Type:
515
+ - application/json; charset=utf-8
516
+ Etag:
517
+ - '"cc5f3265e0c423c2fba94a00e1213c6a"'
518
+ Cache-Control:
519
+ - max-age=0, private, must-revalidate
520
+ X-Request-Id:
521
+ - fbacab30-61c3-4966-9bcf-7ca5658954bd
522
+ X-Runtime:
523
+ - '0.010543'
524
+ Server:
525
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
526
+ Date:
527
+ - Thu, 25 Sep 2014 02:29:22 GMT
528
+ Content-Length:
529
+ - '430'
530
+ Connection:
531
+ - Keep-Alive
532
+ body:
533
+ encoding: UTF-8
534
+ string: |-
535
+ {
536
+ "id": 94,
537
+ "service_user_id": "e2e405f10db037586a1d7e77f3db499ba625a3aa10ba491209e21792bafdd0d1",
538
+ "_links": {
539
+ "self": {
540
+ "href": "http://localhost:3000/api/surveys/94"
541
+ },
542
+ "survey_questions": {
543
+ "post": {
544
+ "href": "/api/surveys/94/survey_questions"
545
+ },
546
+ "put": {
547
+ "href": "/api/surveys/94/survey_questions"
548
+ }
549
+ }
550
+ },
551
+ "completed": false,
552
+ "survey_questions": [
553
+
554
+ ]
555
+ }
556
+ http_version:
557
+ recorded_at: Thu, 25 Sep 2014 02:29:22 GMT
558
+ - request:
559
+ method: post
560
+ uri: http://localhost:3000//api/surveys/94/survey_questions/
561
+ body:
562
+ encoding: UTF-8
563
+ string: '{"survey_question":{"question_id":8}}'
564
+ headers:
565
+ User-Agent:
566
+ - Faraday v0.9.0
567
+ Content-Type:
568
+ - application/json
569
+ Api-Token:
570
+ - testing
571
+ Accept-Encoding:
572
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
573
+ Accept:
574
+ - "*/*"
575
+ response:
576
+ status:
577
+ code: 201
578
+ message: 'Created '
579
+ headers:
580
+ X-Frame-Options:
581
+ - SAMEORIGIN
582
+ X-Xss-Protection:
583
+ - 1; mode=block
584
+ X-Content-Type-Options:
585
+ - nosniff
586
+ X-Ua-Compatible:
587
+ - chrome=1
588
+ Content-Type:
589
+ - application/json; charset=utf-8
590
+ Etag:
591
+ - '"56f4efc7af593c6e101386e72cda1257"'
592
+ Cache-Control:
593
+ - max-age=0, private, must-revalidate
594
+ X-Request-Id:
595
+ - ef15b132-147e-493e-bb06-9ef269585c62
596
+ X-Runtime:
597
+ - '0.014273'
598
+ Server:
599
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
600
+ Date:
601
+ - Thu, 25 Sep 2014 02:29:22 GMT
602
+ Content-Length:
603
+ - '517'
604
+ Connection:
605
+ - Keep-Alive
606
+ body:
607
+ encoding: UTF-8
608
+ string: |-
609
+ {
610
+ "id": 286,
611
+ "text": "In the past 24 hours, have you engaged in sexual activity with another person?",
612
+ "type": "boolean",
613
+ "responses": [
614
+ "t",
615
+ "f"
616
+ ],
617
+ "answer": null,
618
+ "freeform": false,
619
+ "_links": {
620
+ "self": {
621
+ "href": "/api/surveys/94/survey_questions/286"
622
+ },
623
+ "post": {
624
+ "href": "http://localhost:3000/api/surveys/94/survey_questions"
625
+ },
626
+ "put": {
627
+ "href": "/api/surveys/94/survey_questions/286"
628
+ },
629
+ "survey": {
630
+ "href": "/api/surveys/94"
631
+ }
632
+ }
633
+ }
634
+ http_version:
635
+ recorded_at: Thu, 25 Sep 2014 02:29:22 GMT
636
+ - request:
637
+ method: put
638
+ uri: http://localhost:3000//api/surveys/94/survey_questions/286/
639
+ body:
640
+ encoding: UTF-8
641
+ string: '{"id":286,"survey_question":{"answer":true}}'
642
+ headers:
643
+ User-Agent:
644
+ - Faraday v0.9.0
645
+ Content-Type:
646
+ - application/json
647
+ Api-Token:
648
+ - testing
649
+ Accept-Encoding:
650
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
651
+ Accept:
652
+ - "*/*"
653
+ response:
654
+ status:
655
+ code: 204
656
+ message: 'No Content '
657
+ headers:
658
+ X-Frame-Options:
659
+ - SAMEORIGIN
660
+ X-Xss-Protection:
661
+ - 1; mode=block
662
+ X-Content-Type-Options:
663
+ - nosniff
664
+ X-Ua-Compatible:
665
+ - chrome=1
666
+ Cache-Control:
667
+ - no-cache
668
+ X-Request-Id:
669
+ - 0244411f-955a-48f4-a3e6-803f4af5ba95
670
+ X-Runtime:
671
+ - '0.010371'
672
+ Server:
673
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
674
+ Date:
675
+ - Thu, 25 Sep 2014 02:29:22 GMT
676
+ Connection:
677
+ - Keep-Alive
678
+ body:
679
+ encoding: UTF-8
680
+ string: ''
681
+ http_version:
682
+ recorded_at: Thu, 25 Sep 2014 02:29:22 GMT
683
+ - request:
684
+ method: post
685
+ uri: http://localhost:3000/api/surveys/
686
+ body:
687
+ encoding: UTF-8
688
+ string: '{"survey":{"service_user_id":"e2e405f10db037586a1d7e77f3db499ba625a3aa10ba491209e21792bafdd0d1"}}'
689
+ headers:
690
+ User-Agent:
691
+ - Faraday v0.9.0
692
+ Content-Type:
693
+ - application/json
694
+ Api-Token:
695
+ - testing
696
+ Accept-Encoding:
697
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
698
+ Accept:
699
+ - "*/*"
700
+ response:
701
+ status:
702
+ code: 201
703
+ message: 'Created '
704
+ headers:
705
+ X-Frame-Options:
706
+ - SAMEORIGIN
707
+ X-Xss-Protection:
708
+ - 1; mode=block
709
+ X-Content-Type-Options:
710
+ - nosniff
711
+ X-Ua-Compatible:
712
+ - chrome=1
713
+ Content-Type:
714
+ - application/json; charset=utf-8
715
+ Etag:
716
+ - '"9bf93cc795b8c2477fd988bfb759334c"'
717
+ Cache-Control:
718
+ - max-age=0, private, must-revalidate
719
+ X-Request-Id:
720
+ - 814f5035-3c60-48fb-976b-d895c4549c16
721
+ X-Runtime:
722
+ - '0.013703'
723
+ Server:
724
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
725
+ Date:
726
+ - Thu, 25 Sep 2014 02:29:22 GMT
727
+ Content-Length:
728
+ - '430'
729
+ Connection:
730
+ - Keep-Alive
731
+ body:
732
+ encoding: UTF-8
733
+ string: |-
734
+ {
735
+ "id": 95,
736
+ "service_user_id": "e2e405f10db037586a1d7e77f3db499ba625a3aa10ba491209e21792bafdd0d1",
737
+ "_links": {
738
+ "self": {
739
+ "href": "http://localhost:3000/api/surveys/95"
740
+ },
741
+ "survey_questions": {
742
+ "post": {
743
+ "href": "/api/surveys/95/survey_questions"
744
+ },
745
+ "put": {
746
+ "href": "/api/surveys/95/survey_questions"
747
+ }
748
+ }
749
+ },
750
+ "completed": false,
751
+ "survey_questions": [
752
+
753
+ ]
754
+ }
755
+ http_version:
756
+ recorded_at: Thu, 25 Sep 2014 02:29:22 GMT
757
+ - request:
758
+ method: post
759
+ uri: http://localhost:3000//api/surveys/95/survey_questions/
760
+ body:
761
+ encoding: UTF-8
762
+ string: '{"survey_question":{"question_id":8}}'
763
+ headers:
764
+ User-Agent:
765
+ - Faraday v0.9.0
766
+ Content-Type:
767
+ - application/json
768
+ Api-Token:
769
+ - testing
770
+ Accept-Encoding:
771
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
772
+ Accept:
773
+ - "*/*"
774
+ response:
775
+ status:
776
+ code: 201
777
+ message: 'Created '
778
+ headers:
779
+ X-Frame-Options:
780
+ - SAMEORIGIN
781
+ X-Xss-Protection:
782
+ - 1; mode=block
783
+ X-Content-Type-Options:
784
+ - nosniff
785
+ X-Ua-Compatible:
786
+ - chrome=1
787
+ Content-Type:
788
+ - application/json; charset=utf-8
789
+ Etag:
790
+ - '"d45ab6406a141fb693d9125b18684b63"'
791
+ Cache-Control:
792
+ - max-age=0, private, must-revalidate
793
+ X-Request-Id:
794
+ - a4d1ef9f-08f3-420b-8d71-411a30719146
795
+ X-Runtime:
796
+ - '0.021118'
797
+ Server:
798
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
799
+ Date:
800
+ - Thu, 25 Sep 2014 02:29:22 GMT
801
+ Content-Length:
802
+ - '517'
803
+ Connection:
804
+ - Keep-Alive
805
+ body:
806
+ encoding: UTF-8
807
+ string: |-
808
+ {
809
+ "id": 287,
810
+ "text": "In the past 24 hours, have you engaged in sexual activity with another person?",
811
+ "type": "boolean",
812
+ "responses": [
813
+ "t",
814
+ "f"
815
+ ],
816
+ "answer": null,
817
+ "freeform": false,
818
+ "_links": {
819
+ "self": {
820
+ "href": "/api/surveys/95/survey_questions/287"
821
+ },
822
+ "post": {
823
+ "href": "http://localhost:3000/api/surveys/95/survey_questions"
824
+ },
825
+ "put": {
826
+ "href": "/api/surveys/95/survey_questions/287"
827
+ },
828
+ "survey": {
829
+ "href": "/api/surveys/95"
830
+ }
831
+ }
832
+ }
833
+ http_version:
834
+ recorded_at: Thu, 25 Sep 2014 02:29:22 GMT
835
+ - request:
836
+ method: put
837
+ uri: http://localhost:3000//api/surveys/95/survey_questions/287/
838
+ body:
839
+ encoding: UTF-8
840
+ string: '{"id":287,"survey_question":{"answer":false}}'
841
+ headers:
842
+ User-Agent:
843
+ - Faraday v0.9.0
844
+ Content-Type:
845
+ - application/json
846
+ Api-Token:
847
+ - testing
848
+ Accept-Encoding:
849
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
850
+ Accept:
851
+ - "*/*"
852
+ response:
853
+ status:
854
+ code: 422
855
+ message: 'Unprocessable Entity '
856
+ headers:
857
+ Content-Type:
858
+ - text/html; charset=utf-8
859
+ Content-Length:
860
+ - '17277'
861
+ X-Request-Id:
862
+ - 56e78554-2cbe-4d66-8a5f-5a7ca0a33317
863
+ X-Runtime:
864
+ - '0.025782'
865
+ Server:
866
+ - WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08)
867
+ Date:
868
+ - Thu, 25 Sep 2014 02:29:22 GMT
869
+ Connection:
870
+ - Keep-Alive
871
+ body:
872
+ encoding: UTF-8
873
+ string: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\"
874
+ />\n <title>Action Controller: Exception caught</title>\n <style>\n body
875
+ {\n background-color: #FAFAFA;\n color: #333;\n margin: 0px;\n
876
+ \ }\n\n body, p, ol, ul, td {\n font-family: helvetica, verdana,
877
+ arial, sans-serif;\n font-size: 13px;\n line-height: 18px;\n }\n\n
878
+ \ pre {\n font-size: 11px;\n white-space: pre-wrap;\n }\n\n
879
+ \ pre.box {\n border: 1px solid #EEE;\n padding: 10px;\n margin:
880
+ 0px;\n width: 958px;\n }\n\n header {\n color: #F0F0F0;\n
881
+ \ background: #C52F24;\n padding: 0.5em 1.5em;\n }\n\n h1 {\n
882
+ \ margin: 0.2em 0;\n line-height: 1.1em;\n font-size: 2em;\n
883
+ \ }\n\n h2 {\n color: #C52F24;\n line-height: 25px;\n }\n\n
884
+ \ .details {\n border: 1px solid #D0D0D0;\n border-radius: 4px;\n
885
+ \ margin: 1em 0px;\n display: block;\n width: 978px;\n }\n\n
886
+ \ .summary {\n padding: 8px 15px;\n border-bottom: 1px solid #D0D0D0;\n
887
+ \ display: block;\n }\n\n .details pre {\n margin: 5px;\n border:
888
+ none;\n }\n\n #container {\n box-sizing: border-box;\n width:
889
+ 100%;\n padding: 0 1.5em;\n }\n\n .source * {\n margin: 0px;\n
890
+ \ padding: 0px;\n }\n\n .source {\n border: 1px solid #D9D9D9;\n
891
+ \ background: #ECECEC;\n width: 978px;\n }\n\n .source pre
892
+ {\n padding: 10px 0px;\n border: none;\n }\n\n .source .data
893
+ {\n font-size: 80%;\n overflow: auto;\n background-color: #FFF;\n
894
+ \ }\n\n .info {\n padding: 0.5em;\n }\n\n .source .data .line_numbers
895
+ {\n background-color: #ECECEC;\n color: #AAA;\n padding: 1em
896
+ .5em;\n border-right: 1px solid #DDD;\n text-align: right;\n }\n\n
897
+ \ .line {\n padding-left: 10px;\n }\n\n .line:hover {\n background-color:
898
+ #F6F6F6;\n }\n\n .line.active {\n background-color: #FFCCCC;\n
899
+ \ }\n\n a { color: #980905; }\n a:visited { color: #666; }\n a:hover
900
+ { color: #C52F24; }\n\n \n </style>\n\n <script>\n var toggle = function(id)
901
+ {\n var s = document.getElementById(id).style;\n s.display = s.display
902
+ == 'none' ? 'block' : 'none';\n return false;\n }\n var show =
903
+ function(id) {\n document.getElementById(id).style.display = 'block';\n
904
+ \ }\n var hide = function(id) {\n document.getElementById(id).style.display
905
+ = 'none';\n }\n var toggleTrace = function() {\n return toggle('blame_trace');\n
906
+ \ }\n var toggleSessionDump = function() {\n return toggle('session_dump');\n
907
+ \ }\n var toggleEnvDump = function() {\n return toggle('env_dump');\n
908
+ \ }\n </script>\n</head>\n<body>\n\n<header>\n <h1>\n ActiveRecord::RecordInvalid\n
909
+ \ in Api::V1::SurveyQuestionsController#update\n </h1>\n</header>\n\n<div
910
+ id=\"container\">\n <h2>Validation failed: Answer can&#39;t be blank</h2>\n\n
911
+ \ <div class=\"source\">\n<div class=\"info\">\n Extracted source (around
912
+ line <strong>#10</strong>):\n</div>\n<div class=\"data\">\n <table cellpadding=\"0\"
913
+ cellspacing=\"0\" class=\"lines\">\n <tr>\n <td>\n <pre
914
+ class=\"line_numbers\">\n<span>8</span>\n<span>9</span>\n<span>10</span>\n<span>11</span>\n<span>12</span>\n<span>13</span>\n
915
+ \ </pre>\n </td>\n<td width=\"100%\">\n<pre>\n<div class=\"line\">
916
+ \ def update\n</div><div class=\"line\"> survey_question.answer = params[:survey_question][:answer]\n</div><div
917
+ class=\"line active\"> survey_question.save!\n</div><div class=\"line\">
918
+ \ respond_with survey_question, { status: :created, location: nil, show_next:
919
+ true,\n</div><div class=\"line\"> represent_with:
920
+ nil}\n</div><div class=\"line\"> end\n</div>\n</pre>\n</td>\n </tr>\n
921
+ \ </table>\n</div>\n</div>\n\n \n<p><code>Rails.root: /Users/austenito/repos/happiness/happiness_service</code></p>\n\n<div
922
+ id=\"traces\">\n <a href=\"#\" onclick=\"hide(&#39;Framework-Trace&#39;);hide(&#39;Full-Trace&#39;);show(&#39;Application-Trace&#39;);;
923
+ return false;\">Application Trace</a> |\n <a href=\"#\" onclick=\"hide(&#39;Application-Trace&#39;);hide(&#39;Full-Trace&#39;);show(&#39;Framework-Trace&#39;);;
924
+ return false;\">Framework Trace</a> |\n <a href=\"#\" onclick=\"hide(&#39;Application-Trace&#39;);hide(&#39;Framework-Trace&#39;);show(&#39;Full-Trace&#39;);;
925
+ return false;\">Full Trace</a> \n\n <div id=\"Application-Trace\" style=\"display:
926
+ block;\">\n <pre><code>app/controllers/api/v1/survey_questions_controller.rb:10:in
927
+ `update&#39;</code></pre>\n </div>\n <div id=\"Framework-Trace\" style=\"display:
928
+ none;\">\n <pre><code>activerecord (4.0.4) lib/active_record/validations.rb:57:in
929
+ `save!&#39;\nactiverecord (4.0.4) lib/active_record/attribute_methods/dirty.rb:41:in
930
+ `save!&#39;\nactiverecord (4.0.4) lib/active_record/transactions.rb:275:in
931
+ `block in save!&#39;\nactiverecord (4.0.4) lib/active_record/transactions.rb:330:in
932
+ `block in with_transaction_returning_status&#39;\nactiverecord (4.0.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
933
+ `block in transaction&#39;\nactiverecord (4.0.4) lib/active_record/connection_adapters/abstract/database_statements.rb:221:in
934
+ `within_new_transaction&#39;\nactiverecord (4.0.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
935
+ `transaction&#39;\nactiverecord (4.0.4) lib/active_record/transactions.rb:209:in
936
+ `transaction&#39;\nactiverecord (4.0.4) lib/active_record/transactions.rb:327:in
937
+ `with_transaction_returning_status&#39;\nactiverecord (4.0.4) lib/active_record/transactions.rb:275:in
938
+ `save!&#39;\nactionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in
939
+ `send_action&#39;\nactionpack (4.0.4) lib/abstract_controller/base.rb:189:in
940
+ `process_action&#39;\nactionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in
941
+ `process_action&#39;\nactionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in
942
+ `block in process_action&#39;\nactivesupport (4.0.4) lib/active_support/callbacks.rb:383:in
943
+ `_run__3589005362542623454__process_action__callbacks&#39;\nactivesupport
944
+ (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks&#39;\nactionpack
945
+ (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action&#39;\nactionpack
946
+ (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action&#39;\nactionpack
947
+ (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action&#39;\nactivesupport
948
+ (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument&#39;\nactivesupport
949
+ (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument&#39;\nactivesupport
950
+ (4.0.4) lib/active_support/notifications.rb:159:in `instrument&#39;\nactionpack
951
+ (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action&#39;\nactiverecord
952
+ (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action&#39;\nactionpack
953
+ (4.0.4) lib/abstract_controller/base.rb:136:in `process&#39;\nactionpack (4.0.4)
954
+ lib/abstract_controller/rendering.rb:44:in `process&#39;\nactionpack (4.0.4)
955
+ lib/action_controller/metal.rb:195:in `dispatch&#39;\nactionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in
956
+ `dispatch&#39;\nactionpack (4.0.4) lib/action_controller/metal.rb:231:in `block
957
+ in action&#39;\nactionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in
958
+ `call&#39;\nactionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in
959
+ `dispatch&#39;\nactionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in
960
+ `call&#39;\nactionpack (4.0.4) lib/action_dispatch/routing/mapper.rb:44:in
961
+ `call&#39;\nactionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in
962
+ `block in call&#39;\nactionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in
963
+ `each&#39;\nactionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in
964
+ `call&#39;\nactionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in
965
+ `call&#39;\nrack (1.5.2) lib/rack/etag.rb:23:in `call&#39;\nrack (1.5.2) lib/rack/conditionalget.rb:35:in
966
+ `call&#39;\nrack (1.5.2) lib/rack/head.rb:11:in `call&#39;\nactionpack (4.0.4)
967
+ lib/action_dispatch/middleware/params_parser.rb:27:in `call&#39;\nactiverecord
968
+ (4.0.4) lib/active_record/query_cache.rb:36:in `call&#39;\nactiverecord (4.0.4)
969
+ lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call&#39;\nactiverecord
970
+ (4.0.4) lib/active_record/migration.rb:373:in `call&#39;\nactionpack (4.0.4)
971
+ lib/action_dispatch/middleware/callbacks.rb:29:in `block in call&#39;\nactivesupport
972
+ (4.0.4) lib/active_support/callbacks.rb:373:in `_run__3409925208780751347__call__callbacks&#39;\nactivesupport
973
+ (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks&#39;\nactionpack
974
+ (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call&#39;\nactionpack
975
+ (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call&#39;\nactionpack
976
+ (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call&#39;\nactionpack
977
+ (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call&#39;\nactionpack
978
+ (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call&#39;\nrailties
979
+ (4.0.4) lib/rails/rack/logger.rb:38:in `call_app&#39;\nrailties (4.0.4) lib/rails/rack/logger.rb:20:in
980
+ `block in call&#39;\nactivesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in
981
+ `block in tagged&#39;\nactivesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in
982
+ `tagged&#39;\nactivesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in
983
+ `tagged&#39;\nrailties (4.0.4) lib/rails/rack/logger.rb:20:in `call&#39;\nactionpack
984
+ (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call&#39;\nrack
985
+ (1.5.2) lib/rack/runtime.rb:17:in `call&#39;\nactivesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in
986
+ `call&#39;\nrack (1.5.2) lib/rack/lock.rb:17:in `call&#39;\nactionpack (4.0.4)
987
+ lib/action_dispatch/middleware/static.rb:64:in `call&#39;\nrailties (4.0.4)
988
+ lib/rails/engine.rb:511:in `call&#39;\nrailties (4.0.4) lib/rails/application.rb:97:in
989
+ `call&#39;\nrack (1.5.2) lib/rack/lock.rb:17:in `call&#39;\nrack (1.5.2) lib/rack/content_length.rb:14:in
990
+ `call&#39;\nrack (1.5.2) lib/rack/handler/webrick.rb:60:in `service&#39;\n/Users/austenito/.rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in
991
+ `service&#39;\n/Users/austenito/.rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in
992
+ `run&#39;\n/Users/austenito/.rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in
993
+ `block in start_thread&#39;</code></pre>\n </div>\n <div id=\"Full-Trace\"
994
+ style=\"display: none;\">\n <pre><code>activerecord (4.0.4) lib/active_record/validations.rb:57:in
995
+ `save!&#39;\nactiverecord (4.0.4) lib/active_record/attribute_methods/dirty.rb:41:in
996
+ `save!&#39;\nactiverecord (4.0.4) lib/active_record/transactions.rb:275:in
997
+ `block in save!&#39;\nactiverecord (4.0.4) lib/active_record/transactions.rb:330:in
998
+ `block in with_transaction_returning_status&#39;\nactiverecord (4.0.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
999
+ `block in transaction&#39;\nactiverecord (4.0.4) lib/active_record/connection_adapters/abstract/database_statements.rb:221:in
1000
+ `within_new_transaction&#39;\nactiverecord (4.0.4) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in
1001
+ `transaction&#39;\nactiverecord (4.0.4) lib/active_record/transactions.rb:209:in
1002
+ `transaction&#39;\nactiverecord (4.0.4) lib/active_record/transactions.rb:327:in
1003
+ `with_transaction_returning_status&#39;\nactiverecord (4.0.4) lib/active_record/transactions.rb:275:in
1004
+ `save!&#39;\napp/controllers/api/v1/survey_questions_controller.rb:10:in `update&#39;\nactionpack
1005
+ (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action&#39;\nactionpack
1006
+ (4.0.4) lib/abstract_controller/base.rb:189:in `process_action&#39;\nactionpack
1007
+ (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action&#39;\nactionpack
1008
+ (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action&#39;\nactivesupport
1009
+ (4.0.4) lib/active_support/callbacks.rb:383:in `_run__3589005362542623454__process_action__callbacks&#39;\nactivesupport
1010
+ (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks&#39;\nactionpack
1011
+ (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action&#39;\nactionpack
1012
+ (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action&#39;\nactionpack
1013
+ (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action&#39;\nactivesupport
1014
+ (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument&#39;\nactivesupport
1015
+ (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument&#39;\nactivesupport
1016
+ (4.0.4) lib/active_support/notifications.rb:159:in `instrument&#39;\nactionpack
1017
+ (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action&#39;\nactiverecord
1018
+ (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action&#39;\nactionpack
1019
+ (4.0.4) lib/abstract_controller/base.rb:136:in `process&#39;\nactionpack (4.0.4)
1020
+ lib/abstract_controller/rendering.rb:44:in `process&#39;\nactionpack (4.0.4)
1021
+ lib/action_controller/metal.rb:195:in `dispatch&#39;\nactionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in
1022
+ `dispatch&#39;\nactionpack (4.0.4) lib/action_controller/metal.rb:231:in `block
1023
+ in action&#39;\nactionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in
1024
+ `call&#39;\nactionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in
1025
+ `dispatch&#39;\nactionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in
1026
+ `call&#39;\nactionpack (4.0.4) lib/action_dispatch/routing/mapper.rb:44:in
1027
+ `call&#39;\nactionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in
1028
+ `block in call&#39;\nactionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in
1029
+ `each&#39;\nactionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in
1030
+ `call&#39;\nactionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in
1031
+ `call&#39;\nrack (1.5.2) lib/rack/etag.rb:23:in `call&#39;\nrack (1.5.2) lib/rack/conditionalget.rb:35:in
1032
+ `call&#39;\nrack (1.5.2) lib/rack/head.rb:11:in `call&#39;\nactionpack (4.0.4)
1033
+ lib/action_dispatch/middleware/params_parser.rb:27:in `call&#39;\nactiverecord
1034
+ (4.0.4) lib/active_record/query_cache.rb:36:in `call&#39;\nactiverecord (4.0.4)
1035
+ lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call&#39;\nactiverecord
1036
+ (4.0.4) lib/active_record/migration.rb:373:in `call&#39;\nactionpack (4.0.4)
1037
+ lib/action_dispatch/middleware/callbacks.rb:29:in `block in call&#39;\nactivesupport
1038
+ (4.0.4) lib/active_support/callbacks.rb:373:in `_run__3409925208780751347__call__callbacks&#39;\nactivesupport
1039
+ (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks&#39;\nactionpack
1040
+ (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call&#39;\nactionpack
1041
+ (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call&#39;\nactionpack
1042
+ (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call&#39;\nactionpack
1043
+ (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call&#39;\nactionpack
1044
+ (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call&#39;\nrailties
1045
+ (4.0.4) lib/rails/rack/logger.rb:38:in `call_app&#39;\nrailties (4.0.4) lib/rails/rack/logger.rb:20:in
1046
+ `block in call&#39;\nactivesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in
1047
+ `block in tagged&#39;\nactivesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in
1048
+ `tagged&#39;\nactivesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in
1049
+ `tagged&#39;\nrailties (4.0.4) lib/rails/rack/logger.rb:20:in `call&#39;\nactionpack
1050
+ (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call&#39;\nrack
1051
+ (1.5.2) lib/rack/runtime.rb:17:in `call&#39;\nactivesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in
1052
+ `call&#39;\nrack (1.5.2) lib/rack/lock.rb:17:in `call&#39;\nactionpack (4.0.4)
1053
+ lib/action_dispatch/middleware/static.rb:64:in `call&#39;\nrailties (4.0.4)
1054
+ lib/rails/engine.rb:511:in `call&#39;\nrailties (4.0.4) lib/rails/application.rb:97:in
1055
+ `call&#39;\nrack (1.5.2) lib/rack/lock.rb:17:in `call&#39;\nrack (1.5.2) lib/rack/content_length.rb:14:in
1056
+ `call&#39;\nrack (1.5.2) lib/rack/handler/webrick.rb:60:in `service&#39;\n/Users/austenito/.rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in
1057
+ `service&#39;\n/Users/austenito/.rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in
1058
+ `run&#39;\n/Users/austenito/.rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in
1059
+ `block in start_thread&#39;</code></pre>\n </div>\n</div>\n\n \n\n<h2
1060
+ style=\"margin-top: 30px\">Request</h2>\n<p><b>Parameters</b>:</p> <pre>{&quot;id&quot;=&gt;&quot;287&quot;,\n
1061
+ &quot;survey_question&quot;=&gt;{&quot;answer&quot;=&gt;false},\n &quot;format&quot;=&gt;&quot;json&quot;,\n
1062
+ &quot;survey_id&quot;=&gt;&quot;95&quot;}</pre>\n\n<div class=\"details\">\n
1063
+ \ <div class=\"summary\"><a href=\"#\" onclick=\"return toggleSessionDump()\">Toggle
1064
+ session dump</a></div>\n <div id=\"session_dump\" style=\"display:none\"><pre></pre></div>\n</div>\n\n<div
1065
+ class=\"details\">\n <div class=\"summary\"><a href=\"#\" onclick=\"return
1066
+ toggleEnvDump()\">Toggle env dump</a></div>\n <div id=\"env_dump\" style=\"display:none\"><pre>GATEWAY_INTERFACE:
1067
+ &quot;CGI/1.1&quot;\nHTTP_ACCEPT: &quot;*/*&quot;\nHTTP_ACCEPT_ENCODING: &quot;gzip;q=1.0,deflate;q=0.6,identity;q=0.3&quot;\nREMOTE_ADDR:
1068
+ &quot;127.0.0.1&quot;\nREMOTE_HOST: &quot;127.0.0.1&quot;\nSERVER_NAME: &quot;localhost&quot;\nSERVER_PROTOCOL:
1069
+ &quot;HTTP/1.1&quot;</pre></div>\n</div>\n\n<h2 style=\"margin-top: 30px\">Response</h2>\n<p><b>Headers</b>:</p>
1070
+ <pre>None</pre>\n\n</div>\n\n\n</body>\n</html>\n"
1071
+ http_version:
1072
+ recorded_at: Thu, 25 Sep 2014 02:29:22 GMT
1073
+ recorded_with: VCR 2.6.0