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": 10153,
3
+ "page": 1,
4
+ "pagesize": 30,
5
+ "questions": [
6
+ {
7
+ "tags": [
8
+ "ruby-on-rails",
9
+ "ruby",
10
+ "authentication"
11
+ ],
12
+ "answer_count": 11,
13
+ "accepted_answer_id": 24302,
14
+ "favorite_count": 6,
15
+ "question_timeline_url": "/questions/24298/timeline",
16
+ "question_comments_url": "/questions/24298/comments",
17
+ "question_answers_url": "/questions/24298/answers",
18
+ "question_id": 24298,
19
+ "owner": {
20
+ "user_id": 168,
21
+ "user_type": "registered",
22
+ "display_name": "Dan Wolchonok",
23
+ "reputation": 368,
24
+ "email_hash": "3e1c956f37a44c5b5ad78275eb5cb631"
25
+ },
26
+ "creation_date": 1219505231,
27
+ "last_edit_date": 1219611462,
28
+ "last_activity_date": 1275539494,
29
+ "up_vote_count": 12,
30
+ "down_vote_count": 0,
31
+ "view_count": 3002,
32
+ "score": 12,
33
+ "community_owned": false,
34
+ "title": "Best Solution For Authentication in Ruby on Rails"
35
+ },
36
+ {
37
+ "tags": [
38
+ "ruby-on-rails",
39
+ "ruby",
40
+ "testing",
41
+ "server"
42
+ ],
43
+ "answer_count": 3,
44
+ "favorite_count": 0,
45
+ "question_timeline_url": "/questions/702180/timeline",
46
+ "question_comments_url": "/questions/702180/comments",
47
+ "question_answers_url": "/questions/702180/answers",
48
+ "question_id": 702180,
49
+ "owner": {
50
+ "user_id": 70057,
51
+ "user_type": "registered",
52
+ "display_name": "kareem",
53
+ "reputation": 91,
54
+ "email_hash": "889352fafbee781d2340736cd15876f9"
55
+ },
56
+ "creation_date": 1238521150,
57
+ "last_activity_date": 1275547339,
58
+ "up_vote_count": 1,
59
+ "down_vote_count": 0,
60
+ "view_count": 304,
61
+ "score": 1,
62
+ "community_owned": false,
63
+ "title": "Did test server port change in Rails 2.3?"
64
+ },
65
+ {
66
+ "tags": [
67
+ "ruby",
68
+ "vista",
69
+ "aptana",
70
+ "mongrel"
71
+ ],
72
+ "answer_count": 1,
73
+ "favorite_count": 0,
74
+ "question_timeline_url": "/questions/2582283/timeline",
75
+ "question_comments_url": "/questions/2582283/comments",
76
+ "question_answers_url": "/questions/2582283/answers",
77
+ "question_id": 2582283,
78
+ "owner": {
79
+ "user_id": 98252,
80
+ "user_type": "registered",
81
+ "display_name": "floatingfrisbee",
82
+ "reputation": 81,
83
+ "email_hash": "5e37c1da4d66a3df72a928ff2dfa9c0b"
84
+ },
85
+ "creation_date": 1270520062,
86
+ "last_activity_date": 1275531364,
87
+ "up_vote_count": 0,
88
+ "down_vote_count": 0,
89
+ "view_count": 114,
90
+ "score": 0,
91
+ "community_owned": false,
92
+ "title": "Error loading Mongrel in Aptana Ruby Application on Vista"
93
+ },
94
+ {
95
+ "tags": [
96
+ "ruby-on-rails",
97
+ "ruby",
98
+ "haml",
99
+ "ruby-on-rails3beta"
100
+ ],
101
+ "answer_count": 2,
102
+ "favorite_count": 0,
103
+ "question_timeline_url": "/questions/2623349/timeline",
104
+ "question_comments_url": "/questions/2623349/comments",
105
+ "question_answers_url": "/questions/2623349/answers",
106
+ "question_id": 2623349,
107
+ "owner": {
108
+ "user_id": 43896,
109
+ "user_type": "registered",
110
+ "display_name": "CJ Bryan",
111
+ "reputation": 84,
112
+ "email_hash": "09b1899edc65e476f8893144f0c786df"
113
+ },
114
+ "creation_date": 1271087219,
115
+ "last_edit_date": 1274575332,
116
+ "last_activity_date": 1275522077,
117
+ "up_vote_count": 0,
118
+ "down_vote_count": 0,
119
+ "view_count": 176,
120
+ "score": 0,
121
+ "community_owned": true,
122
+ "title": "Rails 3 Beta 2, Haml, Nested Layouts and LocalJumpError"
123
+ },
124
+ {
125
+ "tags": [
126
+ "ruby-on-rails",
127
+ "ruby",
128
+ "pdf",
129
+ "prawn"
130
+ ],
131
+ "answer_count": 2,
132
+ "favorite_count": 0,
133
+ "question_timeline_url": "/questions/2716148/timeline",
134
+ "question_comments_url": "/questions/2716148/comments",
135
+ "question_answers_url": "/questions/2716148/answers",
136
+ "question_id": 2716148,
137
+ "owner": {
138
+ "user_id": 143148,
139
+ "user_type": "registered",
140
+ "display_name": "Mike",
141
+ "reputation": 187,
142
+ "email_hash": "bd54294eb31aa4082836b46cd7144d5a"
143
+ },
144
+ "creation_date": 1272309193,
145
+ "last_activity_date": 1275543340,
146
+ "up_vote_count": 1,
147
+ "down_vote_count": 0,
148
+ "view_count": 45,
149
+ "score": 1,
150
+ "community_owned": false,
151
+ "title": "watermark existing pdf with ruby"
152
+ },
153
+ {
154
+ "tags": [
155
+ "ruby",
156
+ "segmentation-fault",
157
+ "sinatra",
158
+ "rmagick",
159
+ "ruby1.9.1"
160
+ ],
161
+ "answer_count": 3,
162
+ "favorite_count": 0,
163
+ "question_timeline_url": "/questions/2838307/timeline",
164
+ "question_comments_url": "/questions/2838307/comments",
165
+ "question_answers_url": "/questions/2838307/answers",
166
+ "question_id": 2838307,
167
+ "owner": {
168
+ "user_id": 98141,
169
+ "user_type": "registered",
170
+ "display_name": "Grant Heaslip",
171
+ "reputation": 54,
172
+ "email_hash": "6de058cc8e83ca4722d9750293338f32"
173
+ },
174
+ "creation_date": 1273880766,
175
+ "last_activity_date": 1275544770,
176
+ "up_vote_count": 0,
177
+ "down_vote_count": 0,
178
+ "view_count": 45,
179
+ "score": 0,
180
+ "community_owned": false,
181
+ "title": "Why is this RMagick call generating a segmentation fault?"
182
+ },
183
+ {
184
+ "tags": [
185
+ "ruby-on-rails",
186
+ "xml",
187
+ "ruby",
188
+ "nokogiri"
189
+ ],
190
+ "answer_count": 1,
191
+ "favorite_count": 0,
192
+ "question_timeline_url": "/questions/2878228/timeline",
193
+ "question_comments_url": "/questions/2878228/comments",
194
+ "question_answers_url": "/questions/2878228/answers",
195
+ "question_id": 2878228,
196
+ "owner": {
197
+ "user_id": 346595,
198
+ "user_type": "unregistered",
199
+ "display_name": "Galen King",
200
+ "reputation": 6,
201
+ "email_hash": "360c646bcb53d72abcc15d0389abad87"
202
+ },
203
+ "creation_date": 1274393608,
204
+ "last_activity_date": 1275530899,
205
+ "up_vote_count": 1,
206
+ "down_vote_count": 0,
207
+ "view_count": 70,
208
+ "score": 1,
209
+ "community_owned": false,
210
+ "title": "Parsing XML feed into Ruby object using nokogiri?"
211
+ },
212
+ {
213
+ "tags": [
214
+ "ruby-on-rails",
215
+ "ruby",
216
+ "certification",
217
+ "rails-certification"
218
+ ],
219
+ "answer_count": 2,
220
+ "favorite_count": 2,
221
+ "question_timeline_url": "/questions/2902162/timeline",
222
+ "question_comments_url": "/questions/2902162/comments",
223
+ "question_answers_url": "/questions/2902162/answers",
224
+ "question_id": 2902162,
225
+ "owner": {
226
+ "user_id": 297087,
227
+ "user_type": "registered",
228
+ "display_name": "Salil",
229
+ "reputation": 3166,
230
+ "email_hash": "c42c706fab23da0b6d3cd2cfbb8db27d"
231
+ },
232
+ "creation_date": 1274764151,
233
+ "last_edit_date": 1274796364,
234
+ "last_activity_date": 1275542680,
235
+ "up_vote_count": 3,
236
+ "down_vote_count": 0,
237
+ "view_count": 87,
238
+ "score": 3,
239
+ "community_owned": false,
240
+ "title": "Certification for Rails?"
241
+ },
242
+ {
243
+ "tags": [
244
+ "ruby-on-rails",
245
+ "ruby",
246
+ "activeresource",
247
+ "rails3"
248
+ ],
249
+ "answer_count": 0,
250
+ "favorite_count": 0,
251
+ "question_timeline_url": "/questions/2918419/timeline",
252
+ "question_comments_url": "/questions/2918419/comments",
253
+ "question_answers_url": "/questions/2918419/answers",
254
+ "question_id": 2918419,
255
+ "owner": {
256
+ "user_id": 23128,
257
+ "user_type": "registered",
258
+ "display_name": "Jared",
259
+ "reputation": 514,
260
+ "email_hash": "238ef07c3c64486de45c3751c9c88726"
261
+ },
262
+ "creation_date": 1274933818,
263
+ "last_edit_date": 1275524668,
264
+ "last_activity_date": 1275524668,
265
+ "up_vote_count": 0,
266
+ "down_vote_count": 0,
267
+ "view_count": 25,
268
+ "score": 0,
269
+ "community_owned": false,
270
+ "title": "Add api key to every request in ActiveResource"
271
+ },
272
+ {
273
+ "tags": [
274
+ "windows",
275
+ "ruby",
276
+ "linux",
277
+ "rubygems"
278
+ ],
279
+ "answer_count": 2,
280
+ "favorite_count": 0,
281
+ "bounty_closes_date": 1276127085,
282
+ "bounty_amount": 100,
283
+ "question_timeline_url": "/questions/2933271/timeline",
284
+ "question_comments_url": "/questions/2933271/comments",
285
+ "question_answers_url": "/questions/2933271/answers",
286
+ "question_id": 2933271,
287
+ "owner": {
288
+ "user_id": 94154,
289
+ "user_type": "registered",
290
+ "display_name": "user94154",
291
+ "reputation": 340,
292
+ "email_hash": "5317865dc121a69c375a6daf722ca9ec"
293
+ },
294
+ "creation_date": 1275093243,
295
+ "last_activity_date": 1275523235,
296
+ "up_vote_count": 1,
297
+ "down_vote_count": 0,
298
+ "view_count": 37,
299
+ "score": 1,
300
+ "community_owned": false,
301
+ "title": "require 'rubygems' for linux but not in windows. why? and can I fix this?"
302
+ },
303
+ {
304
+ "tags": [
305
+ "python",
306
+ "ruby",
307
+ "programming-languages",
308
+ "dynamic-languages"
309
+ ],
310
+ "answer_count": 3,
311
+ "favorite_count": 0,
312
+ "closed_date": 1275467333,
313
+ "closed_reason": "exact duplicate",
314
+ "question_timeline_url": "/questions/2955072/timeline",
315
+ "question_comments_url": "/questions/2955072/comments",
316
+ "question_answers_url": "/questions/2955072/answers",
317
+ "question_id": 2955072,
318
+ "owner": {
319
+ "user_id": 68467,
320
+ "user_type": "registered",
321
+ "display_name": "Seburdis",
322
+ "reputation": 294,
323
+ "email_hash": "e33e31224d9fe76677ad954d2f67b454"
324
+ },
325
+ "creation_date": 1275454216,
326
+ "last_activity_date": 1275546140,
327
+ "up_vote_count": 3,
328
+ "down_vote_count": 0,
329
+ "view_count": 191,
330
+ "score": 3,
331
+ "community_owned": false,
332
+ "title": "Advantages/disadvantages of Python and Ruby"
333
+ },
334
+ {
335
+ "tags": [
336
+ "ruby",
337
+ "refactoring"
338
+ ],
339
+ "answer_count": 2,
340
+ "favorite_count": 2,
341
+ "question_timeline_url": "/questions/2958443/timeline",
342
+ "question_comments_url": "/questions/2958443/comments",
343
+ "question_answers_url": "/questions/2958443/answers",
344
+ "question_id": 2958443,
345
+ "owner": {
346
+ "user_id": 31610,
347
+ "user_type": "registered",
348
+ "display_name": "Geo",
349
+ "reputation": 8303,
350
+ "email_hash": "d4c0558e1220b5b3e4acd38a6a7cceeb"
351
+ },
352
+ "creation_date": 1275487423,
353
+ "last_activity_date": 1275522734,
354
+ "up_vote_count": 2,
355
+ "down_vote_count": 0,
356
+ "view_count": 44,
357
+ "score": 2,
358
+ "community_owned": false,
359
+ "title": "How can I find unused methods in a Ruby app?"
360
+ },
361
+ {
362
+ "tags": [
363
+ "ruby",
364
+ "jquery-ajax",
365
+ "rails"
366
+ ],
367
+ "answer_count": 1,
368
+ "favorite_count": 0,
369
+ "question_timeline_url": "/questions/2959186/timeline",
370
+ "question_comments_url": "/questions/2959186/comments",
371
+ "question_answers_url": "/questions/2959186/answers",
372
+ "question_id": 2959186,
373
+ "owner": {
374
+ "user_id": 346263,
375
+ "user_type": "registered",
376
+ "display_name": "whazzmaster",
377
+ "reputation": 1,
378
+ "email_hash": "0fa3f092e6775a33a0ac14dd71604e22"
379
+ },
380
+ "creation_date": 1275492885,
381
+ "last_activity_date": 1275540039,
382
+ "up_vote_count": 0,
383
+ "down_vote_count": 0,
384
+ "view_count": 10,
385
+ "score": 0,
386
+ "community_owned": false,
387
+ "title": "Rails controller not rendering correct view when form is force-submitted by Javascript"
388
+ },
389
+ {
390
+ "tags": [
391
+ "ruby",
392
+ "file-io",
393
+ "hpricot"
394
+ ],
395
+ "answer_count": 1,
396
+ "favorite_count": 0,
397
+ "question_timeline_url": "/questions/2960470/timeline",
398
+ "question_comments_url": "/questions/2960470/comments",
399
+ "question_answers_url": "/questions/2960470/answers",
400
+ "question_id": 2960470,
401
+ "owner": {
402
+ "user_id": 131441,
403
+ "user_type": "registered",
404
+ "display_name": "John",
405
+ "reputation": 200,
406
+ "email_hash": "4503e3aae4c4f695ea248fdf95845b92"
407
+ },
408
+ "creation_date": 1275503618,
409
+ "last_activity_date": 1275526853,
410
+ "up_vote_count": 0,
411
+ "down_vote_count": 0,
412
+ "view_count": 16,
413
+ "score": 0,
414
+ "community_owned": false,
415
+ "title": "Ruby - Writing Hpricot data to a file"
416
+ },
417
+ {
418
+ "tags": [
419
+ "ruby",
420
+ "rails"
421
+ ],
422
+ "answer_count": 0,
423
+ "favorite_count": 0,
424
+ "question_timeline_url": "/questions/2961248/timeline",
425
+ "question_comments_url": "/questions/2961248/comments",
426
+ "question_answers_url": "/questions/2961248/answers",
427
+ "question_id": 2961248,
428
+ "owner": {
429
+ "user_id": 356849,
430
+ "user_type": "registered",
431
+ "display_name": "user356849",
432
+ "reputation": 1,
433
+ "email_hash": "8dd27651fceb1111db19d826972f4392"
434
+ },
435
+ "creation_date": 1275509538,
436
+ "last_edit_date": 1275525894,
437
+ "last_activity_date": 1275525894,
438
+ "up_vote_count": 0,
439
+ "down_vote_count": 0,
440
+ "view_count": 4,
441
+ "score": 0,
442
+ "community_owned": false,
443
+ "title": "Custom Drop Down box in Ruby on Rails with links as a couple of the options."
444
+ },
445
+ {
446
+ "tags": [
447
+ "c++",
448
+ "ruby",
449
+ "shared-libraries",
450
+ "compiler-optimization",
451
+ "extconf.rb"
452
+ ],
453
+ "answer_count": 2,
454
+ "favorite_count": 0,
455
+ "question_timeline_url": "/questions/2962287/timeline",
456
+ "question_comments_url": "/questions/2962287/comments",
457
+ "question_answers_url": "/questions/2962287/answers",
458
+ "question_id": 2962287,
459
+ "owner": {
460
+ "user_id": 170300,
461
+ "user_type": "registered",
462
+ "display_name": "mohawkjohn",
463
+ "reputation": 32,
464
+ "email_hash": "010a66cfbeeb274b2b3da337e28b74c9"
465
+ },
466
+ "creation_date": 1275520365,
467
+ "last_activity_date": 1275548920,
468
+ "up_vote_count": 0,
469
+ "down_vote_count": 0,
470
+ "view_count": 18,
471
+ "score": 0,
472
+ "community_owned": false,
473
+ "title": "How would I instruct extconf.rb to use additional g++ optimization flags, and which are advisable?"
474
+ },
475
+ {
476
+ "tags": [
477
+ "ruby-on-rails",
478
+ "ruby"
479
+ ],
480
+ "answer_count": 3,
481
+ "accepted_answer_id": 2962715,
482
+ "favorite_count": 0,
483
+ "question_timeline_url": "/questions/2962692/timeline",
484
+ "question_comments_url": "/questions/2962692/comments",
485
+ "question_answers_url": "/questions/2962692/answers",
486
+ "question_id": 2962692,
487
+ "owner": {
488
+ "user_id": 357010,
489
+ "user_type": "registered",
490
+ "display_name": "Sainath Mallidi",
491
+ "reputation": 8,
492
+ "email_hash": "aeb0552279d07ef79b82de287e55b4d5"
493
+ },
494
+ "creation_date": 1275526618,
495
+ "last_activity_date": 1275558970,
496
+ "up_vote_count": 1,
497
+ "down_vote_count": 0,
498
+ "view_count": 44,
499
+ "score": 1,
500
+ "community_owned": false,
501
+ "title": "Regular expression in Ruby"
502
+ },
503
+ {
504
+ "tags": [
505
+ "ruby-on-rails",
506
+ "ruby",
507
+ "unit-testing"
508
+ ],
509
+ "answer_count": 2,
510
+ "favorite_count": 0,
511
+ "question_timeline_url": "/questions/2962905/timeline",
512
+ "question_comments_url": "/questions/2962905/comments",
513
+ "question_answers_url": "/questions/2962905/answers",
514
+ "question_id": 2962905,
515
+ "owner": {
516
+ "user_id": 357040,
517
+ "user_type": "registered",
518
+ "display_name": "Jason Langenauer",
519
+ "reputation": 1,
520
+ "email_hash": "f0b6b1ff0a0c7e09acfaf1c0efe7515e"
521
+ },
522
+ "creation_date": 1275530702,
523
+ "last_activity_date": 1275539214,
524
+ "up_vote_count": 0,
525
+ "down_vote_count": 0,
526
+ "view_count": 16,
527
+ "score": 0,
528
+ "community_owned": false,
529
+ "title": "How to test the XML sent to a web service in Ruby/Rails"
530
+ },
531
+ {
532
+ "tags": [
533
+ "ruby-on-rails",
534
+ "ruby",
535
+ "authentication"
536
+ ],
537
+ "answer_count": 1,
538
+ "accepted_answer_id": 2963059,
539
+ "favorite_count": 0,
540
+ "question_timeline_url": "/questions/2963025/timeline",
541
+ "question_comments_url": "/questions/2963025/comments",
542
+ "question_answers_url": "/questions/2963025/answers",
543
+ "question_id": 2963025,
544
+ "owner": {
545
+ "user_id": 175836,
546
+ "user_type": "registered",
547
+ "display_name": "randombits",
548
+ "reputation": 259,
549
+ "email_hash": "d3b5a5015d8459c645abe6e906b9e77b"
550
+ },
551
+ "creation_date": 1275533127,
552
+ "last_activity_date": 1275533739,
553
+ "up_vote_count": 0,
554
+ "down_vote_count": 0,
555
+ "view_count": 18,
556
+ "score": 0,
557
+ "community_owned": false,
558
+ "title": "Rails 2.x http basic authentication"
559
+ },
560
+ {
561
+ "tags": [
562
+ "ruby-on-rails",
563
+ "ruby"
564
+ ],
565
+ "answer_count": 0,
566
+ "favorite_count": 0,
567
+ "question_timeline_url": "/questions/2963116/timeline",
568
+ "question_comments_url": "/questions/2963116/comments",
569
+ "question_answers_url": "/questions/2963116/answers",
570
+ "question_id": 2963116,
571
+ "owner": {
572
+ "user_id": 175836,
573
+ "user_type": "registered",
574
+ "display_name": "randombits",
575
+ "reputation": 259,
576
+ "email_hash": "d3b5a5015d8459c645abe6e906b9e77b"
577
+ },
578
+ "creation_date": 1275534885,
579
+ "last_activity_date": 1275534885,
580
+ "up_vote_count": 0,
581
+ "down_vote_count": 0,
582
+ "view_count": 12,
583
+ "score": 0,
584
+ "community_owned": false,
585
+ "title": "Rails 2.x provide meaningful error message with http basic authentication"
586
+ },
587
+ {
588
+ "tags": [
589
+ "ruby",
590
+ "conditional",
591
+ "rails"
592
+ ],
593
+ "answer_count": 2,
594
+ "favorite_count": 0,
595
+ "question_timeline_url": "/questions/2963597/timeline",
596
+ "question_comments_url": "/questions/2963597/comments",
597
+ "question_answers_url": "/questions/2963597/answers",
598
+ "question_id": 2963597,
599
+ "owner": {
600
+ "user_id": 357144,
601
+ "user_type": "unregistered",
602
+ "display_name": "James Ferguson",
603
+ "reputation": 1,
604
+ "email_hash": "8e2db79a6d55c54086049d951ab0c2b3"
605
+ },
606
+ "creation_date": 1275544450,
607
+ "last_activity_date": 1275547651,
608
+ "up_vote_count": 0,
609
+ "down_vote_count": 0,
610
+ "view_count": 12,
611
+ "score": 0,
612
+ "community_owned": false,
613
+ "title": "validates_associated not honoring :if"
614
+ },
615
+ {
616
+ "tags": [
617
+ "java",
618
+ "python",
619
+ "ruby"
620
+ ],
621
+ "answer_count": 1,
622
+ "favorite_count": 0,
623
+ "question_timeline_url": "/questions/2963615/timeline",
624
+ "question_comments_url": "/questions/2963615/comments",
625
+ "question_answers_url": "/questions/2963615/answers",
626
+ "question_id": 2963615,
627
+ "owner": {
628
+ "user_id": 224922,
629
+ "user_type": "registered",
630
+ "display_name": "fayer",
631
+ "reputation": 1339,
632
+ "email_hash": "e088f807ebe86667f19f4c215737cf53"
633
+ },
634
+ "creation_date": 1275544788,
635
+ "last_activity_date": 1275552743,
636
+ "up_vote_count": 0,
637
+ "down_vote_count": 1,
638
+ "view_count": 52,
639
+ "score": -1,
640
+ "community_owned": false,
641
+ "title": "multi threading python/ruby vs java?"
642
+ },
643
+ {
644
+ "tags": [
645
+ "ruby-on-rails",
646
+ "ruby",
647
+ "routing",
648
+ "cms",
649
+ "rails-routing"
650
+ ],
651
+ "answer_count": 2,
652
+ "favorite_count": 0,
653
+ "question_timeline_url": "/questions/2963799/timeline",
654
+ "question_comments_url": "/questions/2963799/comments",
655
+ "question_answers_url": "/questions/2963799/answers",
656
+ "question_id": 2963799,
657
+ "owner": {
658
+ "user_id": 340939,
659
+ "user_type": "registered",
660
+ "display_name": "matsko",
661
+ "reputation": 11,
662
+ "email_hash": "3c0ca2c60c5cc418c6b3dbed47b23b69"
663
+ },
664
+ "creation_date": 1275547531,
665
+ "last_activity_date": 1275559565,
666
+ "up_vote_count": 2,
667
+ "down_vote_count": 0,
668
+ "view_count": 20,
669
+ "score": 2,
670
+ "community_owned": false,
671
+ "title": "Creating an Admin directory in Rails"
672
+ },
673
+ {
674
+ "tags": [
675
+ "ruby-on-rails",
676
+ "ruby",
677
+ "engine"
678
+ ],
679
+ "answer_count": 2,
680
+ "favorite_count": 0,
681
+ "question_timeline_url": "/questions/2964050/timeline",
682
+ "question_comments_url": "/questions/2964050/comments",
683
+ "question_answers_url": "/questions/2964050/answers",
684
+ "question_id": 2964050,
685
+ "owner": {
686
+ "user_id": 174385,
687
+ "user_type": "registered",
688
+ "display_name": "sinsiliux",
689
+ "reputation": 95,
690
+ "email_hash": "97f7778bd994b7e4c5ad025be0640bde"
691
+ },
692
+ "creation_date": 1275550635,
693
+ "last_activity_date": 1275562291,
694
+ "up_vote_count": 0,
695
+ "down_vote_count": 0,
696
+ "view_count": 10,
697
+ "score": 0,
698
+ "community_owned": false,
699
+ "title": "Rails engines extending functionality"
700
+ },
701
+ {
702
+ "tags": [
703
+ "ruby-on-rails",
704
+ "ruby",
705
+ "activerecord"
706
+ ],
707
+ "answer_count": 2,
708
+ "accepted_answer_id": 2964123,
709
+ "favorite_count": 0,
710
+ "question_timeline_url": "/questions/2964060/timeline",
711
+ "question_comments_url": "/questions/2964060/comments",
712
+ "question_answers_url": "/questions/2964060/answers",
713
+ "question_id": 2964060,
714
+ "owner": {
715
+ "user_id": 351823,
716
+ "user_type": "registered",
717
+ "display_name": "Hadi",
718
+ "reputation": 19,
719
+ "email_hash": "289a633dc4f76e8c0623e6ab8ab888a3"
720
+ },
721
+ "creation_date": 1275550717,
722
+ "last_activity_date": 1275551459,
723
+ "up_vote_count": 0,
724
+ "down_vote_count": 0,
725
+ "view_count": 17,
726
+ "score": 0,
727
+ "community_owned": false,
728
+ "title": "initializing variables in ActiveRecord's classes"
729
+ },
730
+ {
731
+ "tags": [
732
+ "ruby",
733
+ "date",
734
+ "sinatra",
735
+ "datamapper"
736
+ ],
737
+ "answer_count": 0,
738
+ "favorite_count": 0,
739
+ "question_timeline_url": "/questions/2964283/timeline",
740
+ "question_comments_url": "/questions/2964283/comments",
741
+ "question_answers_url": "/questions/2964283/answers",
742
+ "question_id": 2964283,
743
+ "owner": {
744
+ "user_id": 177136,
745
+ "user_type": "registered",
746
+ "display_name": "Gearóid",
747
+ "reputation": 78,
748
+ "email_hash": "294809707d8ef84c3da34cb6afb59d7e"
749
+ },
750
+ "creation_date": 1275553227,
751
+ "last_activity_date": 1275553227,
752
+ "up_vote_count": 0,
753
+ "down_vote_count": 0,
754
+ "view_count": 7,
755
+ "score": 0,
756
+ "community_owned": false,
757
+ "title": "Set date format in ruby model (sinatra/datamapper)"
758
+ },
759
+ {
760
+ "tags": [
761
+ "ruby-on-rails",
762
+ "ruby",
763
+ "haml",
764
+ "sass"
765
+ ],
766
+ "answer_count": 0,
767
+ "favorite_count": 1,
768
+ "question_timeline_url": "/questions/2964501/timeline",
769
+ "question_comments_url": "/questions/2964501/comments",
770
+ "question_answers_url": "/questions/2964501/answers",
771
+ "question_id": 2964501,
772
+ "owner": {
773
+ "user_id": 334545,
774
+ "user_type": "registered",
775
+ "display_name": "corroded",
776
+ "reputation": 421,
777
+ "email_hash": "a53cdbd5cbc6e9fc944d35331a32e63c"
778
+ },
779
+ "creation_date": 1275555631,
780
+ "last_edit_date": 1275558173,
781
+ "last_activity_date": 1275558173,
782
+ "up_vote_count": 1,
783
+ "down_vote_count": 0,
784
+ "view_count": 9,
785
+ "score": 1,
786
+ "community_owned": false,
787
+ "title": "accessing Ruby variable(from model or controller) in SASS"
788
+ },
789
+ {
790
+ "tags": [
791
+ "ruby-on-rails",
792
+ "ruby",
793
+ "act"
794
+ ],
795
+ "answer_count": 0,
796
+ "favorite_count": 0,
797
+ "question_timeline_url": "/questions/2964578/timeline",
798
+ "question_comments_url": "/questions/2964578/comments",
799
+ "question_answers_url": "/questions/2964578/answers",
800
+ "question_id": 2964578,
801
+ "owner": {
802
+ "user_id": 321880,
803
+ "user_type": "registered",
804
+ "display_name": "Small Wolf",
805
+ "reputation": 16,
806
+ "email_hash": "9d438bc8e2498ccb87754c9e41674ccd"
807
+ },
808
+ "creation_date": 1275556518,
809
+ "last_edit_date": 1275562296,
810
+ "last_activity_date": 1275562296,
811
+ "up_vote_count": 0,
812
+ "down_vote_count": 0,
813
+ "view_count": 12,
814
+ "score": 0,
815
+ "community_owned": false,
816
+ "title": "Tell me how to use ActiveRecord#after_add"
817
+ },
818
+ {
819
+ "tags": [
820
+ "ruby",
821
+ "rubygems",
822
+ "install",
823
+ "rake"
824
+ ],
825
+ "answer_count": 1,
826
+ "favorite_count": 0,
827
+ "question_timeline_url": "/questions/2964865/timeline",
828
+ "question_comments_url": "/questions/2964865/comments",
829
+ "question_answers_url": "/questions/2964865/answers",
830
+ "question_id": 2964865,
831
+ "owner": {
832
+ "user_id": 343743,
833
+ "user_type": "registered",
834
+ "display_name": "intern",
835
+ "reputation": 19,
836
+ "email_hash": "588f9193eeb920367ed9055248703f3c"
837
+ },
838
+ "creation_date": 1275559438,
839
+ "last_edit_date": 1275560314,
840
+ "last_activity_date": 1275560314,
841
+ "up_vote_count": 1,
842
+ "down_vote_count": 0,
843
+ "view_count": 4,
844
+ "score": 1,
845
+ "community_owned": false,
846
+ "title": "Installing rake"
847
+ },
848
+ {
849
+ "tags": [
850
+ "ruby",
851
+ "best-practices",
852
+ "exception"
853
+ ],
854
+ "answer_count": 1,
855
+ "favorite_count": 0,
856
+ "question_timeline_url": "/questions/2965036/timeline",
857
+ "question_comments_url": "/questions/2965036/comments",
858
+ "question_answers_url": "/questions/2965036/answers",
859
+ "question_id": 2965036,
860
+ "owner": {
861
+ "user_id": 31610,
862
+ "user_type": "registered",
863
+ "display_name": "Geo",
864
+ "reputation": 8303,
865
+ "email_hash": "d4c0558e1220b5b3e4acd38a6a7cceeb"
866
+ },
867
+ "creation_date": 1275560794,
868
+ "last_activity_date": 1275561259,
869
+ "up_vote_count": 1,
870
+ "down_vote_count": 0,
871
+ "view_count": 8,
872
+ "score": 1,
873
+ "community_owned": false,
874
+ "title": "Is grouping your verification code in one Ruby method a code smell?"
875
+ }
876
+ ]
877
+ }