branston 0.5.2 → 0.6.0

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.
Files changed (43) hide show
  1. data/lib/branston/app/controllers/stories_controller.rb +7 -1
  2. data/lib/branston/app/helpers/stories_helper.rb +7 -0
  3. data/lib/branston/app/views/stories/index.html.erb +18 -5
  4. data/lib/branston/coverage/app-controllers-application_controller_rb.html +1 -1
  5. data/lib/branston/coverage/app-controllers-iterations_controller_rb.html +1 -1
  6. data/lib/branston/coverage/app-controllers-outcomes_controller_rb.html +1 -1
  7. data/lib/branston/coverage/app-controllers-preconditions_controller_rb.html +1 -1
  8. data/lib/branston/coverage/app-controllers-releases_controller_rb.html +1 -1
  9. data/lib/branston/coverage/app-controllers-scenarios_controller_rb.html +1 -1
  10. data/lib/branston/coverage/app-controllers-sessions_controller_rb.html +1 -1
  11. data/lib/branston/coverage/app-controllers-stories_controller_rb.html +171 -135
  12. data/lib/branston/coverage/app-controllers-user_roles_controller_rb.html +1 -1
  13. data/lib/branston/coverage/app-controllers-users_controller_rb.html +1 -1
  14. data/lib/branston/coverage/app-helpers-application_helper_rb.html +1 -1
  15. data/lib/branston/coverage/app-helpers-iterations_helper_rb.html +1 -1
  16. data/lib/branston/coverage/app-helpers-outcomes_helper_rb.html +1 -1
  17. data/lib/branston/coverage/app-helpers-preconditions_helper_rb.html +1 -1
  18. data/lib/branston/coverage/app-helpers-releases_helper_rb.html +1 -1
  19. data/lib/branston/coverage/app-helpers-sessions_helper_rb.html +1 -1
  20. data/lib/branston/coverage/app-helpers-stories_helper_rb.html +46 -4
  21. data/lib/branston/coverage/app-helpers-user_roles_helper_rb.html +1 -1
  22. data/lib/branston/coverage/app-models-iteration_rb.html +1 -1
  23. data/lib/branston/coverage/app-models-outcome_rb.html +1 -1
  24. data/lib/branston/coverage/app-models-participation_rb.html +1 -1
  25. data/lib/branston/coverage/app-models-precondition_rb.html +1 -1
  26. data/lib/branston/coverage/app-models-release_rb.html +1 -1
  27. data/lib/branston/coverage/app-models-scenario_rb.html +1 -1
  28. data/lib/branston/coverage/app-models-story_rb.html +1 -1
  29. data/lib/branston/coverage/app-models-user_rb.html +1 -1
  30. data/lib/branston/coverage/app-models-user_role_rb.html +1 -1
  31. data/lib/branston/coverage/index.html +13 -13
  32. data/lib/branston/coverage/lib-client_rb.html +1 -1
  33. data/lib/branston/coverage/lib-faker_extras_rb.html +1 -1
  34. data/lib/branston/coverage/lib-story_generator_rb.html +1 -1
  35. data/lib/branston/db/development.sqlite3 +0 -0
  36. data/lib/branston/log/development.log +2797 -0
  37. data/lib/branston/log/test.log +18862 -0
  38. data/lib/branston/test/blueprints.rb +5 -1
  39. data/lib/branston/test/functional/stories_controller_test.rb +14 -6
  40. data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_flat.txt +4 -3
  41. data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_graph.html +1893 -795
  42. data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_tree.txt +6612 -6612
  43. metadata +2 -2
@@ -687,7 +687,7 @@
687
687
  </tbody>
688
688
  </table>
689
689
 
690
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
690
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
691
691
 
692
692
  </body>
693
693
  </html>
@@ -309,7 +309,7 @@
309
309
  </tbody>
310
310
  </table>
311
311
 
312
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
312
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
313
313
 
314
314
  </body>
315
315
  </html>
@@ -321,7 +321,7 @@
321
321
  </tbody>
322
322
  </table>
323
323
 
324
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
324
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
325
325
 
326
326
  </body>
327
327
  </html>
@@ -357,7 +357,7 @@
357
357
  </tbody>
358
358
  </table>
359
359
 
360
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
360
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
361
361
 
362
362
  </body>
363
363
  </html>
@@ -69,7 +69,7 @@
69
69
  </tbody>
70
70
  </table>
71
71
 
72
- <p>Generated on Wed Mar 10 10:25:24 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
72
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
73
73
 
74
74
  </body>
75
75
  </html>
@@ -69,7 +69,7 @@
69
69
  </tbody>
70
70
  </table>
71
71
 
72
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
72
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
73
73
 
74
74
  </body>
75
75
  </html>
@@ -69,7 +69,7 @@
69
69
  </tbody>
70
70
  </table>
71
71
 
72
- <p>Generated on Wed Mar 10 10:25:24 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
72
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
73
73
 
74
74
  </body>
75
75
  </html>
@@ -69,7 +69,7 @@
69
69
  </tbody>
70
70
  </table>
71
71
 
72
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
72
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
73
73
 
74
74
  </body>
75
75
  </html>
@@ -28,8 +28,8 @@
28
28
  <tbody>
29
29
  <tr>
30
30
  <td class="left_align"><a href="app-helpers-stories_helper_rb.html">app/helpers/stories_helper.rb</a></td>
31
- <td class='right_align'><tt>2</tt></td>
32
- <td class='right_align'><tt>2</tt></td>
31
+ <td class='right_align'><tt>9</tt></td>
32
+ <td class='right_align'><tt>7</tt></td>
33
33
  <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
34
34
  <div class="percent_graph">
35
35
  <div class="covered" style="width:100px"></div>
@@ -63,13 +63,55 @@
63
63
 
64
64
 
65
65
  <tr class="inferred">
66
- <td><pre><a name="line2">2</a> end</pre></td>
66
+ <td><pre><a name="line2">2</a> </pre></td>
67
+ </tr>
68
+
69
+
70
+
71
+ <tr class="marked">
72
+ <td><pre><a name="line3">3</a> def points_label(stories)</pre></td>
73
+ </tr>
74
+
75
+
76
+
77
+ <tr class="marked">
78
+ <td><pre><a name="line4">4</a> points = 0</pre></td>
79
+ </tr>
80
+
81
+
82
+
83
+ <tr class="marked">
84
+ <td><pre><a name="line5">5</a> stories.map { |s| points += s.points }</pre></td>
85
+ </tr>
86
+
87
+
88
+
89
+ <tr class="marked">
90
+ <td><pre><a name="line6">6</a> &quot;(#{points} points)&quot;</pre></td>
91
+ </tr>
92
+
93
+
94
+
95
+ <tr class="inferred">
96
+ <td><pre><a name="line7">7</a> end</pre></td>
97
+ </tr>
98
+
99
+
100
+
101
+ <tr class="inferred">
102
+ <td><pre><a name="line8">8</a> </pre></td>
103
+ </tr>
104
+
105
+
106
+
107
+ <tr class="inferred">
108
+ <td><pre><a name="line9">9</a> end</pre></td>
67
109
  </tr>
68
110
 
69
111
  </tbody>
70
112
  </table>
71
113
 
72
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
114
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
73
115
 
74
116
  </body>
75
117
  </html>
@@ -69,7 +69,7 @@
69
69
  </tbody>
70
70
  </table>
71
71
 
72
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
72
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
73
73
 
74
74
  </body>
75
75
  </html>
@@ -315,7 +315,7 @@
315
315
  </tbody>
316
316
  </table>
317
317
 
318
- <p>Generated on Wed Mar 10 10:25:24 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
318
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
319
319
 
320
320
  </body>
321
321
  </html>
@@ -237,7 +237,7 @@
237
237
  </tbody>
238
238
  </table>
239
239
 
240
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
240
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
241
241
 
242
242
  </body>
243
243
  </html>
@@ -183,7 +183,7 @@
183
183
  </tbody>
184
184
  </table>
185
185
 
186
- <p>Generated on Wed Mar 10 10:25:24 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
186
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
187
187
 
188
188
  </body>
189
189
  </html>
@@ -237,7 +237,7 @@
237
237
  </tbody>
238
238
  </table>
239
239
 
240
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
240
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
241
241
 
242
242
  </body>
243
243
  </html>
@@ -189,7 +189,7 @@
189
189
  </tbody>
190
190
  </table>
191
191
 
192
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
192
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
193
193
 
194
194
  </body>
195
195
  </html>
@@ -225,7 +225,7 @@
225
225
  </tbody>
226
226
  </table>
227
227
 
228
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
228
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
229
229
 
230
230
  </body>
231
231
  </html>
@@ -615,7 +615,7 @@
615
615
  </tbody>
616
616
  </table>
617
617
 
618
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
618
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
619
619
 
620
620
  </body>
621
621
  </html>
@@ -507,7 +507,7 @@
507
507
  </tbody>
508
508
  </table>
509
509
 
510
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
510
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
511
511
 
512
512
  </body>
513
513
  </html>
@@ -183,7 +183,7 @@
183
183
  </tbody>
184
184
  </table>
185
185
 
186
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
186
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
187
187
 
188
188
  </body>
189
189
  </html>
@@ -48,14 +48,14 @@
48
48
  <tfoot>
49
49
  <tr>
50
50
  <td class="left_align">TOTAL</td>
51
- <td class='right_align'><tt>1693</tt></td>
52
- <td class='right_align'><tt>1004</tt></td>
53
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>97.93%</tt></div>
51
+ <td class='right_align'><tt>1706</tt></td>
52
+ <td class='right_align'><tt>1014</tt></td>
53
+ <td class="left_align"><div class="percent_graph_legend"><tt class=''>97.95%</tt></div>
54
54
  <div class="percent_graph">
55
55
  <div class="covered" style="width:98px"></div>
56
56
  <div class="uncovered" style="width:2px"></div>
57
57
  </div></td>
58
- <td class="left_align"><div class="percent_graph_legend"><tt class='coverage_total'>96.91%</tt></div>
58
+ <td class="left_align"><div class="percent_graph_legend"><tt class='coverage_total'>96.94%</tt></div>
59
59
  <div class="percent_graph">
60
60
  <div class="covered" style="width:97px"></div>
61
61
  <div class="uncovered" style="width:3px"></div>
@@ -98,14 +98,14 @@
98
98
 
99
99
  <tr class="all_files all_coverage 90 100 app controllers even">
100
100
  <td class="left_align"><a href="app-controllers-stories_controller_rb.html">app/controllers/stories_controller.rb</a></td>
101
- <td class='right_align'><tt>168</tt></td>
102
- <td class='right_align'><tt>115</tt></td>
103
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>90.48%</tt></div>
101
+ <td class='right_align'><tt>174</tt></td>
102
+ <td class='right_align'><tt>120</tt></td>
103
+ <td class="left_align"><div class="percent_graph_legend"><tt class=''>90.80%</tt></div>
104
104
  <div class="percent_graph">
105
- <div class="covered" style="width:90px"></div>
106
- <div class="uncovered" style="width:10px"></div>
105
+ <div class="covered" style="width:91px"></div>
106
+ <div class="uncovered" style="width:9px"></div>
107
107
  </div></td>
108
- <td class="left_align"><div class="percent_graph_legend"><tt class=''>88.70%</tt></div>
108
+ <td class="left_align"><div class="percent_graph_legend"><tt class=''>89.17%</tt></div>
109
109
  <div class="percent_graph">
110
110
  <div class="covered" style="width:89px"></div>
111
111
  <div class="uncovered" style="width:11px"></div>
@@ -274,8 +274,8 @@
274
274
 
275
275
  <tr class="all_files all_coverage 110 app helpers odd">
276
276
  <td class="left_align"><a href="app-helpers-stories_helper_rb.html">app/helpers/stories_helper.rb</a></td>
277
- <td class='right_align'><tt>2</tt></td>
278
- <td class='right_align'><tt>2</tt></td>
277
+ <td class='right_align'><tt>9</tt></td>
278
+ <td class='right_align'><tt>7</tt></td>
279
279
  <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
280
280
  <div class="percent_graph">
281
281
  <div class="covered" style="width:100px"></div>
@@ -548,7 +548,7 @@
548
548
  </table>
549
549
  </div>
550
550
 
551
- <p>Generated on Wed Mar 10 10:25:24 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
551
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
552
552
 
553
553
  <script type="text/javascript">
554
554
  $(document).ready(function(){$("#report_table").tablesorter({widgets: ['zebra'], textExtraction: 'complex'});});
@@ -531,7 +531,7 @@
531
531
  </tbody>
532
532
  </table>
533
533
 
534
- <p>Generated on Wed Mar 10 10:25:24 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
534
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
535
535
 
536
536
  </body>
537
537
  </html>
@@ -201,7 +201,7 @@
201
201
  </tbody>
202
202
  </table>
203
203
 
204
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
204
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
205
205
 
206
206
  </body>
207
207
  </html>
@@ -867,7 +867,7 @@
867
867
  </tbody>
868
868
  </table>
869
869
 
870
- <p>Generated on Wed Mar 10 10:25:25 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
870
+ <p>Generated on Tue Mar 30 15:13:35 +0100 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.2.1</a></p>
871
871
 
872
872
  </body>
873
873
  </html>
@@ -10987,3 +10987,2800 @@ Completed in 143ms (View: 1, DB: 2) | 200 OK [http://localhost/stories/single-pa
10987
10987
  SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127114237')
10988
10988
  SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127131037')
10989
10989
  SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091204173634')
10990
+
10991
+
10992
+ Processing IterationsController#index (for 127.0.0.1 at 2010-03-30 14:44:13) [GET]
10993
+ Redirected to http://localhost:3001/session/new
10994
+ Filter chain halted as [:login_required] rendered_or_redirected.
10995
+ Completed in 41ms (DB: 0) | 302 Found [http://localhost/]
10996
+
10997
+
10998
+ Processing SessionsController#new (for 127.0.0.1 at 2010-03-30 14:44:14) [GET]
10999
+ Rendering template within layouts/main
11000
+ Rendering sessions/new
11001
+ Rendered layouts/_meta (0.8ms)
11002
+ Rendered layouts/_header (1.3ms)
11003
+ Rendered layouts/_footer (1.6ms)
11004
+ Completed in 65ms (View: 60, DB: 0) | 200 OK [http://localhost/session/new]
11005
+
11006
+
11007
+ Processing SessionsController#create (for 127.0.0.1 at 2010-03-30 14:44:22) [POST]
11008
+ Parameters: {"commit"=>"Log in", "authenticity_token"=>"0C5m49yiUGhP+mJSLvpCyt9/kz1MdoRzi+Z7497ehWI=", "login"=>"Dan", "password"=>"r3ddwarf"}
11009
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."login" = 'dan') LIMIT 1
11010
+ Redirected to http://localhost:3001/
11011
+ Completed in 121ms (DB: 1) | 302 Found [http://localhost/session]
11012
+
11013
+
11014
+ Processing IterationsController#index (for 127.0.0.1 at 2010-03-30 14:44:22) [GET]
11015
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11016
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
11017
+ Rendering template within layouts/main
11018
+ Rendering iterations/index
11019
+ Rendered layouts/_meta (0.2ms)
11020
+ Rendered layouts/_header (0.4ms)
11021
+ Rendered layouts/_footer (0.7ms)
11022
+ Completed in 182ms (View: 153, DB: 1) | 200 OK [http://localhost/]
11023
+
11024
+
11025
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 14:44:24) [GET]
11026
+ Parameters: {"iteration_id"=>"2"}
11027
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11028
+ Iteration Load (1.1ms) SELECT * FROM "iterations" 
11029
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 2) 
11030
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 2)) 
11031
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 2)) 
11032
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 2)) 
11033
+ Story Load (1.5ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 2)) 
11034
+ Rendering template within layouts/main
11035
+ Rendering stories/index
11036
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11037
+ Rendered stories/_story (269.0ms)
11038
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11039
+ Rendered stories/_story (18.3ms)
11040
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11041
+ Rendered stories/_story (16.2ms)
11042
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11043
+ Rendered stories/_story (17.4ms)
11044
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11045
+ Rendered stories/_story (16.3ms)
11046
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11047
+ Rendered stories/_story (17.0ms)
11048
+ Rendered layouts/_meta (0.1ms)
11049
+ Rendered layouts/_header (0.3ms)
11050
+ Rendered layouts/_footer (0.5ms)
11051
+ Completed in 476ms (View: 394, DB: 5) | 200 OK [http://localhost/iterations/2/stories]
11052
+
11053
+
11054
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 14:47:29) [GET]
11055
+ Parameters: {"iteration_id"=>"2"}
11056
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11057
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
11058
+ Iteration Load (0.4ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 2) 
11059
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 2)) 
11060
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 2)) 
11061
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 2)) 
11062
+ Story Load (1.6ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 2)) 
11063
+ Rendering template within layouts/main
11064
+ Rendering stories/index
11065
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11066
+ Rendered stories/_story (20.7ms)
11067
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11068
+ Rendered stories/_story (18.4ms)
11069
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11070
+ Rendered stories/_story (18.0ms)
11071
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11072
+ Rendered stories/_story (17.7ms)
11073
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11074
+ Rendered stories/_story (17.2ms)
11075
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11076
+ Rendered stories/_story (16.3ms)
11077
+ Rendered layouts/_meta (0.1ms)
11078
+ Rendered layouts/_header (0.3ms)
11079
+ Rendered layouts/_footer (0.5ms)
11080
+ Completed in 309ms (View: 129, DB: 5) | 200 OK [http://localhost/iterations/2/stories]
11081
+
11082
+
11083
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 14:48:17) [GET]
11084
+ Parameters: {"iteration_id"=>"1"}
11085
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11086
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
11087
+ Iteration Load (0.4ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
11088
+ Rendering template within layouts/main
11089
+ Rendering stories/index
11090
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
11091
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
11092
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11093
+ SQL (0.2ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
11094
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
11095
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
11096
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
11097
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11098
+ Story Load (2.0ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11099
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11100
+ Rendered stories/_story (20.6ms)
11101
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11102
+ Rendered stories/_story (16.1ms)
11103
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11104
+ Rendered stories/_story (107.4ms)
11105
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11106
+ Rendered stories/_story (17.5ms)
11107
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11108
+ Rendered stories/_story (17.4ms)
11109
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11110
+ Rendered stories/_story (18.3ms)
11111
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11112
+ Rendered stories/_story (18.4ms)
11113
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11114
+ Rendered stories/_story (16.2ms)
11115
+ Rendered layouts/_meta (0.1ms)
11116
+ Rendered layouts/_header (0.3ms)
11117
+ Rendered layouts/_footer (0.5ms)
11118
+ Completed in 318ms (View: 260, DB: 6) | 200 OK [http://localhost/iterations/1/stories]
11119
+
11120
+
11121
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 14:52:26) [GET]
11122
+ Parameters: {"iteration_id"=>"1"}
11123
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11124
+ Iteration Load (0.9ms) SELECT * FROM "iterations" 
11125
+ Iteration Load (0.7ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
11126
+ Story Load (2.3ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
11127
+ Rendering template within layouts/main
11128
+ Rendering stories/index
11129
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
11130
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
11131
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11132
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
11133
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
11134
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
11135
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
11136
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11137
+ Story Load (2.2ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11138
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11139
+ Rendered stories/_story (22.1ms)
11140
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11141
+ Rendered stories/_story (16.7ms)
11142
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11143
+ Rendered stories/_story (18.8ms)
11144
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11145
+ Rendered stories/_story (17.3ms)
11146
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11147
+ Rendered stories/_story (17.5ms)
11148
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11149
+ Rendered stories/_story (17.8ms)
11150
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11151
+ Rendered stories/_story (18.9ms)
11152
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11153
+ Rendered stories/_story (16.0ms)
11154
+ Rendered layouts/_meta (0.1ms)
11155
+ Rendered layouts/_header (0.5ms)
11156
+ Rendered layouts/_footer (0.6ms)
11157
+ Completed in 367ms (View: 180, DB: 9) | 200 OK [http://localhost/iterations/1/stories]
11158
+
11159
+
11160
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 14:52:39) [GET]
11161
+ Parameters: {"iteration_id"=>"1"}
11162
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11163
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
11164
+ Iteration Load (0.4ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
11165
+ Story Load (2.0ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
11166
+ Rendering template within layouts/main
11167
+ Rendering stories/index
11168
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
11169
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
11170
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11171
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
11172
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
11173
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
11174
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
11175
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11176
+ Story Load (2.0ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11177
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11178
+ Rendered stories/_story (20.4ms)
11179
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11180
+ Rendered stories/_story (106.5ms)
11181
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11182
+ Rendered stories/_story (18.8ms)
11183
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11184
+ Rendered stories/_story (18.2ms)
11185
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11186
+ Rendered stories/_story (16.6ms)
11187
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11188
+ Rendered stories/_story (18.4ms)
11189
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11190
+ Rendered stories/_story (17.6ms)
11191
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11192
+ Rendered stories/_story (16.1ms)
11193
+ Rendered layouts/_meta (0.1ms)
11194
+ Rendered layouts/_header (0.2ms)
11195
+ Rendered layouts/_footer (0.5ms)
11196
+ Completed in 333ms (View: 264, DB: 8) | 200 OK [http://localhost/iterations/1/stories]
11197
+
11198
+
11199
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 14:53:27) [GET]
11200
+ Parameters: {"iteration_id"=>"1"}
11201
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11202
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
11203
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
11204
+ Story Load (2.3ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
11205
+ Rendering template within layouts/main
11206
+ Rendering stories/index
11207
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
11208
+ SQL (0.5ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
11209
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11210
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
11211
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
11212
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
11213
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
11214
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11215
+ Story Load (2.7ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
11216
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11217
+ Rendered stories/_story (28.1ms)
11218
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11219
+ Rendered stories/_story (22.2ms)
11220
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11221
+ Rendered stories/_story (23.2ms)
11222
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11223
+ Rendered stories/_story (23.5ms)
11224
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11225
+ Rendered stories/_story (22.0ms)
11226
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11227
+ Rendered stories/_story (24.2ms)
11228
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11229
+ Rendered stories/_story (24.0ms)
11230
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
11231
+ Rendered stories/_story (22.2ms)
11232
+ Rendered layouts/_meta (0.2ms)
11233
+ Rendered layouts/_header (0.3ms)
11234
+ Rendered layouts/_footer (0.6ms)
11235
+ Completed in 422ms (View: 222, DB: 10) | 200 OK [http://localhost/iterations/1/stories]
11236
+
11237
+
11238
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 14:59:09) [GET]
11239
+ Parameters: {"iteration_id"=>"1"}
11240
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11241
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
11242
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
11243
+ Story Load (2.8ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
11244
+ Rendering template within layouts/main
11245
+ Rendering stories/index
11246
+ ERROR: compiling _run_erb_app47views47stories47index46html46erb RAISED compile error
11247
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:6: syntax error, unexpected tIVAR, expecting kWHEN
11248
+ ; case @assignment_difference <=> 0 ; @output_buffer.concat "\n "
11249
+ ^
11250
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected kWHEN, expecting kEND
11251
+ ; when -1 ; @output_buffer.concat "\n Undersubscribed by "
11252
+ ^
11253
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:9: syntax error, unexpected kWHEN, expecting kEND
11254
+ ; when 1 ; @output_buffer.concat "\n Oversubscribed by "
11255
+ ^
11256
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:11: syntax error, unexpected kWHEN, expecting kEND
11257
+ ; when 0 ; @output_buffer.concat "\n Spot on!\n "
11258
+ ^
11259
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95: syntax error, unexpected kENSURE, expecting $end
11260
+ Function body: def _run_erb_app47views47stories47index46html46erb(local_assigns)
11261
+ old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "<div class=\"index-head\">\n <h2>Iteration #"
11262
+ ; @output_buffer.concat((@iteration.name).to_s); @output_buffer.concat " Stories \n ("
11263
+ ; @output_buffer.concat((@total_assigned_points).to_s); @output_buffer.concat "/"; @output_buffer.concat((@iteration.velocity).to_s); @output_buffer.concat " points assigned)\n </h2>\n <p>\n "
11264
+
11265
+
11266
+ ; case @assignment_difference <=> 0 ; @output_buffer.concat "\n "
11267
+ ; when -1 ; @output_buffer.concat "\n Undersubscribed by "
11268
+ ; @output_buffer.concat((@assignment_difference).to_s); @output_buffer.concat " points\n "
11269
+ ; when 1 ; @output_buffer.concat "\n Oversubscribed by "
11270
+ ; @output_buffer.concat((@assignment_difference).to_s); @output_buffer.concat " points\n "
11271
+ ; when 0 ; @output_buffer.concat "\n Spot on!\n "
11272
+
11273
+ ; end ; @output_buffer.concat "\n </p>\n "
11274
+
11275
+ ; @output_buffer.concat(( link_to 'New story', new_iteration_story_path(@iteration), :class => "add" ).to_s); @output_buffer.concat "\n</div>\n\n"
11276
+
11277
+
11278
+ ; content_for :page_end do ; @output_buffer.concat "\n<script type=\"text/javascript\">\ndocument.observe(\"dom:loaded\", function() {\n // Extend Accordion class to force some dynamic DOM elements to appear.\n Accordion.addMethods({\n forceExpand : function() {\n var scenarios = $('.scenarios');\n if (scenarios && scenarios.length > 0)\n new Effect.Scale(scenarios[0], 100, {scaleY:true,scaleX:false,scaleMode:'contents'});\n }\n });\n "
11279
+
11280
+
11281
+
11282
+
11283
+
11284
+
11285
+
11286
+
11287
+
11288
+
11289
+ ; unless @current_stories.nil? or @current_stories.empty?
11290
+ @output_buffer.concat " var currentStories = new Accordion(\"current_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', currentStories.forceExpand);});\n "
11291
+
11292
+ ; end
11293
+ @output_buffer.concat " "; unless @backlog_stories.nil? or @backlog_stories.empty?
11294
+ @output_buffer.concat " var backlogStories = new Accordion(\"backlog_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', backlogStories.forceExpand);});\n "
11295
+
11296
+ ; end
11297
+ @output_buffer.concat " "; unless @completed_stories.nil? or @completed_stories.empty?
11298
+ @output_buffer.concat " var completedStories = new Accordion(\"completed_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', completedStories.forceExpand);});\n "
11299
+
11300
+ ; end
11301
+ @output_buffer.concat " "; unless @quality_assurance_stories.nil? or @quality_assurance_stories.empty?
11302
+ @output_buffer.concat " var qualityAssuranceStories = new Accordion(\"quality_assurance_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', qualityAssurance.forceExpand);});\n "
11303
+
11304
+ ; end
11305
+ @output_buffer.concat "});\n</script>\n"
11306
+
11307
+ ; end ; @output_buffer.concat "\n\n<div id=\"current-wrapper\">\n<h3>Current Stories "
11308
+
11309
+
11310
+ ; @output_buffer.concat((points_label(@current_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"current_stories\" class=\"accordion\">\n "
11311
+
11312
+ ; @current_stories.each do |story| ; @output_buffer.concat "\n "
11313
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11314
+ ; end ; @output_buffer.concat "\n </div>\n\n <h3>Quality Assurance Stories "
11315
+
11316
+
11317
+ ; @output_buffer.concat((points_label(@quality_assurance_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"quality_assurance_stories\" class=\"accordion\">\n "
11318
+
11319
+ ; @quality_assurance_stories.each do |story| ; @output_buffer.concat "\n "
11320
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11321
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n<div id=\"backlog-wrapper\">\n<h3>Story Backlog "
11322
+
11323
+
11324
+
11325
+
11326
+ ; @output_buffer.concat((points_label(@backlog_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"backlog_stories\" class=\"accordion\">\n "
11327
+
11328
+ ; if @backlog_stories.empty? ; @output_buffer.concat "\n "
11329
+ ; @output_buffer.concat((link_to "Write some more!", new_iteration_story_path(@iteration) ).to_s); @output_buffer.concat "\n "
11330
+ ; else ; @output_buffer.concat "\n "
11331
+ ; @backlog_stories.each do |story| ; @output_buffer.concat "\n "
11332
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11333
+ ; end ; @output_buffer.concat "\n "
11334
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
11335
+
11336
+
11337
+
11338
+ ; unless @completed_stories.empty? ; @output_buffer.concat "\n\n<div style=\"clear:both\">\n</div>\n\n<div id=\"current-wrapper\">\n <h3>Completed Stories "
11339
+
11340
+
11341
+
11342
+
11343
+
11344
+ ; @output_buffer.concat((points_label(@completed_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"completed_stories\" class=\"accordion\">\n "
11345
+
11346
+ ; @completed_stories.each do |story| ; @output_buffer.concat "\n "
11347
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11348
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
11349
+
11350
+
11351
+
11352
+ ; end ; @output_buffer.concat "\n\n"
11353
+
11354
+ ; @output_buffer
11355
+ ensure
11356
+ self.output_buffer = old_output_buffer
11357
+ end
11358
+ Backtrace: /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95:in `compile!'
11359
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:61:in `compile'
11360
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:28:in `render'
11361
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template'
11362
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in `render'
11363
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:348:in `_render_with_layout'
11364
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in `render'
11365
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in `render_for_file'
11366
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:951:in `render_without_benchmark'
11367
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
11368
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11369
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
11370
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11371
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
11372
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `send'
11373
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `custom'
11374
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `call'
11375
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `respond'
11376
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `each'
11377
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `respond'
11378
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:107:in `respond_to'
11379
+ /home/daniel/projects/branston/lib/branston/app/controllers/stories_controller.rb:48:in `index'
11380
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send'
11381
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
11382
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters'
11383
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
11384
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
11385
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11386
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
11387
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11388
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
11389
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
11390
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
11391
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
11392
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
11393
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
11394
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
11395
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
11396
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
11397
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
11398
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
11399
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
11400
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
11401
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
11402
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
11403
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
11404
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
11405
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
11406
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
11407
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
11408
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
11409
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
11410
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
11411
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
11412
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
11413
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
11414
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
11415
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `call'
11416
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run'
11417
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `call'
11418
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in `call'
11419
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
11420
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
11421
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
11422
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in `call'
11423
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
11424
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in `call'
11425
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in `process'
11426
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
11427
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
11428
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
11429
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
11430
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
11431
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
11432
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
11433
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
11434
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
11435
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
11436
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in `run'
11437
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
11438
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
11439
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
11440
+ script/server:3
11441
+
11442
+ ActionView::TemplateError (compile error
11443
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:6: syntax error, unexpected tIVAR, expecting kWHEN
11444
+ ; case @assignment_difference <=> 0 ; @output_buffer.concat "\n "
11445
+ ^
11446
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected kWHEN, expecting kEND
11447
+ ; when -1 ; @output_buffer.concat "\n Undersubscribed by "
11448
+ ^
11449
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:9: syntax error, unexpected kWHEN, expecting kEND
11450
+ ; when 1 ; @output_buffer.concat "\n Oversubscribed by "
11451
+ ^
11452
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:11: syntax error, unexpected kWHEN, expecting kEND
11453
+ ; when 0 ; @output_buffer.concat "\n Spot on!\n "
11454
+ ^
11455
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95: syntax error, unexpected kENSURE, expecting $end) on line #6 of app/views/stories/index.html.erb:
11456
+ 3: (<%=@total_assigned_points%>/<%=@iteration.velocity%> points assigned)
11457
+ 4: </h2>
11458
+ 5: <p>
11459
+ 6: <% case @assignment_difference <=> 0 %>
11460
+ 7: <% when -1 %>
11461
+ 8: Undersubscribed by <%=@assignment_difference%> points
11462
+ 9: <% when 1 %>
11463
+
11464
+ app/views/stories/index.html.erb:95:in `compile!'
11465
+ app/controllers/stories_controller.rb:48:in `index'
11466
+
11467
+ Rendered rescues/_trace (96.8ms)
11468
+ Rendered rescues/_request_and_response (2.3ms)
11469
+ Rendering rescues/layout (internal_server_error)
11470
+
11471
+
11472
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 14:59:22) [GET]
11473
+ Parameters: {"iteration_id"=>"1"}
11474
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11475
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
11476
+ Iteration Load (1.2ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
11477
+ Story Load (2.2ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
11478
+ Rendering template within layouts/main
11479
+ Rendering stories/index
11480
+ ERROR: compiling _run_erb_app47views47stories47index46html46erb RAISED compile error
11481
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:6: syntax error, unexpected tIVAR, expecting kWHEN
11482
+ ; case @assignment_difference <=> 0 ; @output_buffer.concat "\n "
11483
+ ^
11484
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected kWHEN, expecting kEND
11485
+ ; when -1 ; @output_buffer.concat "\n Undersubscribed by "
11486
+ ^
11487
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:10: syntax error, unexpected kWHEN, expecting kEND
11488
+ when 1 ; @output_buffer.concat "\n Oversubscribed by "
11489
+ ^
11490
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:13: syntax error, unexpected kWHEN, expecting kEND
11491
+ when 0 ; @output_buffer.concat "\n Spot on!\n "
11492
+ ^
11493
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:97: syntax error, unexpected kENSURE, expecting $end
11494
+ Function body: def _run_erb_app47views47stories47index46html46erb(local_assigns)
11495
+ old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "<div class=\"index-head\">\n <h2>Iteration #"
11496
+ ; @output_buffer.concat((@iteration.name).to_s); @output_buffer.concat " Stories \n ("
11497
+ ; @output_buffer.concat((@total_assigned_points).to_s); @output_buffer.concat "/"; @output_buffer.concat((@iteration.velocity).to_s); @output_buffer.concat " points assigned)\n </h2>\n <p>\n "
11498
+
11499
+
11500
+ ; case @assignment_difference <=> 0 ; @output_buffer.concat "\n "
11501
+ ; when -1 ; @output_buffer.concat "\n Undersubscribed by "
11502
+ ; @output_buffer.concat((@assignment_difference).to_s); @output_buffer.concat " points\n "
11503
+ ; break;
11504
+ when 1 ; @output_buffer.concat "\n Oversubscribed by "
11505
+ ; @output_buffer.concat((@assignment_difference).to_s); @output_buffer.concat " points\n "
11506
+ ; break;
11507
+ when 0 ; @output_buffer.concat "\n Spot on!\n "
11508
+
11509
+ ; end ; @output_buffer.concat "\n </p>\n "
11510
+
11511
+ ; @output_buffer.concat(( link_to 'New story', new_iteration_story_path(@iteration), :class => "add" ).to_s); @output_buffer.concat "\n</div>\n\n"
11512
+
11513
+
11514
+ ; content_for :page_end do ; @output_buffer.concat "\n<script type=\"text/javascript\">\ndocument.observe(\"dom:loaded\", function() {\n // Extend Accordion class to force some dynamic DOM elements to appear.\n Accordion.addMethods({\n forceExpand : function() {\n var scenarios = $('.scenarios');\n if (scenarios && scenarios.length > 0)\n new Effect.Scale(scenarios[0], 100, {scaleY:true,scaleX:false,scaleMode:'contents'});\n }\n });\n "
11515
+
11516
+
11517
+
11518
+
11519
+
11520
+
11521
+
11522
+
11523
+
11524
+
11525
+ ; unless @current_stories.nil? or @current_stories.empty?
11526
+ @output_buffer.concat " var currentStories = new Accordion(\"current_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', currentStories.forceExpand);});\n "
11527
+
11528
+ ; end
11529
+ @output_buffer.concat " "; unless @backlog_stories.nil? or @backlog_stories.empty?
11530
+ @output_buffer.concat " var backlogStories = new Accordion(\"backlog_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', backlogStories.forceExpand);});\n "
11531
+
11532
+ ; end
11533
+ @output_buffer.concat " "; unless @completed_stories.nil? or @completed_stories.empty?
11534
+ @output_buffer.concat " var completedStories = new Accordion(\"completed_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', completedStories.forceExpand);});\n "
11535
+
11536
+ ; end
11537
+ @output_buffer.concat " "; unless @quality_assurance_stories.nil? or @quality_assurance_stories.empty?
11538
+ @output_buffer.concat " var qualityAssuranceStories = new Accordion(\"quality_assurance_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', qualityAssurance.forceExpand);});\n "
11539
+
11540
+ ; end
11541
+ @output_buffer.concat "});\n</script>\n"
11542
+
11543
+ ; end ; @output_buffer.concat "\n\n<div id=\"current-wrapper\">\n<h3>Current Stories "
11544
+
11545
+
11546
+ ; @output_buffer.concat((points_label(@current_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"current_stories\" class=\"accordion\">\n "
11547
+
11548
+ ; @current_stories.each do |story| ; @output_buffer.concat "\n "
11549
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11550
+ ; end ; @output_buffer.concat "\n </div>\n\n <h3>Quality Assurance Stories "
11551
+
11552
+
11553
+ ; @output_buffer.concat((points_label(@quality_assurance_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"quality_assurance_stories\" class=\"accordion\">\n "
11554
+
11555
+ ; @quality_assurance_stories.each do |story| ; @output_buffer.concat "\n "
11556
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11557
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n<div id=\"backlog-wrapper\">\n<h3>Story Backlog "
11558
+
11559
+
11560
+
11561
+
11562
+ ; @output_buffer.concat((points_label(@backlog_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"backlog_stories\" class=\"accordion\">\n "
11563
+
11564
+ ; if @backlog_stories.empty? ; @output_buffer.concat "\n "
11565
+ ; @output_buffer.concat((link_to "Write some more!", new_iteration_story_path(@iteration) ).to_s); @output_buffer.concat "\n "
11566
+ ; else ; @output_buffer.concat "\n "
11567
+ ; @backlog_stories.each do |story| ; @output_buffer.concat "\n "
11568
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11569
+ ; end ; @output_buffer.concat "\n "
11570
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
11571
+
11572
+
11573
+
11574
+ ; unless @completed_stories.empty? ; @output_buffer.concat "\n\n<div style=\"clear:both\">\n</div>\n\n<div id=\"current-wrapper\">\n <h3>Completed Stories "
11575
+
11576
+
11577
+
11578
+
11579
+
11580
+ ; @output_buffer.concat((points_label(@completed_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"completed_stories\" class=\"accordion\">\n "
11581
+
11582
+ ; @completed_stories.each do |story| ; @output_buffer.concat "\n "
11583
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11584
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
11585
+
11586
+
11587
+
11588
+ ; end ; @output_buffer.concat "\n\n"
11589
+
11590
+ ; @output_buffer
11591
+ ensure
11592
+ self.output_buffer = old_output_buffer
11593
+ end
11594
+ Backtrace: /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:97:in `compile!'
11595
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:61:in `compile'
11596
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:28:in `render'
11597
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template'
11598
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in `render'
11599
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:348:in `_render_with_layout'
11600
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in `render'
11601
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in `render_for_file'
11602
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:951:in `render_without_benchmark'
11603
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
11604
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11605
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
11606
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11607
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
11608
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `send'
11609
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `custom'
11610
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `call'
11611
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `respond'
11612
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `each'
11613
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `respond'
11614
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:107:in `respond_to'
11615
+ /home/daniel/projects/branston/lib/branston/app/controllers/stories_controller.rb:48:in `index'
11616
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send'
11617
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
11618
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters'
11619
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
11620
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
11621
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11622
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
11623
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11624
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
11625
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
11626
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
11627
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
11628
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
11629
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
11630
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
11631
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
11632
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
11633
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
11634
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
11635
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
11636
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
11637
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
11638
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
11639
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
11640
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
11641
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
11642
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
11643
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
11644
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
11645
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
11646
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
11647
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
11648
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
11649
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
11650
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
11651
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `call'
11652
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run'
11653
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `call'
11654
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in `call'
11655
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
11656
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
11657
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
11658
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in `call'
11659
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
11660
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in `call'
11661
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in `process'
11662
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
11663
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
11664
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
11665
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
11666
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
11667
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
11668
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
11669
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
11670
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
11671
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
11672
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in `run'
11673
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
11674
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
11675
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
11676
+ script/server:3
11677
+
11678
+ ActionView::TemplateError (compile error
11679
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:6: syntax error, unexpected tIVAR, expecting kWHEN
11680
+ ; case @assignment_difference <=> 0 ; @output_buffer.concat "\n "
11681
+ ^
11682
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected kWHEN, expecting kEND
11683
+ ; when -1 ; @output_buffer.concat "\n Undersubscribed by "
11684
+ ^
11685
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:10: syntax error, unexpected kWHEN, expecting kEND
11686
+ when 1 ; @output_buffer.concat "\n Oversubscribed by "
11687
+ ^
11688
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:13: syntax error, unexpected kWHEN, expecting kEND
11689
+ when 0 ; @output_buffer.concat "\n Spot on!\n "
11690
+ ^
11691
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:97: syntax error, unexpected kENSURE, expecting $end) on line #6 of app/views/stories/index.html.erb:
11692
+ 3: (<%=@total_assigned_points%>/<%=@iteration.velocity%> points assigned)
11693
+ 4: </h2>
11694
+ 5: <p>
11695
+ 6: <% case @assignment_difference <=> 0 %>
11696
+ 7: <% when -1 %>
11697
+ 8: Undersubscribed by <%=@assignment_difference%> points
11698
+ 9: <% break;
11699
+
11700
+ app/views/stories/index.html.erb:97:in `compile!'
11701
+ app/controllers/stories_controller.rb:48:in `index'
11702
+
11703
+ Rendered rescues/_trace (71.3ms)
11704
+ Rendered rescues/_request_and_response (0.4ms)
11705
+ Rendering rescues/layout (internal_server_error)
11706
+
11707
+
11708
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:00:22) [GET]
11709
+ Parameters: {"iteration_id"=>"1"}
11710
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11711
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
11712
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
11713
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
11714
+ Rendering template within layouts/main
11715
+ Rendering stories/index
11716
+ ERROR: compiling _run_erb_app47views47stories47index46html46erb RAISED compile error
11717
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected tIVAR, expecting kWHEN
11718
+ @output_buffer.concat " "; when -1 ; @ou...
11719
+ ^
11720
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected kWHEN, expecting kEND
11721
+ ...ut_buffer.concat " "; when -1 ; @output_buffer.concat "\...
11722
+ ^
11723
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:9: syntax error, unexpected kWHEN, expecting kEND
11724
+ ; when 1 ; @output_buffer.concat "\n Oversubscribed by "
11725
+ ^
11726
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:11: syntax error, unexpected kWHEN, expecting kEND
11727
+ ; when 0 ; @output_buffer.concat "\n Spot on!\n "
11728
+ ^
11729
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95: syntax error, unexpected kENSURE, expecting $end
11730
+ Function body: def _run_erb_app47views47stories47index46html46erb(local_assigns)
11731
+ old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "<div class=\"index-head\">\n <h2>Iteration #"
11732
+ ; @output_buffer.concat((@iteration.name).to_s); @output_buffer.concat " Stories \n ("
11733
+ ; @output_buffer.concat((@total_assigned_points).to_s); @output_buffer.concat "/"; @output_buffer.concat((@iteration.velocity).to_s); @output_buffer.concat " points assigned)\n </h2>\n <p>\n "
11734
+
11735
+
11736
+ ; case @assignment_difference <=> 0
11737
+ @output_buffer.concat " "; when -1 ; @output_buffer.concat "\n Undersubscribed by "
11738
+ ; @output_buffer.concat((@assignment_difference).to_s); @output_buffer.concat " points\n "
11739
+ ; when 1 ; @output_buffer.concat "\n Oversubscribed by "
11740
+ ; @output_buffer.concat((@assignment_difference).to_s); @output_buffer.concat " points\n "
11741
+ ; when 0 ; @output_buffer.concat "\n Spot on!\n "
11742
+
11743
+ ; end
11744
+ @output_buffer.concat " </p>\n "
11745
+ ; @output_buffer.concat(( link_to 'New story', new_iteration_story_path(@iteration), :class => "add" ).to_s); @output_buffer.concat "\n</div>\n\n"
11746
+
11747
+
11748
+ ; content_for :page_end do ; @output_buffer.concat "\n<script type=\"text/javascript\">\ndocument.observe(\"dom:loaded\", function() {\n // Extend Accordion class to force some dynamic DOM elements to appear.\n Accordion.addMethods({\n forceExpand : function() {\n var scenarios = $('.scenarios');\n if (scenarios && scenarios.length > 0)\n new Effect.Scale(scenarios[0], 100, {scaleY:true,scaleX:false,scaleMode:'contents'});\n }\n });\n "
11749
+
11750
+
11751
+
11752
+
11753
+
11754
+
11755
+
11756
+
11757
+
11758
+
11759
+ ; unless @current_stories.nil? or @current_stories.empty?
11760
+ @output_buffer.concat " var currentStories = new Accordion(\"current_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', currentStories.forceExpand);});\n "
11761
+
11762
+ ; end
11763
+ @output_buffer.concat " "; unless @backlog_stories.nil? or @backlog_stories.empty?
11764
+ @output_buffer.concat " var backlogStories = new Accordion(\"backlog_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', backlogStories.forceExpand);});\n "
11765
+
11766
+ ; end
11767
+ @output_buffer.concat " "; unless @completed_stories.nil? or @completed_stories.empty?
11768
+ @output_buffer.concat " var completedStories = new Accordion(\"completed_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', completedStories.forceExpand);});\n "
11769
+
11770
+ ; end
11771
+ @output_buffer.concat " "; unless @quality_assurance_stories.nil? or @quality_assurance_stories.empty?
11772
+ @output_buffer.concat " var qualityAssuranceStories = new Accordion(\"quality_assurance_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', qualityAssurance.forceExpand);});\n "
11773
+
11774
+ ; end
11775
+ @output_buffer.concat "});\n</script>\n"
11776
+
11777
+ ; end ; @output_buffer.concat "\n\n<div id=\"current-wrapper\">\n<h3>Current Stories "
11778
+
11779
+
11780
+ ; @output_buffer.concat((points_label(@current_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"current_stories\" class=\"accordion\">\n "
11781
+
11782
+ ; @current_stories.each do |story| ; @output_buffer.concat "\n "
11783
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11784
+ ; end ; @output_buffer.concat "\n </div>\n\n <h3>Quality Assurance Stories "
11785
+
11786
+
11787
+ ; @output_buffer.concat((points_label(@quality_assurance_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"quality_assurance_stories\" class=\"accordion\">\n "
11788
+
11789
+ ; @quality_assurance_stories.each do |story| ; @output_buffer.concat "\n "
11790
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11791
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n<div id=\"backlog-wrapper\">\n<h3>Story Backlog "
11792
+
11793
+
11794
+
11795
+
11796
+ ; @output_buffer.concat((points_label(@backlog_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"backlog_stories\" class=\"accordion\">\n "
11797
+
11798
+ ; if @backlog_stories.empty? ; @output_buffer.concat "\n "
11799
+ ; @output_buffer.concat((link_to "Write some more!", new_iteration_story_path(@iteration) ).to_s); @output_buffer.concat "\n "
11800
+ ; else ; @output_buffer.concat "\n "
11801
+ ; @backlog_stories.each do |story| ; @output_buffer.concat "\n "
11802
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11803
+ ; end ; @output_buffer.concat "\n "
11804
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
11805
+
11806
+
11807
+
11808
+ ; unless @completed_stories.empty? ; @output_buffer.concat "\n\n<div style=\"clear:both\">\n</div>\n\n<div id=\"current-wrapper\">\n <h3>Completed Stories "
11809
+
11810
+
11811
+
11812
+
11813
+
11814
+ ; @output_buffer.concat((points_label(@completed_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"completed_stories\" class=\"accordion\">\n "
11815
+
11816
+ ; @completed_stories.each do |story| ; @output_buffer.concat "\n "
11817
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
11818
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
11819
+
11820
+
11821
+
11822
+ ; end ; @output_buffer.concat "\n\n"
11823
+
11824
+ ; @output_buffer
11825
+ ensure
11826
+ self.output_buffer = old_output_buffer
11827
+ end
11828
+ Backtrace: /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95:in `compile!'
11829
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:61:in `compile'
11830
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:28:in `render'
11831
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template'
11832
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in `render'
11833
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:348:in `_render_with_layout'
11834
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in `render'
11835
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in `render_for_file'
11836
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:951:in `render_without_benchmark'
11837
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
11838
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11839
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
11840
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11841
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
11842
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `send'
11843
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `custom'
11844
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `call'
11845
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `respond'
11846
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `each'
11847
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `respond'
11848
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:107:in `respond_to'
11849
+ /home/daniel/projects/branston/lib/branston/app/controllers/stories_controller.rb:48:in `index'
11850
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send'
11851
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
11852
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters'
11853
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
11854
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
11855
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11856
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
11857
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
11858
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
11859
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
11860
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
11861
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
11862
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
11863
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
11864
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
11865
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
11866
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
11867
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
11868
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
11869
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
11870
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
11871
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
11872
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
11873
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
11874
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
11875
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
11876
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
11877
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
11878
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
11879
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
11880
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
11881
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
11882
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
11883
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
11884
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
11885
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `call'
11886
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run'
11887
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `call'
11888
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in `call'
11889
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
11890
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
11891
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
11892
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in `call'
11893
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
11894
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in `call'
11895
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in `process'
11896
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
11897
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
11898
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
11899
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
11900
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
11901
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
11902
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
11903
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
11904
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
11905
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
11906
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in `run'
11907
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
11908
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
11909
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
11910
+ script/server:3
11911
+
11912
+ ActionView::TemplateError (compile error
11913
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected tIVAR, expecting kWHEN
11914
+ @output_buffer.concat " "; when -1 ; @ou...
11915
+ ^
11916
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected kWHEN, expecting kEND
11917
+ ...ut_buffer.concat " "; when -1 ; @output_buffer.concat "\...
11918
+ ^
11919
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:9: syntax error, unexpected kWHEN, expecting kEND
11920
+ ; when 1 ; @output_buffer.concat "\n Oversubscribed by "
11921
+ ^
11922
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:11: syntax error, unexpected kWHEN, expecting kEND
11923
+ ; when 0 ; @output_buffer.concat "\n Spot on!\n "
11924
+ ^
11925
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95: syntax error, unexpected kENSURE, expecting $end) on line #7 of app/views/stories/index.html.erb:
11926
+ 4: </h2>
11927
+ 5: <p>
11928
+ 6: <% case @assignment_difference <=> 0 -%>
11929
+ 7: <% when -1 %>
11930
+ 8: Undersubscribed by <%=@assignment_difference%> points
11931
+ 9: <% when 1 %>
11932
+ 10: Oversubscribed by <%=@assignment_difference%> points
11933
+
11934
+ app/views/stories/index.html.erb:95:in `compile!'
11935
+ app/controllers/stories_controller.rb:48:in `index'
11936
+
11937
+ Rendered rescues/_trace (166.7ms)
11938
+ Rendered rescues/_request_and_response (0.5ms)
11939
+ Rendering rescues/layout (internal_server_error)
11940
+
11941
+
11942
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:00:34) [GET]
11943
+ Parameters: {"iteration_id"=>"1"}
11944
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
11945
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
11946
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
11947
+ Story Load (2.7ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
11948
+ Rendering template within layouts/main
11949
+ Rendering stories/index
11950
+ ERROR: compiling _run_erb_app47views47stories47index46html46erb RAISED compile error
11951
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected tIVAR, expecting kWHEN
11952
+ @output_buffer.concat " "; when -1
11953
+ ^
11954
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected kWHEN, expecting kEND
11955
+ @output_buffer.concat " "; when -1
11956
+ ^
11957
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:9: syntax error, unexpected kWHEN, expecting kEND
11958
+ ; when 1
11959
+ ^
11960
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:11: syntax error, unexpected kWHEN, expecting kEND
11961
+ ; when 0
11962
+ ^
11963
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95: syntax error, unexpected kENSURE, expecting $end
11964
+ Function body: def _run_erb_app47views47stories47index46html46erb(local_assigns)
11965
+ old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "<div class=\"index-head\">\n <h2>Iteration #"
11966
+ ; @output_buffer.concat((@iteration.name).to_s); @output_buffer.concat " Stories \n ("
11967
+ ; @output_buffer.concat((@total_assigned_points).to_s); @output_buffer.concat "/"; @output_buffer.concat((@iteration.velocity).to_s); @output_buffer.concat " points assigned)\n </h2>\n <p>\n "
11968
+
11969
+
11970
+ ; case @assignment_difference <=> 0
11971
+ @output_buffer.concat " "; when -1
11972
+ @output_buffer.concat " Undersubscribed by "; @output_buffer.concat((@assignment_difference).to_s); @output_buffer.concat " points\n "
11973
+ ; when 1
11974
+ @output_buffer.concat " Oversubscribed by "; @output_buffer.concat((@assignment_difference).to_s); @output_buffer.concat " points\n "
11975
+ ; when 0
11976
+ @output_buffer.concat " Spot on!\n "
11977
+ ; end
11978
+ @output_buffer.concat " </p>\n "
11979
+ ; @output_buffer.concat(( link_to 'New story', new_iteration_story_path(@iteration), :class => "add" ).to_s); @output_buffer.concat "\n</div>\n\n"
11980
+
11981
+
11982
+ ; content_for :page_end do ; @output_buffer.concat "\n<script type=\"text/javascript\">\ndocument.observe(\"dom:loaded\", function() {\n // Extend Accordion class to force some dynamic DOM elements to appear.\n Accordion.addMethods({\n forceExpand : function() {\n var scenarios = $('.scenarios');\n if (scenarios && scenarios.length > 0)\n new Effect.Scale(scenarios[0], 100, {scaleY:true,scaleX:false,scaleMode:'contents'});\n }\n });\n "
11983
+
11984
+
11985
+
11986
+
11987
+
11988
+
11989
+
11990
+
11991
+
11992
+
11993
+ ; unless @current_stories.nil? or @current_stories.empty?
11994
+ @output_buffer.concat " var currentStories = new Accordion(\"current_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', currentStories.forceExpand);});\n "
11995
+
11996
+ ; end
11997
+ @output_buffer.concat " "; unless @backlog_stories.nil? or @backlog_stories.empty?
11998
+ @output_buffer.concat " var backlogStories = new Accordion(\"backlog_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', backlogStories.forceExpand);});\n "
11999
+
12000
+ ; end
12001
+ @output_buffer.concat " "; unless @completed_stories.nil? or @completed_stories.empty?
12002
+ @output_buffer.concat " var completedStories = new Accordion(\"completed_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', completedStories.forceExpand);});\n "
12003
+
12004
+ ; end
12005
+ @output_buffer.concat " "; unless @quality_assurance_stories.nil? or @quality_assurance_stories.empty?
12006
+ @output_buffer.concat " var qualityAssuranceStories = new Accordion(\"quality_assurance_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', qualityAssurance.forceExpand);});\n "
12007
+
12008
+ ; end
12009
+ @output_buffer.concat "});\n</script>\n"
12010
+
12011
+ ; end ; @output_buffer.concat "\n\n<div id=\"current-wrapper\">\n<h3>Current Stories "
12012
+
12013
+
12014
+ ; @output_buffer.concat((points_label(@current_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"current_stories\" class=\"accordion\">\n "
12015
+
12016
+ ; @current_stories.each do |story| ; @output_buffer.concat "\n "
12017
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12018
+ ; end ; @output_buffer.concat "\n </div>\n\n <h3>Quality Assurance Stories "
12019
+
12020
+
12021
+ ; @output_buffer.concat((points_label(@quality_assurance_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"quality_assurance_stories\" class=\"accordion\">\n "
12022
+
12023
+ ; @quality_assurance_stories.each do |story| ; @output_buffer.concat "\n "
12024
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12025
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n<div id=\"backlog-wrapper\">\n<h3>Story Backlog "
12026
+
12027
+
12028
+
12029
+
12030
+ ; @output_buffer.concat((points_label(@backlog_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"backlog_stories\" class=\"accordion\">\n "
12031
+
12032
+ ; if @backlog_stories.empty? ; @output_buffer.concat "\n "
12033
+ ; @output_buffer.concat((link_to "Write some more!", new_iteration_story_path(@iteration) ).to_s); @output_buffer.concat "\n "
12034
+ ; else ; @output_buffer.concat "\n "
12035
+ ; @backlog_stories.each do |story| ; @output_buffer.concat "\n "
12036
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12037
+ ; end ; @output_buffer.concat "\n "
12038
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
12039
+
12040
+
12041
+
12042
+ ; unless @completed_stories.empty? ; @output_buffer.concat "\n\n<div style=\"clear:both\">\n</div>\n\n<div id=\"current-wrapper\">\n <h3>Completed Stories "
12043
+
12044
+
12045
+
12046
+
12047
+
12048
+ ; @output_buffer.concat((points_label(@completed_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"completed_stories\" class=\"accordion\">\n "
12049
+
12050
+ ; @completed_stories.each do |story| ; @output_buffer.concat "\n "
12051
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12052
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
12053
+
12054
+
12055
+
12056
+ ; end ; @output_buffer.concat "\n\n"
12057
+
12058
+ ; @output_buffer
12059
+ ensure
12060
+ self.output_buffer = old_output_buffer
12061
+ end
12062
+ Backtrace: /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95:in `compile!'
12063
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:61:in `compile'
12064
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:28:in `render'
12065
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template'
12066
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in `render'
12067
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:348:in `_render_with_layout'
12068
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in `render'
12069
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in `render_for_file'
12070
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:951:in `render_without_benchmark'
12071
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
12072
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12073
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
12074
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12075
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
12076
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `send'
12077
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `custom'
12078
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `call'
12079
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `respond'
12080
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `each'
12081
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `respond'
12082
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:107:in `respond_to'
12083
+ /home/daniel/projects/branston/lib/branston/app/controllers/stories_controller.rb:48:in `index'
12084
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send'
12085
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
12086
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters'
12087
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
12088
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
12089
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12090
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
12091
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12092
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
12093
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
12094
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
12095
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
12096
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
12097
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
12098
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
12099
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
12100
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
12101
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
12102
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
12103
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
12104
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
12105
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
12106
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
12107
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
12108
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
12109
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
12110
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
12111
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
12112
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
12113
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
12114
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
12115
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
12116
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
12117
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
12118
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
12119
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `call'
12120
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run'
12121
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `call'
12122
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in `call'
12123
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
12124
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
12125
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
12126
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in `call'
12127
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
12128
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in `call'
12129
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in `process'
12130
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
12131
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
12132
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
12133
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
12134
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
12135
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
12136
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
12137
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
12138
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
12139
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
12140
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in `run'
12141
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
12142
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
12143
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
12144
+ script/server:3
12145
+
12146
+ ActionView::TemplateError (compile error
12147
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected tIVAR, expecting kWHEN
12148
+ @output_buffer.concat " "; when -1
12149
+ ^
12150
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected kWHEN, expecting kEND
12151
+ @output_buffer.concat " "; when -1
12152
+ ^
12153
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:9: syntax error, unexpected kWHEN, expecting kEND
12154
+ ; when 1
12155
+ ^
12156
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:11: syntax error, unexpected kWHEN, expecting kEND
12157
+ ; when 0
12158
+ ^
12159
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95: syntax error, unexpected kENSURE, expecting $end) on line #7 of app/views/stories/index.html.erb:
12160
+ 4: </h2>
12161
+ 5: <p>
12162
+ 6: <% case @assignment_difference <=> 0 -%>
12163
+ 7: <% when -1 -%>
12164
+ 8: Undersubscribed by <%=@assignment_difference%> points
12165
+ 9: <% when 1 -%>
12166
+ 10: Oversubscribed by <%=@assignment_difference%> points
12167
+
12168
+ app/views/stories/index.html.erb:95:in `compile!'
12169
+ app/controllers/stories_controller.rb:48:in `index'
12170
+
12171
+ Rendered rescues/_trace (77.8ms)
12172
+ Rendered rescues/_request_and_response (0.4ms)
12173
+ Rendering rescues/layout (internal_server_error)
12174
+
12175
+
12176
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:00:50) [GET]
12177
+ Parameters: {"iteration_id"=>"1"}
12178
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12179
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
12180
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12181
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
12182
+ Rendering template within layouts/main
12183
+ Rendering stories/index
12184
+ ERROR: compiling _run_erb_app47views47stories47index46html46erb RAISED compile error
12185
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected tIVAR, expecting kWHEN
12186
+ @output_buffer.concat " "; when -1
12187
+ ^
12188
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected kWHEN, expecting kEND
12189
+ @output_buffer.concat " "; when -1
12190
+ ^
12191
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:9: syntax error, unexpected kWHEN, expecting kEND
12192
+ ; when 1
12193
+ ^
12194
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:11: syntax error, unexpected kWHEN, expecting kEND
12195
+ ; when 0
12196
+ ^
12197
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95: syntax error, unexpected kENSURE, expecting $end
12198
+ Function body: def _run_erb_app47views47stories47index46html46erb(local_assigns)
12199
+ old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "<div class=\"index-head\">\n <h2>Iteration #"
12200
+ ; @output_buffer.concat((@iteration.name).to_s); @output_buffer.concat " Stories \n ("
12201
+ ; @output_buffer.concat((@total_assigned_points).to_s); @output_buffer.concat "/"; @output_buffer.concat((@iteration.velocity).to_s); @output_buffer.concat " points assigned)\n </h2>\n <p>\n "
12202
+
12203
+
12204
+ ; case (@assignment_difference <=> 0)
12205
+ @output_buffer.concat " "; when -1
12206
+ @output_buffer.concat " Undersubscribed by "; @output_buffer.concat((@assignment_difference).to_s); @output_buffer.concat " points\n "
12207
+ ; when 1
12208
+ @output_buffer.concat " Oversubscribed by "; @output_buffer.concat((@assignment_difference).to_s); @output_buffer.concat " points\n "
12209
+ ; when 0
12210
+ @output_buffer.concat " Spot on!\n "
12211
+ ; end
12212
+ @output_buffer.concat " </p>\n "
12213
+ ; @output_buffer.concat(( link_to 'New story', new_iteration_story_path(@iteration), :class => "add" ).to_s); @output_buffer.concat "\n</div>\n\n"
12214
+
12215
+
12216
+ ; content_for :page_end do ; @output_buffer.concat "\n<script type=\"text/javascript\">\ndocument.observe(\"dom:loaded\", function() {\n // Extend Accordion class to force some dynamic DOM elements to appear.\n Accordion.addMethods({\n forceExpand : function() {\n var scenarios = $('.scenarios');\n if (scenarios && scenarios.length > 0)\n new Effect.Scale(scenarios[0], 100, {scaleY:true,scaleX:false,scaleMode:'contents'});\n }\n });\n "
12217
+
12218
+
12219
+
12220
+
12221
+
12222
+
12223
+
12224
+
12225
+
12226
+
12227
+ ; unless @current_stories.nil? or @current_stories.empty?
12228
+ @output_buffer.concat " var currentStories = new Accordion(\"current_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', currentStories.forceExpand);});\n "
12229
+
12230
+ ; end
12231
+ @output_buffer.concat " "; unless @backlog_stories.nil? or @backlog_stories.empty?
12232
+ @output_buffer.concat " var backlogStories = new Accordion(\"backlog_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', backlogStories.forceExpand);});\n "
12233
+
12234
+ ; end
12235
+ @output_buffer.concat " "; unless @completed_stories.nil? or @completed_stories.empty?
12236
+ @output_buffer.concat " var completedStories = new Accordion(\"completed_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', completedStories.forceExpand);});\n "
12237
+
12238
+ ; end
12239
+ @output_buffer.concat " "; unless @quality_assurance_stories.nil? or @quality_assurance_stories.empty?
12240
+ @output_buffer.concat " var qualityAssuranceStories = new Accordion(\"quality_assurance_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', qualityAssurance.forceExpand);});\n "
12241
+
12242
+ ; end
12243
+ @output_buffer.concat "});\n</script>\n"
12244
+
12245
+ ; end ; @output_buffer.concat "\n\n<div id=\"current-wrapper\">\n<h3>Current Stories "
12246
+
12247
+
12248
+ ; @output_buffer.concat((points_label(@current_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"current_stories\" class=\"accordion\">\n "
12249
+
12250
+ ; @current_stories.each do |story| ; @output_buffer.concat "\n "
12251
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12252
+ ; end ; @output_buffer.concat "\n </div>\n\n <h3>Quality Assurance Stories "
12253
+
12254
+
12255
+ ; @output_buffer.concat((points_label(@quality_assurance_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"quality_assurance_stories\" class=\"accordion\">\n "
12256
+
12257
+ ; @quality_assurance_stories.each do |story| ; @output_buffer.concat "\n "
12258
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12259
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n<div id=\"backlog-wrapper\">\n<h3>Story Backlog "
12260
+
12261
+
12262
+
12263
+
12264
+ ; @output_buffer.concat((points_label(@backlog_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"backlog_stories\" class=\"accordion\">\n "
12265
+
12266
+ ; if @backlog_stories.empty? ; @output_buffer.concat "\n "
12267
+ ; @output_buffer.concat((link_to "Write some more!", new_iteration_story_path(@iteration) ).to_s); @output_buffer.concat "\n "
12268
+ ; else ; @output_buffer.concat "\n "
12269
+ ; @backlog_stories.each do |story| ; @output_buffer.concat "\n "
12270
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12271
+ ; end ; @output_buffer.concat "\n "
12272
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
12273
+
12274
+
12275
+
12276
+ ; unless @completed_stories.empty? ; @output_buffer.concat "\n\n<div style=\"clear:both\">\n</div>\n\n<div id=\"current-wrapper\">\n <h3>Completed Stories "
12277
+
12278
+
12279
+
12280
+
12281
+
12282
+ ; @output_buffer.concat((points_label(@completed_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"completed_stories\" class=\"accordion\">\n "
12283
+
12284
+ ; @completed_stories.each do |story| ; @output_buffer.concat "\n "
12285
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12286
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
12287
+
12288
+
12289
+
12290
+ ; end ; @output_buffer.concat "\n\n"
12291
+
12292
+ ; @output_buffer
12293
+ ensure
12294
+ self.output_buffer = old_output_buffer
12295
+ end
12296
+ Backtrace: /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95:in `compile!'
12297
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:61:in `compile'
12298
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:28:in `render'
12299
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template'
12300
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in `render'
12301
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:348:in `_render_with_layout'
12302
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in `render'
12303
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in `render_for_file'
12304
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:951:in `render_without_benchmark'
12305
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
12306
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12307
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
12308
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12309
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
12310
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `send'
12311
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `custom'
12312
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `call'
12313
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `respond'
12314
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `each'
12315
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `respond'
12316
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:107:in `respond_to'
12317
+ /home/daniel/projects/branston/lib/branston/app/controllers/stories_controller.rb:48:in `index'
12318
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send'
12319
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
12320
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters'
12321
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
12322
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
12323
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12324
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
12325
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12326
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
12327
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
12328
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
12329
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
12330
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
12331
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
12332
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
12333
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
12334
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
12335
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
12336
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
12337
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
12338
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
12339
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
12340
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
12341
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
12342
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
12343
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
12344
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
12345
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
12346
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
12347
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
12348
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
12349
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
12350
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
12351
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
12352
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
12353
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `call'
12354
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run'
12355
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `call'
12356
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in `call'
12357
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
12358
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
12359
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
12360
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in `call'
12361
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
12362
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in `call'
12363
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in `process'
12364
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
12365
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
12366
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
12367
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
12368
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
12369
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
12370
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
12371
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
12372
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
12373
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
12374
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in `run'
12375
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
12376
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
12377
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
12378
+ script/server:3
12379
+
12380
+ ActionView::TemplateError (compile error
12381
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected tIVAR, expecting kWHEN
12382
+ @output_buffer.concat " "; when -1
12383
+ ^
12384
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:7: syntax error, unexpected kWHEN, expecting kEND
12385
+ @output_buffer.concat " "; when -1
12386
+ ^
12387
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:9: syntax error, unexpected kWHEN, expecting kEND
12388
+ ; when 1
12389
+ ^
12390
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:11: syntax error, unexpected kWHEN, expecting kEND
12391
+ ; when 0
12392
+ ^
12393
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95: syntax error, unexpected kENSURE, expecting $end) on line #7 of app/views/stories/index.html.erb:
12394
+ 4: </h2>
12395
+ 5: <p>
12396
+ 6: <% case (@assignment_difference <=> 0) -%>
12397
+ 7: <% when -1 -%>
12398
+ 8: Undersubscribed by <%=@assignment_difference%> points
12399
+ 9: <% when 1 -%>
12400
+ 10: Oversubscribed by <%=@assignment_difference%> points
12401
+
12402
+ app/views/stories/index.html.erb:95:in `compile!'
12403
+ app/controllers/stories_controller.rb:48:in `index'
12404
+
12405
+ Rendered rescues/_trace (74.5ms)
12406
+ Rendered rescues/_request_and_response (0.5ms)
12407
+ Rendering rescues/layout (internal_server_error)
12408
+
12409
+
12410
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:02:30) [GET]
12411
+ Parameters: {"iteration_id"=>"1"}
12412
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12413
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
12414
+ Iteration Load (0.4ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12415
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
12416
+ Rendering template within layouts/main
12417
+ Rendering stories/index
12418
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12419
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12420
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12421
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12422
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12423
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12424
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12425
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12426
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12427
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12428
+ Rendered stories/_story (21.6ms)
12429
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12430
+ Rendered stories/_story (17.1ms)
12431
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12432
+ Rendered stories/_story (18.1ms)
12433
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12434
+ Rendered stories/_story (16.9ms)
12435
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12436
+ Rendered stories/_story (16.7ms)
12437
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12438
+ Rendered stories/_story (39.1ms)
12439
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12440
+ Rendered stories/_story (25.0ms)
12441
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12442
+ Rendered stories/_story (21.9ms)
12443
+ Rendered layouts/_meta (0.2ms)
12444
+ Rendered layouts/_header (0.3ms)
12445
+ Rendered layouts/_footer (0.6ms)
12446
+ Completed in 369ms (View: 295, DB: 8) | 200 OK [http://localhost/iterations/1/stories]
12447
+
12448
+
12449
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:02:46) [GET]
12450
+ Parameters: {"iteration_id"=>"1"}
12451
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12452
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
12453
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12454
+ Story Load (2.2ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
12455
+ Rendering template within layouts/main
12456
+ Rendering stories/index
12457
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12458
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12459
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12460
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12461
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12462
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12463
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12464
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12465
+ Story Load (2.0ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12466
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12467
+ Rendered stories/_story (21.7ms)
12468
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12469
+ Rendered stories/_story (16.5ms)
12470
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12471
+ Rendered stories/_story (17.5ms)
12472
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12473
+ Rendered stories/_story (16.9ms)
12474
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12475
+ Rendered stories/_story (15.6ms)
12476
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12477
+ Rendered stories/_story (17.5ms)
12478
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12479
+ Rendered stories/_story (17.5ms)
12480
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12481
+ Rendered stories/_story (16.0ms)
12482
+ Rendered layouts/_meta (0.1ms)
12483
+ Rendered layouts/_header (0.2ms)
12484
+ Rendered layouts/_footer (0.4ms)
12485
+ Completed in 356ms (View: 170, DB: 9) | 200 OK [http://localhost/iterations/1/stories]
12486
+
12487
+
12488
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:02:57) [GET]
12489
+ Parameters: {"iteration_id"=>"1"}
12490
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12491
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
12492
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12493
+ Story Load (2.7ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
12494
+ Rendering template within layouts/main
12495
+ Rendering stories/index
12496
+ ERROR: compiling _run_erb_app47views47stories47index46html46erb RAISED compile error
12497
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:10: syntax error, unexpected '=', expecting kEND
12498
+ ...t " Oversubscribed by "; =@assignment_difference ; @outp...
12499
+ ^
12500
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:11: syntax error, unexpected kWHEN, expecting kEND
12501
+ ; when 0
12502
+ ^
12503
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95: syntax error, unexpected kENSURE, expecting $end
12504
+ Function body: def _run_erb_app47views47stories47index46html46erb(local_assigns)
12505
+ old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "<div class=\"index-head\">\n <h2>Iteration #"
12506
+ ; @output_buffer.concat((@iteration.name).to_s); @output_buffer.concat " Stories \n ("
12507
+ ; @output_buffer.concat((@total_assigned_points).to_s); @output_buffer.concat "/"; @output_buffer.concat((@iteration.velocity).to_s); @output_buffer.concat " points assigned)\n </h2>\n <p>\n "
12508
+
12509
+
12510
+ ; case (@assignment_difference <=> 0)
12511
+ when -1
12512
+ @output_buffer.concat " Undersubscribed by "; @output_buffer.concat(( 0 - @assignment_difference ).to_s); @output_buffer.concat " points\n "
12513
+ ; when 1
12514
+ @output_buffer.concat " Oversubscribed by "; =@assignment_difference ; @output_buffer.concat " points\n "
12515
+ ; when 0
12516
+ @output_buffer.concat " Spot on!\n "
12517
+ ; end
12518
+ @output_buffer.concat " </p>\n "
12519
+ ; @output_buffer.concat(( link_to 'New story', new_iteration_story_path(@iteration), :class => "add" ).to_s); @output_buffer.concat "\n</div>\n\n"
12520
+
12521
+
12522
+ ; content_for :page_end do ; @output_buffer.concat "\n<script type=\"text/javascript\">\ndocument.observe(\"dom:loaded\", function() {\n // Extend Accordion class to force some dynamic DOM elements to appear.\n Accordion.addMethods({\n forceExpand : function() {\n var scenarios = $('.scenarios');\n if (scenarios && scenarios.length > 0)\n new Effect.Scale(scenarios[0], 100, {scaleY:true,scaleX:false,scaleMode:'contents'});\n }\n });\n "
12523
+
12524
+
12525
+
12526
+
12527
+
12528
+
12529
+
12530
+
12531
+
12532
+
12533
+ ; unless @current_stories.nil? or @current_stories.empty?
12534
+ @output_buffer.concat " var currentStories = new Accordion(\"current_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', currentStories.forceExpand);});\n "
12535
+
12536
+ ; end
12537
+ @output_buffer.concat " "; unless @backlog_stories.nil? or @backlog_stories.empty?
12538
+ @output_buffer.concat " var backlogStories = new Accordion(\"backlog_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', backlogStories.forceExpand);});\n "
12539
+
12540
+ ; end
12541
+ @output_buffer.concat " "; unless @completed_stories.nil? or @completed_stories.empty?
12542
+ @output_buffer.concat " var completedStories = new Accordion(\"completed_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', completedStories.forceExpand);});\n "
12543
+
12544
+ ; end
12545
+ @output_buffer.concat " "; unless @quality_assurance_stories.nil? or @quality_assurance_stories.empty?
12546
+ @output_buffer.concat " var qualityAssuranceStories = new Accordion(\"quality_assurance_stories\", 1);\n //$('accordion-toggle').each(function(e) {e.observe('click', qualityAssurance.forceExpand);});\n "
12547
+
12548
+ ; end
12549
+ @output_buffer.concat "});\n</script>\n"
12550
+
12551
+ ; end ; @output_buffer.concat "\n\n<div id=\"current-wrapper\">\n<h3>Current Stories "
12552
+
12553
+
12554
+ ; @output_buffer.concat((points_label(@current_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"current_stories\" class=\"accordion\">\n "
12555
+
12556
+ ; @current_stories.each do |story| ; @output_buffer.concat "\n "
12557
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12558
+ ; end ; @output_buffer.concat "\n </div>\n\n <h3>Quality Assurance Stories "
12559
+
12560
+
12561
+ ; @output_buffer.concat((points_label(@quality_assurance_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"quality_assurance_stories\" class=\"accordion\">\n "
12562
+
12563
+ ; @quality_assurance_stories.each do |story| ; @output_buffer.concat "\n "
12564
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12565
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n<div id=\"backlog-wrapper\">\n<h3>Story Backlog "
12566
+
12567
+
12568
+
12569
+
12570
+ ; @output_buffer.concat((points_label(@backlog_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"backlog_stories\" class=\"accordion\">\n "
12571
+
12572
+ ; if @backlog_stories.empty? ; @output_buffer.concat "\n "
12573
+ ; @output_buffer.concat((link_to "Write some more!", new_iteration_story_path(@iteration) ).to_s); @output_buffer.concat "\n "
12574
+ ; else ; @output_buffer.concat "\n "
12575
+ ; @backlog_stories.each do |story| ; @output_buffer.concat "\n "
12576
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12577
+ ; end ; @output_buffer.concat "\n "
12578
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
12579
+
12580
+
12581
+
12582
+ ; unless @completed_stories.empty? ; @output_buffer.concat "\n\n<div style=\"clear:both\">\n</div>\n\n<div id=\"current-wrapper\">\n <h3>Completed Stories "
12583
+
12584
+
12585
+
12586
+
12587
+
12588
+ ; @output_buffer.concat((points_label(@completed_stories)).to_s); @output_buffer.concat "</h3>\n <div id=\"completed_stories\" class=\"accordion\">\n "
12589
+
12590
+ ; @completed_stories.each do |story| ; @output_buffer.concat "\n "
12591
+ ; @output_buffer.concat(( render :partial => "story", :locals => { :story => story } ).to_s); @output_buffer.concat "\n "
12592
+ ; end ; @output_buffer.concat "\n </div>\n</div>\n\n"
12593
+
12594
+
12595
+
12596
+ ; end ; @output_buffer.concat "\n\n"
12597
+
12598
+ ; @output_buffer
12599
+ ensure
12600
+ self.output_buffer = old_output_buffer
12601
+ end
12602
+ Backtrace: /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95:in `compile!'
12603
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:61:in `compile'
12604
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/renderable.rb:28:in `render'
12605
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/template.rb:205:in `render_template'
12606
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:265:in `render'
12607
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:348:in `_render_with_layout'
12608
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/base.rb:262:in `render'
12609
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1250:in `render_for_file'
12610
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:951:in `render_without_benchmark'
12611
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
12612
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12613
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
12614
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12615
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:51:in `render'
12616
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `send'
12617
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:135:in `custom'
12618
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `call'
12619
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:179:in `respond'
12620
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `each'
12621
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:173:in `respond'
12622
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_responds.rb:107:in `respond_to'
12623
+ /home/daniel/projects/branston/lib/branston/app/controllers/stories_controller.rb:48:in `index'
12624
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `send'
12625
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
12626
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:617:in `call_filters'
12627
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
12628
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
12629
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12630
+ /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
12631
+ /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
12632
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
12633
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
12634
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
12635
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
12636
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
12637
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
12638
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
12639
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
12640
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
12641
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
12642
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
12643
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
12644
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
12645
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
12646
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
12647
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
12648
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
12649
+ /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
12650
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
12651
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
12652
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
12653
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
12654
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
12655
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
12656
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
12657
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
12658
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
12659
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `call'
12660
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run'
12661
+ /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `call'
12662
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in `call'
12663
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
12664
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
12665
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
12666
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in `call'
12667
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
12668
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/chunked.rb:15:in `call'
12669
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:64:in `process'
12670
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
12671
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
12672
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
12673
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
12674
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
12675
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
12676
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
12677
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
12678
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
12679
+ /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
12680
+ /home/daniel/.gem/ruby/1.8/gems/rack-1.0.1/lib/rack/handler/mongrel.rb:34:in `run'
12681
+ /usr/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
12682
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
12683
+ /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
12684
+ script/server:3
12685
+
12686
+ ActionView::TemplateError (compile error
12687
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:10: syntax error, unexpected '=', expecting kEND
12688
+ ...t " Oversubscribed by "; =@assignment_difference ; @outp...
12689
+ ^
12690
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:11: syntax error, unexpected kWHEN, expecting kEND
12691
+ ; when 0
12692
+ ^
12693
+ /home/daniel/projects/branston/lib/branston/app/views/stories/index.html.erb:95: syntax error, unexpected kENSURE, expecting $end) on line #10 of app/views/stories/index.html.erb:
12694
+ 7: when -1 -%>
12695
+ 8: Undersubscribed by <%= 0 - @assignment_difference %> points
12696
+ 9: <% when 1 -%>
12697
+ 10: Oversubscribed by <% =@assignment_difference %> points
12698
+ 11: <% when 0 -%>
12699
+ 12: Spot on!
12700
+ 13: <% end -%>
12701
+
12702
+ app/views/stories/index.html.erb:95:in `compile!'
12703
+ app/controllers/stories_controller.rb:48:in `index'
12704
+
12705
+ Rendered rescues/_trace (75.2ms)
12706
+ Rendered rescues/_request_and_response (0.4ms)
12707
+ Rendering rescues/layout (internal_server_error)
12708
+
12709
+
12710
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:03:06) [GET]
12711
+ Parameters: {"iteration_id"=>"1"}
12712
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12713
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
12714
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12715
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
12716
+ Rendering template within layouts/main
12717
+ Rendering stories/index
12718
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12719
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12720
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12721
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12722
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12723
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12724
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12725
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12726
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12727
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12728
+ Rendered stories/_story (21.8ms)
12729
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12730
+ Rendered stories/_story (16.1ms)
12731
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12732
+ Rendered stories/_story (17.7ms)
12733
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12734
+ Rendered stories/_story (16.3ms)
12735
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12736
+ Rendered stories/_story (16.1ms)
12737
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12738
+ Rendered stories/_story (17.4ms)
12739
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12740
+ Rendered stories/_story (18.7ms)
12741
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12742
+ Rendered stories/_story (15.9ms)
12743
+ Rendered layouts/_meta (0.1ms)
12744
+ Rendered layouts/_header (0.3ms)
12745
+ Rendered layouts/_footer (0.5ms)
12746
+ Completed in 349ms (View: 171, DB: 8) | 200 OK [http://localhost/iterations/1/stories]
12747
+
12748
+
12749
+ Processing IterationsController#index (for 127.0.0.1 at 2010-03-30 15:03:27) [GET]
12750
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12751
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
12752
+ Rendering template within layouts/main
12753
+ Rendering iterations/index
12754
+ Rendered layouts/_meta (0.2ms)
12755
+ Rendered layouts/_header (0.4ms)
12756
+ Rendered layouts/_footer (0.8ms)
12757
+ Completed in 68ms (View: 37, DB: 1) | 200 OK [http://localhost/iterations]
12758
+
12759
+
12760
+ Processing IterationsController#edit (for 127.0.0.1 at 2010-03-30 15:03:29) [GET]
12761
+ Parameters: {"id"=>"1"}
12762
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12763
+ Release Load (0.5ms) SELECT * FROM "releases" 
12764
+ CACHE (0.0ms) SELECT * FROM "releases" 
12765
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12766
+ Rendering template within layouts/main
12767
+ Rendering iterations/edit
12768
+ Rendered iterations/_form (13.9ms)
12769
+ Rendered layouts/_meta (0.1ms)
12770
+ Rendered layouts/_header (0.3ms)
12771
+ Rendered layouts/_footer (0.5ms)
12772
+ Completed in 188ms (View: 41, DB: 2) | 200 OK [http://localhost/iterations/1/edit]
12773
+
12774
+
12775
+ Processing IterationsController#update (for 127.0.0.1 at 2010-03-30 15:03:32) [PUT]
12776
+ Parameters: {"iteration"=>{"start_date"=>"December 15, 2009 02:48 PM", "name"=>"1", "release_id"=>"2", "end_date"=>"January 08, 2009 02:48 PM", "velocity"=>"12"}, "commit"=>"Update", "authenticity_token"=>"0C5m49yiUGhP+mJSLvpCyt9/kz1MdoRzi+Z7497ehWI=", "id"=>"1"}
12777
+ User Load (0.8ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12778
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12779
+ Iteration Update (0.4ms) UPDATE "iterations" SET "updated_at" = '2010-03-30 14:03:33', "velocity" = 12 WHERE "id" = 1
12780
+ Redirected to http://localhost:3001/iterations
12781
+ Completed in 55ms (DB: 2) | 302 Found [http://localhost/iterations/1]
12782
+
12783
+
12784
+ Processing IterationsController#index (for 127.0.0.1 at 2010-03-30 15:03:33) [GET]
12785
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12786
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
12787
+ Rendering template within layouts/main
12788
+ Rendering iterations/index
12789
+ Rendered layouts/_meta (0.1ms)
12790
+ Rendered layouts/_header (0.3ms)
12791
+ Rendered layouts/_footer (1.0ms)
12792
+ Completed in 168ms (View: 31, DB: 1) | 200 OK [http://localhost/iterations]
12793
+
12794
+
12795
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:03:35) [GET]
12796
+ Parameters: {"iteration_id"=>"1"}
12797
+ User Load (0.8ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12798
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
12799
+ Iteration Load (0.7ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12800
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
12801
+ Rendering template within layouts/main
12802
+ Rendering stories/index
12803
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12804
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12805
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12806
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12807
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12808
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12809
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12810
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12811
+ Story Load (2.2ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12812
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12813
+ Rendered stories/_story (23.1ms)
12814
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12815
+ Rendered stories/_story (17.6ms)
12816
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12817
+ Rendered stories/_story (18.6ms)
12818
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12819
+ Rendered stories/_story (17.9ms)
12820
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12821
+ Rendered stories/_story (17.0ms)
12822
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12823
+ Rendered stories/_story (17.7ms)
12824
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12825
+ Rendered stories/_story (18.2ms)
12826
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12827
+ Rendered stories/_story (16.3ms)
12828
+ Rendered layouts/_meta (0.2ms)
12829
+ Rendered layouts/_header (0.3ms)
12830
+ Rendered layouts/_footer (0.5ms)
12831
+ Completed in 350ms (View: 171, DB: 9) | 200 OK [http://localhost/iterations/1/stories]
12832
+
12833
+
12834
+ Processing IterationsController#edit (for 127.0.0.1 at 2010-03-30 15:03:44) [GET]
12835
+ Parameters: {"id"=>"1"}
12836
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12837
+ Release Load (0.4ms) SELECT * FROM "releases" 
12838
+ CACHE (0.0ms) SELECT * FROM "releases" 
12839
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12840
+ Rendering template within layouts/main
12841
+ Rendering iterations/edit
12842
+ Rendered iterations/_form (12.1ms)
12843
+ Rendered layouts/_meta (1.1ms)
12844
+ Rendered layouts/_header (0.3ms)
12845
+ Rendered layouts/_footer (0.5ms)
12846
+ Completed in 69ms (View: 28, DB: 2) | 200 OK [http://localhost/iterations/1/edit]
12847
+
12848
+
12849
+ Processing IterationsController#update (for 127.0.0.1 at 2010-03-30 15:03:49) [PUT]
12850
+ Parameters: {"iteration"=>{"start_date"=>"December 15, 2009 02:48 PM", "name"=>"1", "release_id"=>"2", "end_date"=>"January 08, 2009 02:48 PM", "velocity"=>"40"}, "commit"=>"Update", "authenticity_token"=>"0C5m49yiUGhP+mJSLvpCyt9/kz1MdoRzi+Z7497ehWI=", "id"=>"1"}
12851
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12852
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12853
+ Iteration Update (0.3ms) UPDATE "iterations" SET "updated_at" = '2010-03-30 14:03:49', "velocity" = 40 WHERE "id" = 1
12854
+ Redirected to http://localhost:3001/iterations
12855
+ Completed in 45ms (DB: 1) | 302 Found [http://localhost/iterations/1]
12856
+
12857
+
12858
+ Processing IterationsController#index (for 127.0.0.1 at 2010-03-30 15:03:49) [GET]
12859
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12860
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
12861
+ Rendering template within layouts/main
12862
+ Rendering iterations/index
12863
+ Rendered layouts/_meta (0.1ms)
12864
+ Rendered layouts/_header (0.4ms)
12865
+ Rendered layouts/_footer (0.6ms)
12866
+ Completed in 63ms (View: 30, DB: 1) | 200 OK [http://localhost/iterations]
12867
+
12868
+
12869
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:03:51) [GET]
12870
+ Parameters: {"iteration_id"=>"1"}
12871
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12872
+ Iteration Load (0.9ms) SELECT * FROM "iterations" 
12873
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12874
+ Story Load (2.2ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
12875
+ Rendering template within layouts/main
12876
+ Rendering stories/index
12877
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12878
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12879
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12880
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12881
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12882
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12883
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12884
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12885
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12886
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12887
+ Rendered stories/_story (23.0ms)
12888
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12889
+ Rendered stories/_story (17.3ms)
12890
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12891
+ Rendered stories/_story (17.7ms)
12892
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12893
+ Rendered stories/_story (17.4ms)
12894
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12895
+ Rendered stories/_story (16.4ms)
12896
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12897
+ Rendered stories/_story (18.4ms)
12898
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12899
+ Rendered stories/_story (17.9ms)
12900
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12901
+ Rendered stories/_story (15.6ms)
12902
+ Rendered layouts/_meta (0.1ms)
12903
+ Rendered layouts/_header (0.3ms)
12904
+ Rendered layouts/_footer (0.5ms)
12905
+ Completed in 370ms (View: 167, DB: 9) | 200 OK [http://localhost/iterations/1/stories]
12906
+
12907
+
12908
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:04:43) [GET]
12909
+ Parameters: {"iteration_id"=>"1"}
12910
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12911
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
12912
+ Iteration Load (1.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12913
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
12914
+ Rendering template within layouts/main
12915
+ Rendering stories/index
12916
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12917
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12918
+ SQL (0.7ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12919
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12920
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12921
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12922
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12923
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12924
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12925
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12926
+ Rendered stories/_story (23.1ms)
12927
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12928
+ Rendered stories/_story (122.1ms)
12929
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12930
+ Rendered stories/_story (20.8ms)
12931
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12932
+ Rendered stories/_story (19.1ms)
12933
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12934
+ Rendered stories/_story (18.9ms)
12935
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12936
+ Rendered stories/_story (20.1ms)
12937
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12938
+ Rendered stories/_story (20.2ms)
12939
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12940
+ Rendered stories/_story (18.1ms)
12941
+ Rendered layouts/_meta (0.1ms)
12942
+ Rendered layouts/_header (0.3ms)
12943
+ Rendered layouts/_footer (0.5ms)
12944
+ Completed in 381ms (View: 295, DB: 10) | 200 OK [http://localhost/iterations/1/stories]
12945
+
12946
+
12947
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:04:54) [GET]
12948
+ Parameters: {"iteration_id"=>"1"}
12949
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12950
+ Iteration Load (0.9ms) SELECT * FROM "iterations" 
12951
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12952
+ Story Load (2.7ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
12953
+ Rendering template within layouts/main
12954
+ Rendering stories/index
12955
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12956
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12957
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12958
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12959
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12960
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12961
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12962
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12963
+ Story Load (2.7ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12964
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12965
+ Rendered stories/_story (27.2ms)
12966
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12967
+ Rendered stories/_story (21.5ms)
12968
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12969
+ Rendered stories/_story (22.9ms)
12970
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12971
+ Rendered stories/_story (21.4ms)
12972
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12973
+ Rendered stories/_story (20.6ms)
12974
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12975
+ Rendered stories/_story (23.1ms)
12976
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12977
+ Rendered stories/_story (23.1ms)
12978
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
12979
+ Rendered stories/_story (20.9ms)
12980
+ Rendered layouts/_meta (0.2ms)
12981
+ Rendered layouts/_header (0.3ms)
12982
+ Rendered layouts/_footer (3.8ms)
12983
+ Completed in 547ms (View: 353, DB: 11) | 200 OK [http://localhost/iterations/1/stories]
12984
+
12985
+
12986
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:05:08) [GET]
12987
+ Parameters: {"iteration_id"=>"1"}
12988
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
12989
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
12990
+ Iteration Load (0.7ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
12991
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
12992
+ Rendering template within layouts/main
12993
+ Rendering stories/index
12994
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12995
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
12996
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
12997
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
12998
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
12999
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13000
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13001
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13002
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13003
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13004
+ Rendered stories/_story (21.7ms)
13005
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13006
+ Rendered stories/_story (16.2ms)
13007
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13008
+ Rendered stories/_story (18.8ms)
13009
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13010
+ Rendered stories/_story (16.2ms)
13011
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13012
+ Rendered stories/_story (16.4ms)
13013
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13014
+ Rendered stories/_story (17.5ms)
13015
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13016
+ Rendered stories/_story (18.0ms)
13017
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13018
+ Rendered stories/_story (16.2ms)
13019
+ Rendered layouts/_meta (0.1ms)
13020
+ Rendered layouts/_header (0.3ms)
13021
+ Rendered layouts/_footer (0.4ms)
13022
+ Completed in 373ms (View: 173, DB: 9) | 200 OK [http://localhost/iterations/1/stories]
13023
+
13024
+
13025
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:05:26) [GET]
13026
+ Parameters: {"iteration_id"=>"1"}
13027
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13028
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
13029
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13030
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13031
+ Rendering template within layouts/main
13032
+ Rendering stories/index
13033
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13034
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13035
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13036
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13037
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13038
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13039
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13040
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13041
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13042
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13043
+ Rendered stories/_story (21.1ms)
13044
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13045
+ Rendered stories/_story (125.2ms)
13046
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13047
+ Rendered stories/_story (18.6ms)
13048
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13049
+ Rendered stories/_story (17.0ms)
13050
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13051
+ Rendered stories/_story (17.4ms)
13052
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13053
+ Rendered stories/_story (18.2ms)
13054
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13055
+ Rendered stories/_story (18.3ms)
13056
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13057
+ Rendered stories/_story (15.9ms)
13058
+ Rendered layouts/_meta (0.1ms)
13059
+ Rendered layouts/_header (0.3ms)
13060
+ Rendered layouts/_footer (0.5ms)
13061
+ Completed in 355ms (View: 283, DB: 8) | 200 OK [http://localhost/iterations/1/stories]
13062
+
13063
+
13064
+ Processing IterationsController#edit (for 127.0.0.1 at 2010-03-30 15:05:44) [GET]
13065
+ Parameters: {"id"=>"1"}
13066
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13067
+ Release Load (0.4ms) SELECT * FROM "releases" 
13068
+ CACHE (0.0ms) SELECT * FROM "releases" 
13069
+ Iteration Load (0.7ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13070
+ Rendering template within layouts/main
13071
+ Rendering iterations/edit
13072
+ Rendered iterations/_form (12.0ms)
13073
+ Rendered layouts/_meta (0.1ms)
13074
+ Rendered layouts/_header (0.4ms)
13075
+ Rendered layouts/_footer (0.6ms)
13076
+ Completed in 203ms (View: 26, DB: 2) | 200 OK [http://localhost/iterations/1/edit]
13077
+
13078
+
13079
+ Processing IterationsController#update (for 127.0.0.1 at 2010-03-30 15:05:48) [PUT]
13080
+ Parameters: {"iteration"=>{"start_date"=>"December 15, 2009 02:48 PM", "name"=>"1", "release_id"=>"2", "end_date"=>"January 08, 2009 02:48 PM", "velocity"=>"80"}, "commit"=>"Update", "authenticity_token"=>"0C5m49yiUGhP+mJSLvpCyt9/kz1MdoRzi+Z7497ehWI=", "id"=>"1"}
13081
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13082
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13083
+ Iteration Update (0.3ms) UPDATE "iterations" SET "updated_at" = '2010-03-30 14:05:48', "velocity" = 80 WHERE "id" = 1
13084
+ Redirected to http://localhost:3001/iterations
13085
+ Completed in 55ms (DB: 2) | 302 Found [http://localhost/iterations/1]
13086
+
13087
+
13088
+ Processing IterationsController#index (for 127.0.0.1 at 2010-03-30 15:05:48) [GET]
13089
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13090
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
13091
+ Rendering template within layouts/main
13092
+ Rendering iterations/index
13093
+ Rendered layouts/_meta (0.1ms)
13094
+ Rendered layouts/_header (0.3ms)
13095
+ Rendered layouts/_footer (0.5ms)
13096
+ Completed in 178ms (View: 29, DB: 1) | 200 OK [http://localhost/iterations]
13097
+
13098
+
13099
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:05:49) [GET]
13100
+ Parameters: {"iteration_id"=>"1"}
13101
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13102
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
13103
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13104
+ Story Load (2.2ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13105
+ Rendering template within layouts/main
13106
+ Rendering stories/index
13107
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13108
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13109
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13110
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13111
+ Story Load (4.6ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13112
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13113
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13114
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13115
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13116
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13117
+ Rendered stories/_story (23.6ms)
13118
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13119
+ Rendered stories/_story (18.6ms)
13120
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13121
+ Rendered stories/_story (18.3ms)
13122
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13123
+ Rendered stories/_story (17.4ms)
13124
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13125
+ Rendered stories/_story (16.8ms)
13126
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13127
+ Rendered stories/_story (17.6ms)
13128
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13129
+ Rendered stories/_story (18.1ms)
13130
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13131
+ Rendered stories/_story (16.1ms)
13132
+ Rendered layouts/_meta (0.1ms)
13133
+ Rendered layouts/_header (0.3ms)
13134
+ Rendered layouts/_footer (0.5ms)
13135
+ Completed in 370ms (View: 275, DB: 13) | 200 OK [http://localhost/iterations/1/stories]
13136
+
13137
+
13138
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:06:06) [GET]
13139
+ Parameters: {"iteration_id"=>"1"}
13140
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13141
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
13142
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13143
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13144
+ Rendering template within layouts/main
13145
+ Rendering stories/index
13146
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13147
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13148
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13149
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13150
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13151
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13152
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13153
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13154
+ Story Load (2.0ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13155
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13156
+ Rendered stories/_story (21.0ms)
13157
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13158
+ Rendered stories/_story (16.7ms)
13159
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13160
+ Rendered stories/_story (17.7ms)
13161
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13162
+ Rendered stories/_story (16.8ms)
13163
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13164
+ Rendered stories/_story (15.7ms)
13165
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13166
+ Rendered stories/_story (131.2ms)
13167
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13168
+ Rendered stories/_story (19.7ms)
13169
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13170
+ Rendered stories/_story (17.3ms)
13171
+ Rendered layouts/_meta (0.1ms)
13172
+ Rendered layouts/_header (0.7ms)
13173
+ Rendered layouts/_footer (0.5ms)
13174
+ Completed in 492ms (View: 289, DB: 8) | 200 OK [http://localhost/iterations/1/stories]
13175
+
13176
+
13177
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:06:16) [GET]
13178
+ Parameters: {"iteration_id"=>"1"}
13179
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13180
+ Iteration Load (0.9ms) SELECT * FROM "iterations" 
13181
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13182
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13183
+ Rendering template within layouts/main
13184
+ Rendering stories/index
13185
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13186
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13187
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13188
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13189
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13190
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13191
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13192
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13193
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13194
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13195
+ Rendered stories/_story (22.4ms)
13196
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13197
+ Rendered stories/_story (16.9ms)
13198
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13199
+ Rendered stories/_story (17.9ms)
13200
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13201
+ Rendered stories/_story (18.3ms)
13202
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13203
+ Rendered stories/_story (17.2ms)
13204
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13205
+ Rendered stories/_story (18.5ms)
13206
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13207
+ Rendered stories/_story (18.3ms)
13208
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13209
+ Rendered stories/_story (16.0ms)
13210
+ Rendered layouts/_meta (0.1ms)
13211
+ Rendered layouts/_header (0.3ms)
13212
+ Rendered layouts/_footer (0.5ms)
13213
+ Completed in 387ms (View: 180, DB: 9) | 200 OK [http://localhost/iterations/1/stories]
13214
+
13215
+
13216
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:06:29) [GET]
13217
+ Parameters: {"iteration_id"=>"1"}
13218
+ User Load (0.8ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13219
+ Iteration Load (1.0ms) SELECT * FROM "iterations" 
13220
+ Iteration Load (0.7ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13221
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13222
+ Rendering template within layouts/main
13223
+ Rendering stories/index
13224
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13225
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13226
+ SQL (0.5ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13227
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13228
+ Story Load (0.4ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13229
+ Story Load (0.5ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13230
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13231
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13232
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13233
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13234
+ Rendered stories/_story (24.0ms)
13235
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13236
+ Rendered stories/_story (17.3ms)
13237
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13238
+ Rendered stories/_story (18.2ms)
13239
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13240
+ Rendered stories/_story (17.5ms)
13241
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13242
+ Rendered stories/_story (17.9ms)
13243
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13244
+ Rendered stories/_story (19.4ms)
13245
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13246
+ Rendered stories/_story (18.2ms)
13247
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13248
+ Rendered stories/_story (17.0ms)
13249
+ Rendered layouts/_meta (0.1ms)
13250
+ Rendered layouts/_header (0.3ms)
13251
+ Rendered layouts/_footer (0.5ms)
13252
+ Completed in 386ms (View: 296, DB: 10) | 200 OK [http://localhost/iterations/1/stories]
13253
+
13254
+
13255
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:06:56) [GET]
13256
+ Parameters: {"iteration_id"=>"1"}
13257
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13258
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
13259
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13260
+ Story Load (2.2ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13261
+ Rendering template within layouts/main
13262
+ Rendering stories/index
13263
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13264
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13265
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13266
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13267
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13268
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13269
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13270
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13271
+ Story Load (2.7ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13272
+ User Load (0.8ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13273
+ Rendered stories/_story (28.3ms)
13274
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13275
+ Rendered stories/_story (21.9ms)
13276
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13277
+ Rendered stories/_story (24.4ms)
13278
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13279
+ Rendered stories/_story (21.3ms)
13280
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13281
+ Rendered stories/_story (21.5ms)
13282
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13283
+ Rendered stories/_story (151.2ms)
13284
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13285
+ Rendered stories/_story (25.4ms)
13286
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13287
+ Rendered stories/_story (22.3ms)
13288
+ Rendered layouts/_meta (0.2ms)
13289
+ Rendered layouts/_header (0.3ms)
13290
+ Rendered layouts/_footer (0.6ms)
13291
+ Completed in 570ms (View: 357, DB: 10) | 200 OK [http://localhost/iterations/1/stories]
13292
+
13293
+
13294
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:07:07) [GET]
13295
+ Parameters: {"iteration_id"=>"1"}
13296
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13297
+ Iteration Load (1.3ms) SELECT * FROM "iterations" 
13298
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13299
+ Story Load (2.2ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13300
+ Rendering template within layouts/main
13301
+ Rendering stories/index
13302
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13303
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13304
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13305
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13306
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13307
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13308
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13309
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13310
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13311
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13312
+ Rendered stories/_story (23.1ms)
13313
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13314
+ Rendered stories/_story (17.9ms)
13315
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13316
+ Rendered stories/_story (19.0ms)
13317
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13318
+ Rendered stories/_story (17.8ms)
13319
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13320
+ Rendered stories/_story (17.4ms)
13321
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13322
+ Rendered stories/_story (19.4ms)
13323
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13324
+ Rendered stories/_story (17.9ms)
13325
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13326
+ Rendered stories/_story (16.6ms)
13327
+ Rendered layouts/_meta (0.1ms)
13328
+ Rendered layouts/_header (0.3ms)
13329
+ Rendered layouts/_footer (0.5ms)
13330
+ Completed in 388ms (View: 182, DB: 9) | 200 OK [http://localhost/iterations/1/stories]
13331
+
13332
+
13333
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:08:10) [GET]
13334
+ Parameters: {"iteration_id"=>"1"}
13335
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13336
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
13337
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13338
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13339
+ Rendering template within layouts/main
13340
+ Rendering stories/index
13341
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13342
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13343
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13344
+ SQL (4.7ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13345
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13346
+ Story Load (0.3ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13347
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13348
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13349
+ Story Load (2.3ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13350
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13351
+ Rendered stories/_story (26.3ms)
13352
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13353
+ Rendered stories/_story (18.7ms)
13354
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13355
+ Rendered stories/_story (19.3ms)
13356
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13357
+ Rendered stories/_story (17.6ms)
13358
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13359
+ Rendered stories/_story (17.2ms)
13360
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13361
+ Rendered stories/_story (18.2ms)
13362
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13363
+ Rendered stories/_story (19.4ms)
13364
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13365
+ Rendered stories/_story (16.6ms)
13366
+ Rendered layouts/_meta (0.1ms)
13367
+ Rendered layouts/_header (0.3ms)
13368
+ Rendered layouts/_footer (0.5ms)
13369
+ Completed in 379ms (View: 296, DB: 13) | 200 OK [http://localhost/iterations/1/stories]
13370
+
13371
+
13372
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:08:18) [GET]
13373
+ Parameters: {"iteration_id"=>"1"}
13374
+ User Load (0.9ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13375
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
13376
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13377
+ Story Load (2.2ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13378
+ Rendering template within layouts/main
13379
+ Rendering stories/index
13380
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13381
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13382
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13383
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13384
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13385
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13386
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13387
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13388
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13389
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13390
+ Rendered stories/_story (21.5ms)
13391
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13392
+ Rendered stories/_story (16.5ms)
13393
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13394
+ Rendered stories/_story (17.8ms)
13395
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13396
+ Rendered stories/_story (16.0ms)
13397
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13398
+ Rendered stories/_story (16.7ms)
13399
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13400
+ Rendered stories/_story (33.1ms)
13401
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13402
+ Rendered stories/_story (19.8ms)
13403
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13404
+ Rendered stories/_story (17.8ms)
13405
+ Rendered layouts/_meta (0.1ms)
13406
+ Rendered layouts/_header (0.3ms)
13407
+ Rendered layouts/_footer (0.5ms)
13408
+ Completed in 371ms (View: 292, DB: 9) | 200 OK [http://localhost/iterations/1/stories]
13409
+
13410
+
13411
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:08:34) [GET]
13412
+ Parameters: {"iteration_id"=>"1"}
13413
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13414
+ Iteration Load (0.7ms) SELECT * FROM "iterations" 
13415
+ Iteration Load (0.4ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13416
+ Story Load (2.6ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13417
+ Rendering template within layouts/main
13418
+ Rendering stories/index
13419
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13420
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13421
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13422
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13423
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13424
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13425
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13426
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13427
+ Story Load (2.2ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13428
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13429
+ Rendered stories/_story (23.1ms)
13430
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13431
+ Rendered stories/_story (17.7ms)
13432
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13433
+ Rendered stories/_story (19.7ms)
13434
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13435
+ Rendered stories/_story (17.0ms)
13436
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13437
+ Rendered stories/_story (17.1ms)
13438
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13439
+ Rendered stories/_story (18.1ms)
13440
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13441
+ Rendered stories/_story (18.5ms)
13442
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13443
+ Rendered stories/_story (16.8ms)
13444
+ Rendered layouts/_meta (0.1ms)
13445
+ Rendered layouts/_header (0.3ms)
13446
+ Rendered layouts/_footer (0.6ms)
13447
+ Completed in 387ms (View: 183, DB: 9) | 200 OK [http://localhost/iterations/1/stories]
13448
+
13449
+
13450
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:08:39) [GET]
13451
+ Parameters: {"iteration_id"=>"1"}
13452
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13453
+ Iteration Load (0.9ms) SELECT * FROM "iterations" 
13454
+ Iteration Load (0.7ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13455
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13456
+ Rendering template within layouts/main
13457
+ Rendering stories/index
13458
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13459
+ SQL (1.2ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13460
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13461
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13462
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13463
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13464
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13465
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13466
+ Story Load (2.9ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13467
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13468
+ Rendered stories/_story (22.0ms)
13469
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13470
+ Rendered stories/_story (17.9ms)
13471
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13472
+ Rendered stories/_story (17.9ms)
13473
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13474
+ Rendered stories/_story (21.7ms)
13475
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13476
+ Rendered stories/_story (22.2ms)
13477
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13478
+ Rendered stories/_story (23.1ms)
13479
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13480
+ Rendered stories/_story (24.0ms)
13481
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13482
+ Rendered stories/_story (21.2ms)
13483
+ Rendered layouts/_meta (0.2ms)
13484
+ Rendered layouts/_header (0.3ms)
13485
+ Rendered layouts/_footer (0.7ms)
13486
+ Completed in 409ms (View: 317, DB: 11) | 200 OK [http://localhost/iterations/1/stories]
13487
+
13488
+
13489
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:08:51) [GET]
13490
+ Parameters: {"iteration_id"=>"1"}
13491
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13492
+ Iteration Load (1.1ms) SELECT * FROM "iterations" 
13493
+ Iteration Load (0.5ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13494
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13495
+ Rendering template within layouts/main
13496
+ Rendering stories/index
13497
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13498
+ SQL (1.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13499
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13500
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13501
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13502
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13503
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13504
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13505
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13506
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13507
+ Rendered stories/_story (23.8ms)
13508
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13509
+ Rendered stories/_story (17.6ms)
13510
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13511
+ Rendered stories/_story (19.2ms)
13512
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13513
+ Rendered stories/_story (18.5ms)
13514
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13515
+ Rendered stories/_story (138.3ms)
13516
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13517
+ Rendered stories/_story (23.1ms)
13518
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13519
+ Rendered stories/_story (21.1ms)
13520
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13521
+ Rendered stories/_story (18.0ms)
13522
+ Rendered layouts/_meta (0.1ms)
13523
+ Rendered layouts/_header (0.3ms)
13524
+ Rendered layouts/_footer (0.6ms)
13525
+ Completed in 401ms (View: 316, DB: 10) | 200 OK [http://localhost/iterations/1/stories]
13526
+
13527
+
13528
+ Processing IterationsController#edit (for 127.0.0.1 at 2010-03-30 15:09:21) [GET]
13529
+ Parameters: {"id"=>"1"}
13530
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13531
+ Release Load (0.5ms) SELECT * FROM "releases" 
13532
+ CACHE (0.0ms) SELECT * FROM "releases" 
13533
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13534
+ Rendering template within layouts/main
13535
+ Rendering iterations/edit
13536
+ Rendered iterations/_form (11.5ms)
13537
+ Rendered layouts/_meta (0.2ms)
13538
+ Rendered layouts/_header (0.3ms)
13539
+ Rendered layouts/_footer (1.8ms)
13540
+ Completed in 194ms (View: 152, DB: 2) | 200 OK [http://localhost/iterations/1/edit]
13541
+
13542
+
13543
+ Processing IterationsController#update (for 127.0.0.1 at 2010-03-30 15:09:25) [PUT]
13544
+ Parameters: {"iteration"=>{"start_date"=>"December 15, 2009 02:48 PM", "name"=>"1", "release_id"=>"2", "end_date"=>"January 08, 2009 02:48 PM", "velocity"=>"10"}, "commit"=>"Update", "authenticity_token"=>"0C5m49yiUGhP+mJSLvpCyt9/kz1MdoRzi+Z7497ehWI=", "id"=>"1"}
13545
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13546
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13547
+ Iteration Update (0.3ms) UPDATE "iterations" SET "updated_at" = '2010-03-30 14:09:25', "velocity" = 10 WHERE "id" = 1
13548
+ Redirected to http://localhost:3001/iterations
13549
+ Completed in 46ms (DB: 1) | 302 Found [http://localhost/iterations/1]
13550
+
13551
+
13552
+ Processing IterationsController#index (for 127.0.0.1 at 2010-03-30 15:09:25) [GET]
13553
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13554
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
13555
+ Rendering template within layouts/main
13556
+ Rendering iterations/index
13557
+ Rendered layouts/_meta (0.1ms)
13558
+ Rendered layouts/_header (0.3ms)
13559
+ Rendered layouts/_footer (1.3ms)
13560
+ Completed in 178ms (View: 147, DB: 1) | 200 OK [http://localhost/iterations]
13561
+
13562
+
13563
+ Processing StoriesController#index (for 127.0.0.1 at 2010-03-30 15:09:27) [GET]
13564
+ Parameters: {"iteration_id"=>"1"}
13565
+ User Load (0.7ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13566
+ Iteration Load (0.9ms) SELECT * FROM "iterations" 
13567
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
13568
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE (iteration_id = 1) 
13569
+ Rendering template within layouts/main
13570
+ Rendering stories/index
13571
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13572
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13573
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13574
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13575
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
13576
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "quality_assurance") AND (iteration_id = 1)) 
13577
+ Story Load (0.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
13578
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13579
+ Story Load (2.1ms) SELECT * FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
13580
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13581
+ Rendered stories/_story (129.4ms)
13582
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13583
+ Rendered stories/_story (17.8ms)
13584
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13585
+ Rendered stories/_story (18.4ms)
13586
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13587
+ Rendered stories/_story (17.1ms)
13588
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13589
+ Rendered stories/_story (17.6ms)
13590
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13591
+ Rendered stories/_story (18.0ms)
13592
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13593
+ Rendered stories/_story (18.4ms)
13594
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
13595
+ Rendered stories/_story (16.1ms)
13596
+ Rendered layouts/_meta (0.1ms)
13597
+ Rendered layouts/_header (0.3ms)
13598
+ Rendered layouts/_footer (0.5ms)
13599
+ Completed in 361ms (View: 274, DB: 9) | 200 OK [http://localhost/iterations/1/stories]
13600
+ SQL (1.2ms)  SELECT name
13601
+ FROM sqlite_master
13602
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13603
+ 
13604
+ SQL (0.9ms) SELECT version FROM schema_migrations
13605
+ SQL (0.2ms) select sqlite_version(*)
13606
+ SQL (0.2ms)  SELECT name
13607
+ FROM sqlite_master
13608
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13609
+ 
13610
+ SQL (13.7ms) CREATE TABLE "iterations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "velocity" integer, "name" varchar(255), "start_date" datetime, "end_date" datetime, "created_at" datetime, "updated_at" datetime, "release_id" integer) 
13611
+ SQL (0.3ms)  SELECT name
13612
+ FROM sqlite_master
13613
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13614
+ 
13615
+ SQL (15.2ms) CREATE TABLE "outcomes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) 
13616
+ SQL (0.4ms)  SELECT name
13617
+ FROM sqlite_master
13618
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13619
+ 
13620
+ SQL (2.9ms) CREATE TABLE "participations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime) 
13621
+ SQL (0.6ms)  SELECT name
13622
+ FROM sqlite_master
13623
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13624
+ 
13625
+ SQL (2.9ms) CREATE TABLE "preconditions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) 
13626
+ SQL (0.6ms)  SELECT name
13627
+ FROM sqlite_master
13628
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13629
+ 
13630
+ SQL (2.8ms) CREATE TABLE "releases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "release_date" date, "notes" text, "created_at" datetime, "updated_at" datetime) 
13631
+ SQL (0.7ms)  SELECT name
13632
+ FROM sqlite_master
13633
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13634
+ 
13635
+ SQL (2.9ms) CREATE TABLE "scenarios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "story_id" integer, "created_at" datetime, "updated_at" datetime) 
13636
+ SQL (0.7ms)  SELECT name
13637
+ FROM sqlite_master
13638
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13639
+ 
13640
+ SQL (2.9ms) CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "points" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(40), "author_id" integer, "slug" varchar(255) DEFAULT '' NOT NULL, "status" varchar(10), "completed_date" date) 
13641
+ SQL (0.8ms)  SELECT name
13642
+ FROM sqlite_master
13643
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13644
+ 
13645
+ SQL (3.4ms) CREATE TABLE "user_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime, "story_id" integer) 
13646
+ SQL (0.8ms)  SELECT name
13647
+ FROM sqlite_master
13648
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13649
+ 
13650
+ SQL (8.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime) 
13651
+ SQL (8.0ms) CREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")
13652
+ SQL (1.4ms)  SELECT name
13653
+ FROM sqlite_master
13654
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13655
+ 
13656
+ SQL (4.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13657
+ SQL (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13658
+ SQL (0.8ms)  SELECT name
13659
+ FROM sqlite_master
13660
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13661
+ 
13662
+ SQL (0.2ms) SELECT version FROM "schema_migrations"
13663
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091223100903')
13664
+ SQL (10.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127173744')
13665
+ SQL (5.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127164705')
13666
+ SQL (2.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127122422')
13667
+ SQL (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127164446')
13668
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091202105555')
13669
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127164217')
13670
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127172950')
13671
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127172849')
13672
+ SQL (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127120627')
13673
+ SQL (20.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127144645')
13674
+ SQL (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127114237')
13675
+ SQL (6.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127131037')
13676
+ SQL (2.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20091204173634')
13677
+
13678
+
13679
+ Processing IterationsController#index (for 127.0.0.1 at 2010-03-30 15:10:40) [GET]
13680
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13681
+ Iteration Load (2.8ms) SELECT * FROM "iterations" 
13682
+ Rendering template within layouts/main
13683
+ Rendering iterations/index
13684
+ Rendered layouts/_meta (0.2ms)
13685
+ Rendered layouts/_header (0.3ms)
13686
+ Rendered layouts/_footer (0.6ms)
13687
+ Completed in 233ms (View: 35, DB: 3) | 200 OK [http://localhost/iterations]
13688
+
13689
+
13690
+ Processing IterationsController#show (for 127.0.0.1 at 2010-03-30 15:10:42) [GET]
13691
+ Parameters: {"id"=>"2"}
13692
+ User Load (0.6ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
13693
+ Iteration Load (0.6ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 2) 
13694
+ Story Load (0.6ms) SELECT SUM(points) AS points,
13695
+ completed_date
13696
+ FROM stories
13697
+ WHERE iteration_id = 2
13698
+ AND status = 'completed'
13699
+ GROUP BY completed_date
13700
+ ORDER bY completed_date
13701
+ Rendering template within layouts/main
13702
+ Rendering iterations/show
13703
+ Release Load (0.5ms) SELECT * FROM "releases" WHERE ("releases"."id" = 2) 
13704
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ("stories".iteration_id = 2) 
13705
+ Story Load (1.8ms) SELECT * FROM "stories" WHERE ("stories".iteration_id = 2) 
13706
+ Rendered layouts/_meta (0.2ms)
13707
+ Rendered layouts/_header (0.3ms)
13708
+ Rendered layouts/_footer (0.5ms)
13709
+ Completed in 297ms (View: 211, DB: 4) | 200 OK [http://localhost/iterations/2]
13710
+ SQL (1.1ms)  SELECT name
13711
+ FROM sqlite_master
13712
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13713
+ 
13714
+ SQL (0.8ms) SELECT version FROM schema_migrations
13715
+ SQL (0.2ms) select sqlite_version(*)
13716
+ SQL (0.2ms)  SELECT name
13717
+ FROM sqlite_master
13718
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13719
+ 
13720
+ SQL (6.6ms) CREATE TABLE "iterations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "velocity" integer, "name" varchar(255), "start_date" datetime, "end_date" datetime, "created_at" datetime, "updated_at" datetime, "release_id" integer) 
13721
+ SQL (0.3ms)  SELECT name
13722
+ FROM sqlite_master
13723
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13724
+ 
13725
+ SQL (2.4ms) CREATE TABLE "outcomes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) 
13726
+ SQL (0.3ms)  SELECT name
13727
+ FROM sqlite_master
13728
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13729
+ 
13730
+ SQL (2.4ms) CREATE TABLE "participations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime) 
13731
+ SQL (0.4ms)  SELECT name
13732
+ FROM sqlite_master
13733
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13734
+ 
13735
+ SQL (2.7ms) CREATE TABLE "preconditions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar(255), "scenario_id" integer, "created_at" datetime, "updated_at" datetime) 
13736
+ SQL (0.4ms)  SELECT name
13737
+ FROM sqlite_master
13738
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13739
+ 
13740
+ SQL (19.4ms) CREATE TABLE "releases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "release_date" date, "notes" text, "created_at" datetime, "updated_at" datetime) 
13741
+ SQL (0.6ms)  SELECT name
13742
+ FROM sqlite_master
13743
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13744
+ 
13745
+ SQL (2.9ms) CREATE TABLE "scenarios" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "story_id" integer, "created_at" datetime, "updated_at" datetime) 
13746
+ SQL (0.7ms)  SELECT name
13747
+ FROM sqlite_master
13748
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13749
+ 
13750
+ SQL (4.3ms) CREATE TABLE "stories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "points" integer, "iteration_id" integer, "created_at" datetime, "updated_at" datetime, "title" varchar(40), "author_id" integer, "slug" varchar(255) DEFAULT '' NOT NULL, "status" varchar(10), "completed_date" date) 
13751
+ SQL (0.7ms)  SELECT name
13752
+ FROM sqlite_master
13753
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13754
+ 
13755
+ SQL (12.8ms) CREATE TABLE "user_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime, "story_id" integer) 
13756
+ SQL (0.8ms)  SELECT name
13757
+ FROM sqlite_master
13758
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13759
+ 
13760
+ SQL (3.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "name" varchar(100) DEFAULT '', "email" varchar(100), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime) 
13761
+ SQL (2.9ms) CREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")
13762
+ SQL (0.8ms)  SELECT name
13763
+ FROM sqlite_master
13764
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13765
+ 
13766
+ SQL (3.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13767
+ SQL (2.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13768
+ SQL (1.0ms)  SELECT name
13769
+ FROM sqlite_master
13770
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13771
+ 
13772
+ SQL (0.2ms) SELECT version FROM "schema_migrations"
13773
+ SQL (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20091223100903')
13774
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127173744')
13775
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127164705')
13776
+ SQL (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127122422')
13777
+ SQL (2.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127164446')
13778
+ SQL (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091202105555')
13779
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127164217')
13780
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127172950')
13781
+ SQL (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127172849')
13782
+ SQL (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127120627')
13783
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127144645')
13784
+ SQL (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127114237')
13785
+ SQL (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20091127131037')
13786
+ SQL (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091204173634')