pilha 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. data/lib/pilha.rb +18 -19
  2. data/lib/pilha/stack_overflow/answer.rb +0 -5
  3. data/lib/pilha/stack_overflow/badge.rb +1 -6
  4. data/lib/pilha/stack_overflow/base.rb +7 -4
  5. data/lib/pilha/stack_overflow/comment.rb +0 -5
  6. data/lib/pilha/stack_overflow/question.rb +20 -5
  7. data/lib/pilha/stack_overflow/statistics.rb +3 -10
  8. data/lib/pilha/stack_overflow/user.rb +0 -7
  9. data/pilha.gemspec +1 -1
  10. data/spec/fixtures/all_tags.json +287 -0
  11. data/spec/fixtures/all_tags.json.gz +0 -0
  12. data/spec/fixtures/favorite_questions_by_user_id.json +496 -0
  13. data/spec/fixtures/favorite_questions_by_user_id.json.gz +0 -0
  14. data/spec/fixtures/post_comments.json +6 -0
  15. data/spec/fixtures/questions_tagged_gwt_and_googleappengine.json +901 -0
  16. data/spec/fixtures/questions_tagged_gwt_and_googleappengine.json.gz +0 -0
  17. data/spec/fixtures/questions_tagged_ruby.json +877 -0
  18. data/spec/fixtures/questions_tagged_ruby.json.gz +0 -0
  19. data/spec/fixtures/questions_unanswered.json +845 -0
  20. data/spec/fixtures/questions_unanswered.json.gz +0 -0
  21. data/spec/fixtures/revisions_by_id.json +25 -0
  22. data/spec/fixtures/search_intitle_ruby.json +872 -0
  23. data/spec/fixtures/search_tagged_ruby_rails.json +877 -0
  24. data/spec/fixtures/tags_by_user_id.json +357 -0
  25. data/spec/fixtures/tags_by_user_id.json.gz +0 -0
  26. data/spec/fixtures/user_tags.json +357 -0
  27. data/spec/pilha/stack_overflow/badge_spec.rb +0 -4
  28. data/spec/pilha/stack_overflow/question_spec.rb +65 -0
  29. data/spec/pilha/stack_overflow/statistics_spec.rb +0 -4
  30. data/spec/spec_helper.rb +6 -0
  31. metadata +20 -3
@@ -0,0 +1,877 @@
1
+ {
2
+ "total": 10168,
3
+ "page": 1,
4
+ "pagesize": 30,
5
+ "questions": [
6
+ {
7
+ "tags": [
8
+ "ruby",
9
+ "validation",
10
+ "parsing",
11
+ "date"
12
+ ],
13
+ "answer_count": 0,
14
+ "favorite_count": 0,
15
+ "question_timeline_url": "/questions/2968196/timeline",
16
+ "question_comments_url": "/questions/2968196/comments",
17
+ "question_answers_url": "/questions/2968196/answers",
18
+ "question_id": 2968196,
19
+ "owner": {
20
+ "user_id": 10771,
21
+ "user_type": "registered",
22
+ "display_name": "Matt Briggs",
23
+ "reputation": 5680,
24
+ "email_hash": "02e8f568d76bc8930727c1aeb767519c"
25
+ },
26
+ "creation_date": 1275585023,
27
+ "last_activity_date": 1275585023,
28
+ "up_vote_count": 0,
29
+ "down_vote_count": 0,
30
+ "view_count": 1,
31
+ "score": 0,
32
+ "community_owned": false,
33
+ "title": "How to get strptime to raise ArgumentError with garbage trailing characters"
34
+ },
35
+ {
36
+ "tags": [
37
+ "ruby",
38
+ "jquery-ajax",
39
+ "rails"
40
+ ],
41
+ "answer_count": 2,
42
+ "favorite_count": 0,
43
+ "question_timeline_url": "/questions/2959186/timeline",
44
+ "question_comments_url": "/questions/2959186/comments",
45
+ "question_answers_url": "/questions/2959186/answers",
46
+ "question_id": 2959186,
47
+ "owner": {
48
+ "user_id": 346263,
49
+ "user_type": "registered",
50
+ "display_name": "whazzmaster",
51
+ "reputation": 1,
52
+ "email_hash": "0fa3f092e6775a33a0ac14dd71604e22"
53
+ },
54
+ "creation_date": 1275492885,
55
+ "last_activity_date": 1275584337,
56
+ "up_vote_count": 0,
57
+ "down_vote_count": 0,
58
+ "view_count": 13,
59
+ "score": 0,
60
+ "community_owned": false,
61
+ "title": "Rails controller not rendering correct view when form is force-submitted by Javascript"
62
+ },
63
+ {
64
+ "tags": [
65
+ "ruby-on-rails",
66
+ "ruby",
67
+ "ajax",
68
+ "rails",
69
+ "ajax-on-rails"
70
+ ],
71
+ "answer_count": 0,
72
+ "favorite_count": 0,
73
+ "question_timeline_url": "/questions/2968058/timeline",
74
+ "question_comments_url": "/questions/2968058/comments",
75
+ "question_answers_url": "/questions/2968058/answers",
76
+ "question_id": 2968058,
77
+ "owner": {
78
+ "user_id": 297087,
79
+ "user_type": "registered",
80
+ "display_name": "Salil",
81
+ "reputation": 3199,
82
+ "email_hash": "c42c706fab23da0b6d3cd2cfbb8db27d"
83
+ },
84
+ "creation_date": 1275583837,
85
+ "last_activity_date": 1275583837,
86
+ "up_vote_count": 0,
87
+ "down_vote_count": 0,
88
+ "view_count": 8,
89
+ "score": 0,
90
+ "community_owned": false,
91
+ "title": "What are the disadvantages of AJAX on Rails?"
92
+ },
93
+ {
94
+ "tags": [
95
+ "c#",
96
+ "ruby"
97
+ ],
98
+ "answer_count": 1,
99
+ "favorite_count": 0,
100
+ "question_timeline_url": "/questions/2967268/timeline",
101
+ "question_comments_url": "/questions/2967268/comments",
102
+ "question_answers_url": "/questions/2967268/answers",
103
+ "question_id": 2967268,
104
+ "owner": {
105
+ "user_id": 357621,
106
+ "user_type": "registered",
107
+ "display_name": "flyerhzm",
108
+ "reputation": 1,
109
+ "email_hash": "83a87893bbb7d074a2a5b7759fb279ce"
110
+ },
111
+ "creation_date": 1275578155,
112
+ "last_edit_date": 1275578453,
113
+ "last_activity_date": 1275583313,
114
+ "up_vote_count": 0,
115
+ "down_vote_count": 0,
116
+ "view_count": 23,
117
+ "score": 0,
118
+ "community_owned": false,
119
+ "title": "Ruby equivalent to .NET's Encoding.ASCII.GetString(byte[])"
120
+ },
121
+ {
122
+ "tags": [
123
+ "ruby-on-rails",
124
+ "ruby",
125
+ "activerecord"
126
+ ],
127
+ "answer_count": 1,
128
+ "favorite_count": 0,
129
+ "question_timeline_url": "/questions/2953935/timeline",
130
+ "question_comments_url": "/questions/2953935/comments",
131
+ "question_answers_url": "/questions/2953935/answers",
132
+ "question_id": 2953935,
133
+ "owner": {
134
+ "user_id": 175836,
135
+ "user_type": "registered",
136
+ "display_name": "randombits",
137
+ "reputation": 259,
138
+ "email_hash": "d3b5a5015d8459c645abe6e906b9e77b"
139
+ },
140
+ "creation_date": 1275432883,
141
+ "last_edit_date": 1275433990,
142
+ "last_activity_date": 1275581838,
143
+ "up_vote_count": 0,
144
+ "down_vote_count": 0,
145
+ "view_count": 29,
146
+ "score": 0,
147
+ "community_owned": false,
148
+ "title": "Ruby on Rails: temporarily update an attribute into cache without saving it?"
149
+ },
150
+ {
151
+ "tags": [
152
+ "ruby-on-rails",
153
+ "ruby",
154
+ "activerecord",
155
+ "model"
156
+ ],
157
+ "answer_count": 1,
158
+ "favorite_count": 0,
159
+ "question_timeline_url": "/questions/2967700/timeline",
160
+ "question_comments_url": "/questions/2967700/comments",
161
+ "question_answers_url": "/questions/2967700/answers",
162
+ "question_id": 2967700,
163
+ "owner": {
164
+ "user_id": 151409,
165
+ "user_type": "registered",
166
+ "display_name": "aaronrussell",
167
+ "reputation": 266,
168
+ "email_hash": "b7d0c9a6a7216a0d9e5b45b43390890e"
169
+ },
170
+ "creation_date": 1275580934,
171
+ "last_activity_date": 1275581694,
172
+ "up_vote_count": 0,
173
+ "down_vote_count": 0,
174
+ "view_count": 14,
175
+ "score": 0,
176
+ "community_owned": false,
177
+ "title": "Rails - Accessing model class methods from within ActiveRecord model"
178
+ },
179
+ {
180
+ "tags": [
181
+ "ruby",
182
+ "math",
183
+ "array",
184
+ "boxplot"
185
+ ],
186
+ "answer_count": 1,
187
+ "favorite_count": 0,
188
+ "question_timeline_url": "/questions/2967586/timeline",
189
+ "question_comments_url": "/questions/2967586/comments",
190
+ "question_answers_url": "/questions/2967586/answers",
191
+ "question_id": 2967586,
192
+ "owner": {
193
+ "user_id": 142019,
194
+ "user_type": "registered",
195
+ "display_name": "Koning Baard",
196
+ "reputation": 2389,
197
+ "email_hash": "fb6b00fdfa29e2987bcd010e66db12d0"
198
+ },
199
+ "creation_date": 1275580173,
200
+ "last_activity_date": 1275581137,
201
+ "up_vote_count": 2,
202
+ "down_vote_count": 0,
203
+ "view_count": 26,
204
+ "score": 2,
205
+ "community_owned": false,
206
+ "title": "Finding the highest, lowest, total, average and median from an array in Ruby"
207
+ },
208
+ {
209
+ "tags": [
210
+ "ruby-on-rails",
211
+ "ruby"
212
+ ],
213
+ "answer_count": 1,
214
+ "favorite_count": 0,
215
+ "question_timeline_url": "/questions/2965395/timeline",
216
+ "question_comments_url": "/questions/2965395/comments",
217
+ "question_answers_url": "/questions/2965395/answers",
218
+ "question_id": 2965395,
219
+ "owner": {
220
+ "user_id": 357398,
221
+ "user_type": "registered",
222
+ "display_name": "user357398",
223
+ "reputation": 1,
224
+ "email_hash": "434af3c615d20d7275ff9b7ccdf988ba"
225
+ },
226
+ "creation_date": 1275563896,
227
+ "last_edit_date": 1275580788,
228
+ "last_activity_date": 1275580788,
229
+ "up_vote_count": 0,
230
+ "down_vote_count": 0,
231
+ "view_count": 31,
232
+ "score": 0,
233
+ "community_owned": false,
234
+ "title": "Can I add text to page-source dynamically in Ruby on Rails."
235
+ },
236
+ {
237
+ "tags": [
238
+ "ruby-on-rails",
239
+ "ruby",
240
+ "routing",
241
+ "cms",
242
+ "rails-routing"
243
+ ],
244
+ "answer_count": 2,
245
+ "favorite_count": 0,
246
+ "question_timeline_url": "/questions/2963799/timeline",
247
+ "question_comments_url": "/questions/2963799/comments",
248
+ "question_answers_url": "/questions/2963799/answers",
249
+ "question_id": 2963799,
250
+ "owner": {
251
+ "user_id": 340939,
252
+ "user_type": "registered",
253
+ "display_name": "matsko",
254
+ "reputation": 11,
255
+ "email_hash": "3c0ca2c60c5cc418c6b3dbed47b23b69"
256
+ },
257
+ "creation_date": 1275547531,
258
+ "last_activity_date": 1275579449,
259
+ "up_vote_count": 2,
260
+ "down_vote_count": 0,
261
+ "view_count": 31,
262
+ "score": 2,
263
+ "community_owned": false,
264
+ "title": "Creating an Admin directory in Rails"
265
+ },
266
+ {
267
+ "tags": [
268
+ "ruby"
269
+ ],
270
+ "answer_count": 1,
271
+ "favorite_count": 1,
272
+ "question_timeline_url": "/questions/2967323/timeline",
273
+ "question_comments_url": "/questions/2967323/comments",
274
+ "question_answers_url": "/questions/2967323/answers",
275
+ "question_id": 2967323,
276
+ "owner": {
277
+ "user_id": 194676,
278
+ "user_type": "registered",
279
+ "display_name": "John Himmelman",
280
+ "reputation": 1153,
281
+ "email_hash": "8dac2954dbc5d0ec9eb23b721c1ed729"
282
+ },
283
+ "creation_date": 1275578532,
284
+ "last_activity_date": 1275578788,
285
+ "up_vote_count": 1,
286
+ "down_vote_count": 0,
287
+ "view_count": 11,
288
+ "score": 1,
289
+ "community_owned": false,
290
+ "title": "Ruby / Installation Package - What is the fastest way to setup a Ruby environment in Windows?"
291
+ },
292
+ {
293
+ "tags": [
294
+ "ruby",
295
+ "rubygems",
296
+ "install",
297
+ "rake"
298
+ ],
299
+ "answer_count": 2,
300
+ "favorite_count": 0,
301
+ "question_timeline_url": "/questions/2964865/timeline",
302
+ "question_comments_url": "/questions/2964865/comments",
303
+ "question_answers_url": "/questions/2964865/answers",
304
+ "question_id": 2964865,
305
+ "owner": {
306
+ "user_id": 343743,
307
+ "user_type": "registered",
308
+ "display_name": "intern",
309
+ "reputation": 19,
310
+ "email_hash": "588f9193eeb920367ed9055248703f3c"
311
+ },
312
+ "creation_date": 1275559438,
313
+ "last_edit_date": 1275560314,
314
+ "last_activity_date": 1275577152,
315
+ "up_vote_count": 1,
316
+ "down_vote_count": 0,
317
+ "view_count": 13,
318
+ "score": 1,
319
+ "community_owned": false,
320
+ "title": "Installing rake"
321
+ },
322
+ {
323
+ "tags": [
324
+ "ruby",
325
+ "command-line-arguments"
326
+ ],
327
+ "answer_count": 3,
328
+ "accepted_answer_id": 2966988,
329
+ "favorite_count": 0,
330
+ "question_timeline_url": "/questions/2966845/timeline",
331
+ "question_comments_url": "/questions/2966845/comments",
332
+ "question_answers_url": "/questions/2966845/answers",
333
+ "question_id": 2966845,
334
+ "owner": {
335
+ "user_id": 314643,
336
+ "user_type": "unregistered",
337
+ "display_name": "Bub Bradlee",
338
+ "reputation": 36,
339
+ "email_hash": "2bce18b9c5e88aec029961ea4acf47e2"
340
+ },
341
+ "creation_date": 1275575213,
342
+ "last_activity_date": 1275576242,
343
+ "up_vote_count": 0,
344
+ "down_vote_count": 0,
345
+ "view_count": 29,
346
+ "score": 0,
347
+ "community_owned": false,
348
+ "title": "How to access original command-line argument string in Ruby?"
349
+ },
350
+ {
351
+ "tags": [
352
+ "java",
353
+ "python",
354
+ "ruby"
355
+ ],
356
+ "answer_count": 3,
357
+ "favorite_count": 0,
358
+ "question_timeline_url": "/questions/2963615/timeline",
359
+ "question_comments_url": "/questions/2963615/comments",
360
+ "question_answers_url": "/questions/2963615/answers",
361
+ "question_id": 2963615,
362
+ "owner": {
363
+ "user_id": 224922,
364
+ "user_type": "registered",
365
+ "display_name": "fayer",
366
+ "reputation": 1344,
367
+ "email_hash": "e088f807ebe86667f19f4c215737cf53"
368
+ },
369
+ "creation_date": 1275544788,
370
+ "last_activity_date": 1275575156,
371
+ "up_vote_count": 0,
372
+ "down_vote_count": 1,
373
+ "view_count": 85,
374
+ "score": -1,
375
+ "community_owned": false,
376
+ "title": "multi threading python/ruby vs java?"
377
+ },
378
+ {
379
+ "tags": [
380
+ "ruby",
381
+ "console",
382
+ "pretty-print",
383
+ "irb"
384
+ ],
385
+ "answer_count": 2,
386
+ "accepted_answer_id": 2966153,
387
+ "favorite_count": 0,
388
+ "question_timeline_url": "/questions/2966096/timeline",
389
+ "question_comments_url": "/questions/2966096/comments",
390
+ "question_answers_url": "/questions/2966096/answers",
391
+ "question_id": 2966096,
392
+ "owner": {
393
+ "user_id": 304435,
394
+ "user_type": "registered",
395
+ "display_name": "tesmar",
396
+ "reputation": 106,
397
+ "email_hash": "47c1fc3ca54153b929c7e226c63ed69e"
398
+ },
399
+ "creation_date": 1275569759,
400
+ "last_activity_date": 1275573506,
401
+ "up_vote_count": 1,
402
+ "down_vote_count": 0,
403
+ "view_count": 19,
404
+ "score": 1,
405
+ "community_owned": false,
406
+ "title": "IRB and large variables?"
407
+ },
408
+ {
409
+ "tags": [
410
+ "ruby-on-rails",
411
+ "c",
412
+ "ruby",
413
+ "performance",
414
+ "serialization"
415
+ ],
416
+ "answer_count": 3,
417
+ "favorite_count": 1,
418
+ "bounty_closes_date": 1276038913,
419
+ "bounty_amount": 250,
420
+ "question_timeline_url": "/questions/2909909/timeline",
421
+ "question_comments_url": "/questions/2909909/comments",
422
+ "question_answers_url": "/questions/2909909/answers",
423
+ "question_id": 2909909,
424
+ "owner": {
425
+ "user_id": 83491,
426
+ "user_type": "registered",
427
+ "display_name": "Gdeglin",
428
+ "reputation": 2602,
429
+ "email_hash": "940dda7bf9d12df0d918ce946f5d7cce"
430
+ },
431
+ "creation_date": 1274843747,
432
+ "last_edit_date": 1275510532,
433
+ "last_activity_date": 1275573446,
434
+ "up_vote_count": 1,
435
+ "down_vote_count": 0,
436
+ "view_count": 57,
437
+ "score": 1,
438
+ "community_owned": false,
439
+ "title": "Working with a large data object between ruby processes"
440
+ },
441
+ {
442
+ "tags": [
443
+ "ruby",
444
+ "file-io",
445
+ "hpricot"
446
+ ],
447
+ "answer_count": 2,
448
+ "favorite_count": 0,
449
+ "question_timeline_url": "/questions/2960470/timeline",
450
+ "question_comments_url": "/questions/2960470/comments",
451
+ "question_answers_url": "/questions/2960470/answers",
452
+ "question_id": 2960470,
453
+ "owner": {
454
+ "user_id": 131441,
455
+ "user_type": "registered",
456
+ "display_name": "John",
457
+ "reputation": 200,
458
+ "email_hash": "4503e3aae4c4f695ea248fdf95845b92"
459
+ },
460
+ "creation_date": 1275503618,
461
+ "last_activity_date": 1275571709,
462
+ "up_vote_count": 0,
463
+ "down_vote_count": 0,
464
+ "view_count": 19,
465
+ "score": 0,
466
+ "community_owned": false,
467
+ "title": "Ruby - Writing Hpricot data to a file"
468
+ },
469
+ {
470
+ "tags": [
471
+ "ruby",
472
+ "date",
473
+ "format",
474
+ "rails"
475
+ ],
476
+ "answer_count": 1,
477
+ "accepted_answer_id": 2960618,
478
+ "favorite_count": 0,
479
+ "question_timeline_url": "/questions/2945807/timeline",
480
+ "question_comments_url": "/questions/2945807/comments",
481
+ "question_answers_url": "/questions/2945807/answers",
482
+ "question_id": 2945807,
483
+ "owner": {
484
+ "user_id": 10771,
485
+ "user_type": "registered",
486
+ "display_name": "Matt Briggs",
487
+ "reputation": 5680,
488
+ "email_hash": "02e8f568d76bc8930727c1aeb767519c"
489
+ },
490
+ "creation_date": 1275337211,
491
+ "last_activity_date": 1275571637,
492
+ "up_vote_count": 0,
493
+ "down_vote_count": 0,
494
+ "view_count": 33,
495
+ "score": 0,
496
+ "community_owned": false,
497
+ "title": "Parsing and validating arbitrary date formats in ruby (on rails)"
498
+ },
499
+ {
500
+ "tags": [
501
+ "ruby-on-rails",
502
+ "ruby",
503
+ "rubygems",
504
+ "thumbnail",
505
+ "googlemaps"
506
+ ],
507
+ "answer_count": 0,
508
+ "favorite_count": 0,
509
+ "question_timeline_url": "/questions/2966312/timeline",
510
+ "question_comments_url": "/questions/2966312/comments",
511
+ "question_answers_url": "/questions/2966312/answers",
512
+ "question_id": 2966312,
513
+ "owner": {
514
+ "user_id": 309067,
515
+ "user_type": "registered",
516
+ "display_name": "Shaliko",
517
+ "reputation": 11,
518
+ "email_hash": "0bab65ff519b9aaca502fb2057572b6c"
519
+ },
520
+ "creation_date": 1275571286,
521
+ "last_activity_date": 1275571286,
522
+ "up_vote_count": 0,
523
+ "down_vote_count": 0,
524
+ "view_count": 13,
525
+ "score": 0,
526
+ "community_owned": false,
527
+ "title": "Google map - thumbnail"
528
+ },
529
+ {
530
+ "tags": [
531
+ "ruby",
532
+ "smtp",
533
+ "gmail",
534
+ "ruby1.9"
535
+ ],
536
+ "answer_count": 0,
537
+ "favorite_count": 0,
538
+ "question_timeline_url": "/questions/2966215/timeline",
539
+ "question_comments_url": "/questions/2966215/comments",
540
+ "question_answers_url": "/questions/2966215/answers",
541
+ "question_id": 2966215,
542
+ "owner": {
543
+ "user_id": 17674,
544
+ "user_type": "registered",
545
+ "display_name": "anshul",
546
+ "reputation": 891,
547
+ "email_hash": "7696a05c8866b150579a950a085a88fa"
548
+ },
549
+ "creation_date": 1275570591,
550
+ "last_activity_date": 1275570591,
551
+ "up_vote_count": 0,
552
+ "down_vote_count": 0,
553
+ "view_count": 11,
554
+ "score": 0,
555
+ "community_owned": false,
556
+ "title": "Ruby 1.9, gmail and NET::SMTP"
557
+ },
558
+ {
559
+ "tags": [
560
+ "ruby",
561
+ "extension",
562
+ "kernel",
563
+ "assert",
564
+ "xunit"
565
+ ],
566
+ "answer_count": 5,
567
+ "accepted_answer_id": 148938,
568
+ "favorite_count": 0,
569
+ "question_timeline_url": "/questions/147969/timeline",
570
+ "question_comments_url": "/questions/147969/comments",
571
+ "question_answers_url": "/questions/147969/answers",
572
+ "question_id": 147969,
573
+ "owner": {
574
+ "user_id": 2455,
575
+ "user_type": "registered",
576
+ "display_name": "Andrew Harmel-Law",
577
+ "reputation": 716,
578
+ "email_hash": "c8810f4a905911e16762fe9ea9b34d80"
579
+ },
580
+ "creation_date": 1222677556,
581
+ "last_edit_date": 1222680279,
582
+ "last_activity_date": 1275570179,
583
+ "up_vote_count": 3,
584
+ "down_vote_count": 0,
585
+ "view_count": 1018,
586
+ "score": 3,
587
+ "community_owned": false,
588
+ "title": "Is it idiomatic Ruby to add an assert( ) method to Ruby's Kernel class?"
589
+ },
590
+ {
591
+ "tags": [
592
+ "ruby",
593
+ "activemerchant"
594
+ ],
595
+ "answer_count": 0,
596
+ "favorite_count": 0,
597
+ "question_timeline_url": "/questions/2966054/timeline",
598
+ "question_comments_url": "/questions/2966054/comments",
599
+ "question_answers_url": "/questions/2966054/answers",
600
+ "question_id": 2966054,
601
+ "owner": {
602
+ "user_id": 62871,
603
+ "user_type": "registered",
604
+ "display_name": "robw",
605
+ "reputation": 447,
606
+ "email_hash": "9b2cb78b37880c0b399f8111b3767d8c"
607
+ },
608
+ "creation_date": 1275569450,
609
+ "last_activity_date": 1275569450,
610
+ "up_vote_count": 0,
611
+ "down_vote_count": 0,
612
+ "view_count": 12,
613
+ "score": 0,
614
+ "community_owned": false,
615
+ "title": "Validating \"Visa Debit\" cards in ActiveMerchant"
616
+ },
617
+ {
618
+ "tags": [
619
+ "ruby-on-rails",
620
+ "ruby"
621
+ ],
622
+ "answer_count": 2,
623
+ "favorite_count": 0,
624
+ "question_timeline_url": "/questions/2965474/timeline",
625
+ "question_comments_url": "/questions/2965474/comments",
626
+ "question_answers_url": "/questions/2965474/answers",
627
+ "question_id": 2965474,
628
+ "owner": {
629
+ "user_id": 298624,
630
+ "user_type": "registered",
631
+ "display_name": "fl00r",
632
+ "reputation": 1013,
633
+ "email_hash": "5b84ccc2f7709bbb7105baeb40e0961b"
634
+ },
635
+ "creation_date": 1275564661,
636
+ "last_activity_date": 1275567452,
637
+ "up_vote_count": 0,
638
+ "down_vote_count": 0,
639
+ "view_count": 15,
640
+ "score": 0,
641
+ "community_owned": false,
642
+ "title": "Generating link path with parameters"
643
+ },
644
+ {
645
+ "tags": [
646
+ "ruby-on-rails",
647
+ "ruby",
648
+ "act"
649
+ ],
650
+ "answer_count": 2,
651
+ "favorite_count": 0,
652
+ "question_timeline_url": "/questions/2964578/timeline",
653
+ "question_comments_url": "/questions/2964578/comments",
654
+ "question_answers_url": "/questions/2964578/answers",
655
+ "question_id": 2964578,
656
+ "owner": {
657
+ "user_id": 321880,
658
+ "user_type": "registered",
659
+ "display_name": "Small Wolf",
660
+ "reputation": 16,
661
+ "email_hash": "9d438bc8e2498ccb87754c9e41674ccd"
662
+ },
663
+ "creation_date": 1275556518,
664
+ "last_edit_date": 1275562296,
665
+ "last_activity_date": 1275566369,
666
+ "up_vote_count": 0,
667
+ "down_vote_count": 0,
668
+ "view_count": 31,
669
+ "score": 0,
670
+ "community_owned": false,
671
+ "title": "Tell me how to use ActiveRecord#after_add"
672
+ },
673
+ {
674
+ "tags": [
675
+ "ruby",
676
+ "rmagick",
677
+ "dragonfly"
678
+ ],
679
+ "answer_count": 1,
680
+ "favorite_count": 0,
681
+ "question_timeline_url": "/questions/2942210/timeline",
682
+ "question_comments_url": "/questions/2942210/comments",
683
+ "question_answers_url": "/questions/2942210/answers",
684
+ "question_id": 2942210,
685
+ "owner": {
686
+ "user_id": 27449,
687
+ "user_type": "registered",
688
+ "display_name": "Alexander Malfait",
689
+ "reputation": 809,
690
+ "email_hash": "d169c3fa650d41a7aaa124ad0cdd9095"
691
+ },
692
+ "creation_date": 1275293213,
693
+ "last_activity_date": 1275565569,
694
+ "up_vote_count": 0,
695
+ "down_vote_count": 0,
696
+ "view_count": 16,
697
+ "score": 0,
698
+ "community_owned": false,
699
+ "title": "Override transparency color when converting transparent PNG to JPG"
700
+ },
701
+ {
702
+ "tags": [
703
+ "ruby",
704
+ "best-practices",
705
+ "exception",
706
+ "refactoring"
707
+ ],
708
+ "answer_count": 1,
709
+ "accepted_answer_id": 2965485,
710
+ "favorite_count": 0,
711
+ "question_timeline_url": "/questions/2965036/timeline",
712
+ "question_comments_url": "/questions/2965036/comments",
713
+ "question_answers_url": "/questions/2965036/answers",
714
+ "question_id": 2965036,
715
+ "owner": {
716
+ "user_id": 31610,
717
+ "user_type": "registered",
718
+ "display_name": "Geo",
719
+ "reputation": 8315,
720
+ "email_hash": "d4c0558e1220b5b3e4acd38a6a7cceeb"
721
+ },
722
+ "creation_date": 1275560794,
723
+ "last_edit_date": 1275563973,
724
+ "last_activity_date": 1275564770,
725
+ "up_vote_count": 2,
726
+ "down_vote_count": 0,
727
+ "view_count": 26,
728
+ "score": 2,
729
+ "community_owned": false,
730
+ "title": "Is grouping your verification code in one Ruby method a bad idea?"
731
+ },
732
+ {
733
+ "tags": [
734
+ "ruby",
735
+ "memcached",
736
+ "sinatra",
737
+ "heroku"
738
+ ],
739
+ "answer_count": 0,
740
+ "favorite_count": 0,
741
+ "question_timeline_url": "/questions/2965472/timeline",
742
+ "question_comments_url": "/questions/2965472/comments",
743
+ "question_answers_url": "/questions/2965472/answers",
744
+ "question_id": 2965472,
745
+ "owner": {
746
+ "user_id": 297974,
747
+ "user_type": "registered",
748
+ "display_name": "sevennineteen",
749
+ "reputation": 46,
750
+ "email_hash": "f1b20192f39f9eb12e4c719dd95e29f5"
751
+ },
752
+ "creation_date": 1275564618,
753
+ "last_activity_date": 1275564618,
754
+ "up_vote_count": 0,
755
+ "down_vote_count": 0,
756
+ "view_count": 10,
757
+ "score": 0,
758
+ "community_owned": false,
759
+ "title": "NoMethodError using Memcached Sinatra-style"
760
+ },
761
+ {
762
+ "tags": [
763
+ "ruby-on-rails",
764
+ "ruby",
765
+ "serialization",
766
+ "model",
767
+ "objects"
768
+ ],
769
+ "answer_count": 3,
770
+ "accepted_answer_id": 2960260,
771
+ "favorite_count": 0,
772
+ "question_timeline_url": "/questions/2959661/timeline",
773
+ "question_comments_url": "/questions/2959661/comments",
774
+ "question_answers_url": "/questions/2959661/answers",
775
+ "question_id": 2959661,
776
+ "owner": {
777
+ "user_id": 251257,
778
+ "user_type": "registered",
779
+ "display_name": "keruilin",
780
+ "reputation": 63,
781
+ "email_hash": "2669fbd62908cf7787bd6ac81bad624c"
782
+ },
783
+ "creation_date": 1275496476,
784
+ "last_activity_date": 1275564438,
785
+ "up_vote_count": 2,
786
+ "down_vote_count": 0,
787
+ "view_count": 43,
788
+ "score": 2,
789
+ "community_owned": false,
790
+ "title": "Rails: Serializing objects in a database?"
791
+ },
792
+ {
793
+ "tags": [
794
+ "ruby",
795
+ "caching",
796
+ "rails"
797
+ ],
798
+ "answer_count": 0,
799
+ "favorite_count": 0,
800
+ "question_timeline_url": "/questions/2965370/timeline",
801
+ "question_comments_url": "/questions/2965370/comments",
802
+ "question_answers_url": "/questions/2965370/answers",
803
+ "question_id": 2965370,
804
+ "owner": {
805
+ "user_id": 15361,
806
+ "user_type": "registered",
807
+ "display_name": "fstephany",
808
+ "reputation": 1,
809
+ "email_hash": "41ef427652d3f8ef79369842e0472df1"
810
+ },
811
+ "creation_date": 1275563690,
812
+ "last_activity_date": 1275563690,
813
+ "up_vote_count": 0,
814
+ "down_vote_count": 0,
815
+ "view_count": 9,
816
+ "score": 0,
817
+ "community_owned": false,
818
+ "title": "How to expire a caches_action with a cache_path?"
819
+ },
820
+ {
821
+ "tags": [
822
+ "ruby",
823
+ "apache",
824
+ "rails",
825
+ "mongrel-cluster"
826
+ ],
827
+ "answer_count": 0,
828
+ "favorite_count": 0,
829
+ "question_timeline_url": "/questions/2965286/timeline",
830
+ "question_comments_url": "/questions/2965286/comments",
831
+ "question_answers_url": "/questions/2965286/answers",
832
+ "question_id": 2965286,
833
+ "owner": {
834
+ "user_id": 357385,
835
+ "user_type": "unregistered",
836
+ "display_name": "cojones",
837
+ "reputation": 1,
838
+ "email_hash": "fdb488647484e40f785dde7134afc6d1"
839
+ },
840
+ "creation_date": 1275563032,
841
+ "last_activity_date": 1275563032,
842
+ "up_vote_count": 0,
843
+ "down_vote_count": 0,
844
+ "view_count": 9,
845
+ "score": 0,
846
+ "community_owned": false,
847
+ "title": "Getting 500 Error when trying to access Rails application through Apache2"
848
+ },
849
+ {
850
+ "tags": [
851
+ "ruby",
852
+ "metaprogramming"
853
+ ],
854
+ "answer_count": 4,
855
+ "favorite_count": 1,
856
+ "question_timeline_url": "/questions/1485068/timeline",
857
+ "question_comments_url": "/questions/1485068/comments",
858
+ "question_answers_url": "/questions/1485068/answers",
859
+ "question_id": 1485068,
860
+ "owner": {
861
+ "user_id": 179995,
862
+ "user_type": "unregistered",
863
+ "display_name": "Dourian",
864
+ "reputation": 26,
865
+ "email_hash": "91d668ca09390fed5ee6367121f367f0"
866
+ },
867
+ "creation_date": 1254102596,
868
+ "last_activity_date": 1275562842,
869
+ "up_vote_count": 4,
870
+ "down_vote_count": 0,
871
+ "view_count": 152,
872
+ "score": 4,
873
+ "community_owned": false,
874
+ "title": "Ruby: How to evalulate multiple methods per send command?"
875
+ }
876
+ ]
877
+ }