gambas 0.0.1

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 (47) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +8 -0
  3. data/Rakefile +38 -0
  4. data/lib/gambas.rb +26 -0
  5. data/lib/gambas/version.rb +3 -0
  6. data/lib/tasks/gambas_tasks.rake +4 -0
  7. data/test/dummy/README.rdoc +261 -0
  8. data/test/dummy/Rakefile +7 -0
  9. data/test/dummy/app/assets/javascripts/application.js +15 -0
  10. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  11. data/test/dummy/app/controllers/application_controller.rb +3 -0
  12. data/test/dummy/app/controllers/home_controller.rb +29 -0
  13. data/test/dummy/app/helpers/application_helper.rb +2 -0
  14. data/test/dummy/app/views/home/index.pdf.prawn +3 -0
  15. data/test/dummy/app/views/home/table_column_widths.pdf.prawn +10 -0
  16. data/test/dummy/app/views/home/table_content_and_subtables.pdf.prawn +21 -0
  17. data/test/dummy/app/views/home/table_flow_and_header.pdf.prawn +3 -0
  18. data/test/dummy/app/views/home/table_position.pdf.prawn +14 -0
  19. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  20. data/test/dummy/config.ru +4 -0
  21. data/test/dummy/config/application.rb +56 -0
  22. data/test/dummy/config/boot.rb +10 -0
  23. data/test/dummy/config/database.yml +25 -0
  24. data/test/dummy/config/environment.rb +5 -0
  25. data/test/dummy/config/environments/development.rb +37 -0
  26. data/test/dummy/config/environments/production.rb +67 -0
  27. data/test/dummy/config/environments/test.rb +37 -0
  28. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  29. data/test/dummy/config/initializers/inflections.rb +15 -0
  30. data/test/dummy/config/initializers/mime_types.rb +5 -0
  31. data/test/dummy/config/initializers/secret_token.rb +7 -0
  32. data/test/dummy/config/initializers/session_store.rb +8 -0
  33. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  34. data/test/dummy/config/locales/en.yml +5 -0
  35. data/test/dummy/config/routes.rb +60 -0
  36. data/test/dummy/db/development.sqlite3 +0 -0
  37. data/test/dummy/db/test.sqlite3 +0 -0
  38. data/test/dummy/log/development.log +541 -0
  39. data/test/dummy/log/test.log +367 -0
  40. data/test/dummy/public/404.html +26 -0
  41. data/test/dummy/public/422.html +26 -0
  42. data/test/dummy/public/500.html +25 -0
  43. data/test/dummy/public/favicon.ico +0 -0
  44. data/test/dummy/script/rails +6 -0
  45. data/test/gambas_test.rb +15 -0
  46. data/test/test_helper.rb +15 -0
  47. metadata +175 -0
File without changes
File without changes
@@ -0,0 +1,541 @@
1
+
2
+
3
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-20 00:42:45 +0000
4
+ Processing by HomeController#index as PDF
5
+ Rendered home/index.pdf.prawn (125.8ms)
6
+ Completed 200 OK in 137ms (Views: 135.7ms | ActiveRecord: 0.0ms)
7
+
8
+
9
+ Started GET "/" for 127.0.0.1 at 2012-03-21 21:37:21 +0000
10
+
11
+ ActionController::RoutingError (No route matches [GET] "/"):
12
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
13
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
14
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
15
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
16
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
17
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
18
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
19
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
20
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
21
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
22
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
23
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
24
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
25
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
26
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
27
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
28
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
29
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
30
+
31
+
32
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.6ms)
33
+
34
+
35
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-21 21:37:28 +0000
36
+ Processing by HomeController#index as PDF
37
+ Parameters: {"pdf"=>"home"}
38
+ Rendered home/index.pdf.prawn (220.5ms)
39
+ Completed 200 OK in 224ms (Views: 223.3ms | ActiveRecord: 0.0ms)
40
+
41
+
42
+ Started GET "/tables.pdf" for 127.0.0.1 at 2012-03-21 21:37:40 +0000
43
+ Processing by HomeController#index as PDF
44
+ Parameters: {"pdf"=>"tables"}
45
+ Rendered home/index.pdf.prawn (151.3ms)
46
+ Completed 200 OK in 154ms (Views: 153.2ms | ActiveRecord: 0.0ms)
47
+
48
+
49
+ Started GET "/tables.pdf" for 127.0.0.1 at 2012-03-21 21:38:16 +0000
50
+ Processing by HomeController#index as PDF
51
+ Parameters: {"pdf"=>"tables"}
52
+ Rendered home/index.pdf.prawn (151.9ms)
53
+ Completed 200 OK in 154ms (Views: 153.9ms | ActiveRecord: 0.0ms)
54
+
55
+
56
+ Started GET "/tables.pdf" for 127.0.0.1 at 2012-03-21 21:39:04 +0000
57
+ Processing by HomeController#index as PDF
58
+ Parameters: {"pdf"=>"tables"}
59
+ Rendered text template (0.0ms)
60
+ Completed 200 OK in 54ms (Views: 53.9ms | ActiveRecord: 0.0ms)
61
+
62
+
63
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-21 21:39:11 +0000
64
+ Processing by HomeController#index as PDF
65
+ Parameters: {"pdf"=>"home"}
66
+ Rendered text template (0.0ms)
67
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
68
+
69
+
70
+ Started GET "/home" for 127.0.0.1 at 2012-03-21 21:39:15 +0000
71
+ Processing by HomeController#index as HTML
72
+ Parameters: {"pdf"=>"home"}
73
+ Rendered text template (0.0ms)
74
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
75
+
76
+
77
+ Started GET "/tables" for 127.0.0.1 at 2012-03-21 21:39:23 +0000
78
+ Processing by HomeController#index as HTML
79
+ Parameters: {"pdf"=>"tables"}
80
+ Rendered text template (0.0ms)
81
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
82
+
83
+
84
+ Started GET "/tables" for 127.0.0.1 at 2012-03-21 21:39:51 +0000
85
+ Processing by HomeController#index as HTML
86
+ Parameters: {"pdf"=>"tables"}
87
+ Completed 500 Internal Server Error in 30ms
88
+
89
+ ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :prawn]}. Searched in:
90
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
91
+ ):
92
+ app/controllers/home_controller.rb:3:in `index'
93
+
94
+
95
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
96
+
97
+
98
+ Started GET "/tables.pdf" for 127.0.0.1 at 2012-03-21 21:39:57 +0000
99
+ Processing by HomeController#index as PDF
100
+ Parameters: {"pdf"=>"tables"}
101
+ Completed 500 Internal Server Error in 3ms
102
+
103
+ ActionView::MissingTemplate (Missing template /tables with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder, :prawn]}. Searched in:
104
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
105
+ ):
106
+ app/controllers/home_controller.rb:7:in `block (2 levels) in index'
107
+ app/controllers/home_controller.rb:3:in `index'
108
+
109
+
110
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
111
+
112
+
113
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-21 21:40:42 +0000
114
+ Processing by HomeController#index as PDF
115
+ Parameters: {"pdf"=>"home"}
116
+ Completed 500 Internal Server Error in 1ms
117
+
118
+ ActionView::MissingTemplate (Missing template /home with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder, :prawn]}. Searched in:
119
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
120
+ ):
121
+ app/controllers/home_controller.rb:7:in `block (2 levels) in index'
122
+ app/controllers/home_controller.rb:3:in `index'
123
+
124
+
125
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
126
+
127
+
128
+ Started GET "/index.pdf" for 127.0.0.1 at 2012-03-21 21:40:49 +0000
129
+ Processing by HomeController#index as PDF
130
+ Parameters: {"pdf"=>"index"}
131
+ Completed 500 Internal Server Error in 1ms
132
+
133
+ ActionView::MissingTemplate (Missing template /index with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder, :prawn]}. Searched in:
134
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
135
+ ):
136
+ app/controllers/home_controller.rb:7:in `block (2 levels) in index'
137
+ app/controllers/home_controller.rb:3:in `index'
138
+
139
+
140
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
141
+
142
+
143
+ Started GET "/tables.pdf" for 127.0.0.1 at 2012-03-21 21:40:54 +0000
144
+ Processing by HomeController#index as PDF
145
+ Parameters: {"pdf"=>"tables"}
146
+ Completed 500 Internal Server Error in 1ms
147
+
148
+ ActionView::MissingTemplate (Missing template /tables with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder, :prawn]}. Searched in:
149
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
150
+ ):
151
+ app/controllers/home_controller.rb:7:in `block (2 levels) in index'
152
+ app/controllers/home_controller.rb:3:in `index'
153
+
154
+
155
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
156
+
157
+
158
+ Started GET "/tables.pdf" for 127.0.0.1 at 2012-03-21 21:41:19 +0000
159
+ Processing by HomeController#index as PDF
160
+ Parameters: {"pdf"=>"tables"}
161
+ Rendered home/tables.pdf.prawn (71.8ms)
162
+ Completed 200 OK in 75ms (Views: 74.1ms | ActiveRecord: 0.0ms)
163
+
164
+
165
+ Started GET "/content_and_subtables.pdf" for 127.0.0.1 at 2012-03-21 21:42:44 +0000
166
+ Processing by HomeController#index as PDF
167
+ Parameters: {"pdf"=>"content_and_subtables"}
168
+ Rendered home/content_and_subtables.pdf.prawn (1.4ms)
169
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
170
+
171
+
172
+ Started GET "/content_and_subtables.pdf" for 127.0.0.1 at 2012-03-21 21:44:41 +0000
173
+ Processing by HomeController#index as PDF
174
+ Parameters: {"pdf"=>"content_and_subtables"}
175
+ Rendered home/content_and_subtables.pdf.prawn (104.0ms)
176
+ Completed 200 OK in 106ms (Views: 105.9ms | ActiveRecord: 0.0ms)
177
+
178
+
179
+ Started GET "/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-21 21:46:01 +0000
180
+ Processing by HomeController#index as PDF
181
+ Parameters: {"pdf"=>"table_content_and_subtables"}
182
+ Rendered home/table_content_and_subtables.pdf.prawn (132.2ms)
183
+ Completed 200 OK in 135ms (Views: 134.5ms | ActiveRecord: 0.0ms)
184
+
185
+
186
+ Started GET "/table_position.pdf" for 127.0.0.1 at 2012-03-21 21:48:02 +0000
187
+ Processing by HomeController#index as PDF
188
+ Parameters: {"pdf"=>"table_position"}
189
+ Rendered home/table_position.pdf.prawn (73.3ms)
190
+ Completed 500 Internal Server Error in 76ms
191
+
192
+ ActionView::Template::Error (undefined method `position=' for #<Prawn::Table:0x007f8e8a3d19c0>):
193
+ 3: pdf.text "Left:"
194
+ 4: pdf.table data, :position => :left
195
+ 5: pdf.move_down 10
196
+ 6:
197
+ 7: pdf.text "Center:"
198
+ 8: pdf.table data, :position => :center
199
+ 9: pdf.move_down 10
200
+ app/views/home/table_position.pdf.prawn:6:in `block in _app_views_home_table_position_pdf_prawn___727349454801756809_70125090641720'
201
+ app/views/home/table_position.pdf.prawn:2:in `_app_views_home_table_position_pdf_prawn___727349454801756809_70125090641720'
202
+ app/controllers/home_controller.rb:7:in `block (2 levels) in index'
203
+ app/controllers/home_controller.rb:3:in `index'
204
+
205
+
206
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.8ms)
207
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (30.3ms)
208
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (46.9ms)
209
+
210
+
211
+ Started GET "/table_position.pdf" for 127.0.0.1 at 2012-03-21 21:49:01 +0000
212
+ Processing by HomeController#index as PDF
213
+ Parameters: {"pdf"=>"table_position"}
214
+ Rendered home/table_position.pdf.prawn (70.9ms)
215
+ Completed 200 OK in 73ms (Views: 72.8ms | ActiveRecord: 0.0ms)
216
+
217
+
218
+ Started GET "/table_position.pdf" for 127.0.0.1 at 2012-03-21 21:49:09 +0000
219
+ Processing by HomeController#index as PDF
220
+ Parameters: {"pdf"=>"table_position"}
221
+ Rendered home/table_position.pdf.prawn (79.7ms)
222
+ Completed 500 Internal Server Error in 89ms
223
+
224
+ ActionView::Template::Error (undefined method `position=' for #<Prawn::Table:0x007f8e8a412010>):
225
+ 3: pdf.text "Left:"
226
+ 4: pdf.table data, :position => :left
227
+ 5: pdf.move_down 10
228
+ 6:
229
+ 7: # pdf.text "Center:"
230
+ 8: # pdf.table data, :position => :center
231
+ 9: # pdf.move_down 10
232
+ app/views/home/table_position.pdf.prawn:6:in `block in _app_views_home_table_position_pdf_prawn___727349454801756809_70125090821320'
233
+ app/views/home/table_position.pdf.prawn:2:in `_app_views_home_table_position_pdf_prawn___727349454801756809_70125090821320'
234
+ app/controllers/home_controller.rb:7:in `block (2 levels) in index'
235
+ app/controllers/home_controller.rb:3:in `index'
236
+
237
+
238
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
239
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
240
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.3ms)
241
+
242
+
243
+ Started GET "/table_position.pdf" for 127.0.0.1 at 2012-03-21 21:49:34 +0000
244
+ Processing by HomeController#index as PDF
245
+ Parameters: {"pdf"=>"table_position"}
246
+ Rendered home/table_position.pdf.prawn (82.3ms)
247
+ Completed 500 Internal Server Error in 85ms
248
+
249
+ ActionView::Template::Error (undefined method `position' for #<Prawn::Document:0x007f8e8a4e74e0>):
250
+ 4: pdf.table data#, :position => :left
251
+ 5: pdf.position(:left)
252
+ 6: pdf.move_down 10
253
+ 7:
254
+ 8: # pdf.text "Center:"
255
+ 9: # pdf.table data, :position => :center
256
+ 10: # pdf.move_down 10
257
+ app/views/home/table_position.pdf.prawn:7:in `block in _app_views_home_table_position_pdf_prawn___727349454801756809_70125091251760'
258
+ app/views/home/table_position.pdf.prawn:2:in `_app_views_home_table_position_pdf_prawn___727349454801756809_70125091251760'
259
+ app/controllers/home_controller.rb:7:in `block (2 levels) in index'
260
+ app/controllers/home_controller.rb:3:in `index'
261
+
262
+
263
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
264
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
265
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.5ms)
266
+
267
+
268
+ Started GET "/table_position.pdf" for 127.0.0.1 at 2012-03-21 21:49:50 +0000
269
+ Processing by HomeController#index as PDF
270
+ Parameters: {"pdf"=>"table_position"}
271
+ Rendered home/table_position.pdf.prawn (110.9ms)
272
+ Completed 200 OK in 113ms (Views: 112.7ms | ActiveRecord: 0.0ms)
273
+
274
+
275
+ Started GET "/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:03:07 +0000
276
+ Processing by HomeController#index as PDF
277
+ Parameters: {"pdf"=>"table_column_widths"}
278
+ Rendered home/table_column_widths.pdf.prawn (68.7ms)
279
+ Completed 200 OK in 72ms (Views: 71.1ms | ActiveRecord: 0.0ms)
280
+
281
+
282
+ Started GET "/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:03:34 +0000
283
+ Processing by HomeController#index as PDF
284
+ Parameters: {"pdf"=>"table_column_widths"}
285
+ Rendered home/table_column_widths.pdf.prawn (1.5ms)
286
+ Completed 500 Internal Server Error in 4ms
287
+
288
+ ActionView::Template::Error (data must be a non-empty, non-nil, two dimensional array of cell-convertible objects):
289
+ 1: pdf.table @data
290
+ app/views/home/table_column_widths.pdf.prawn:3:in `block in _app_views_home_table_column_widths_pdf_prawn___949937173129164060_70125091787940'
291
+ app/views/home/table_column_widths.pdf.prawn:2:in `_app_views_home_table_column_widths_pdf_prawn___949937173129164060_70125091787940'
292
+ app/controllers/home_controller.rb:7:in `block (2 levels) in index'
293
+ app/controllers/home_controller.rb:3:in `index'
294
+
295
+
296
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.3ms)
297
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
298
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.7ms)
299
+
300
+
301
+ Started GET "/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:05:22 +0000
302
+
303
+ ActionController::RoutingError (No route matches [GET] "/table_column_widths.pdf"):
304
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
305
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
306
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
307
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
308
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
309
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
310
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
311
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
312
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
313
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
314
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
315
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
316
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
317
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
318
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
319
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
320
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
321
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
322
+
323
+
324
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.2ms)
325
+
326
+
327
+ Started GET "/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:07:04 +0000
328
+
329
+ ActionController::RoutingError (uninitialized constant TableColumnWidthsController):
330
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:229:in `block in constantize'
331
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `each'
332
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `constantize'
333
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:63:in `controller_reference'
334
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:48:in `controller'
335
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:26:in `call'
336
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
337
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
338
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
339
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
340
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
341
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
342
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
343
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
344
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
345
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
346
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
347
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
348
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
349
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
350
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
351
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
352
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__1548882505435786640__call__1449930980910429071__callbacks'
353
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
354
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
355
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
356
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
357
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
358
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
359
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
360
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
361
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
362
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
363
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
364
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
365
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
366
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
367
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
368
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
369
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
370
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
371
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
372
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
373
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
374
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
375
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
376
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
377
+
378
+
379
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
380
+
381
+
382
+ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:07:19 +0000
383
+ Processing by HomeController#table_column_widths as PDF
384
+ Completed 500 Internal Server Error in 1ms
385
+
386
+ ArgumentError (too few arguments):
387
+ app/controllers/home_controller.rb:15:in `format'
388
+ app/controllers/home_controller.rb:15:in `table_column_widths'
389
+
390
+
391
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
392
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
393
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.1ms)
394
+
395
+
396
+ Started GET "/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:07:33 +0000
397
+
398
+ ActionController::RoutingError (uninitialized constant TableColumnWidthsController):
399
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:229:in `block in constantize'
400
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `each'
401
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `constantize'
402
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:63:in `controller_reference'
403
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:48:in `controller'
404
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:26:in `call'
405
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
406
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
407
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
408
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
409
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
410
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
411
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
412
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
413
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
414
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
415
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
416
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
417
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
418
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
419
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
420
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
421
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__407083206774235219__call__4544174408050096897__callbacks'
422
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
423
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
424
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
425
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
426
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
427
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
428
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
429
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
430
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
431
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
432
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
433
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
434
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
435
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
436
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
437
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
438
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
439
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
440
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
441
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
442
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
443
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
444
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
445
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
446
+
447
+
448
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.6ms)
449
+
450
+
451
+ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:08:15 +0000
452
+ Processing by HomeController#table_column_widths as PDF
453
+ Completed 500 Internal Server Error in 1ms
454
+
455
+ ArgumentError (too few arguments):
456
+ app/controllers/home_controller.rb:15:in `format'
457
+ app/controllers/home_controller.rb:15:in `table_column_widths'
458
+
459
+
460
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
461
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
462
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.3ms)
463
+
464
+
465
+ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:08:49 +0000
466
+ Processing by HomeController#table_column_widths as PDF
467
+ Completed 500 Internal Server Error in 22ms
468
+
469
+ NoMethodError (undefined method `pdf' for #<HomeController:0x007fc4e60a3d60>):
470
+ app/controllers/home_controller.rb:16:in `table_column_widths'
471
+
472
+
473
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.1ms)
474
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
475
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.6ms)
476
+
477
+
478
+ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:09:08 +0000
479
+ Processing by HomeController#table_column_widths as PDF
480
+ Rendered home/table_column_widths.pdf.prawn (82.6ms)
481
+ Completed 200 OK in 114ms (Views: 114.1ms | ActiveRecord: 0.0ms)
482
+
483
+
484
+ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:09:46 +0000
485
+ Processing by HomeController#table_column_widths as PDF
486
+ Rendered home/table_column_widths.pdf.prawn (98.1ms)
487
+ Completed 200 OK in 101ms (Views: 100.8ms | ActiveRecord: 0.0ms)
488
+
489
+
490
+ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:10:57 +0000
491
+ Processing by HomeController#table_column_widths as PDF
492
+ Rendered home/table_column_widths.pdf.prawn (163.6ms)
493
+ Completed 500 Internal Server Error in 166ms
494
+
495
+ ActionView::Template::Error (undefined local variable or method `data' for #<#<Class:0x007fc4e60b0df8>:0x007fc4e39047f0>):
496
+ 1: pdf.text "Prawn trying to guess the column widths"
497
+ 2: pdf.table(data)
498
+ 3: pdf.move_down 20
499
+ 4:
500
+ 5: pdf.text "Manually setting all the column widths"
501
+ 6: pdf.table(data, :column_widths => [100, 200, 240])
502
+ 7: pdf.move_down 20
503
+ app/views/home/table_column_widths.pdf.prawn:4:in `block in _app_views_home_table_column_widths_pdf_prawn___31777954482963630_70241804082380'
504
+ app/views/home/table_column_widths.pdf.prawn:2:in `_app_views_home_table_column_widths_pdf_prawn___31777954482963630_70241804082380'
505
+ app/controllers/home_controller.rb:18:in `table_column_widths'
506
+
507
+
508
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms)
509
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
510
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.9ms)
511
+
512
+
513
+ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:11:11 +0000
514
+ Processing by HomeController#table_column_widths as PDF
515
+ Rendered home/table_column_widths.pdf.prawn (108.1ms)
516
+ Completed 200 OK in 111ms (Views: 110.7ms | ActiveRecord: 0.0ms)
517
+
518
+
519
+ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:12:49 +0000
520
+ Processing by HomeController#table_column_widths as PDF
521
+ Rendered home/table_column_widths.pdf.prawn (150.3ms)
522
+ Completed 200 OK in 153ms (Views: 152.7ms | ActiveRecord: 0.0ms)
523
+
524
+
525
+ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:12:57 +0000
526
+ Processing by HomeController#table_column_widths as PDF
527
+ Completed 500 Internal Server Error in 2ms
528
+
529
+ ActionView::MissingTemplate (Missing template home/pdf, application/pdf with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder, :prawn]}. Searched in:
530
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
531
+ ):
532
+ app/controllers/home_controller.rb:23:in `table_column_widths'
533
+
534
+
535
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
536
+
537
+
538
+ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:13:45 +0000
539
+ Processing by HomeController#table_column_widths as PDF
540
+ Rendered home/table_column_widths.pdf.prawn (119.9ms)
541
+ Completed 200 OK in 123ms (Views: 122.6ms | ActiveRecord: 0.0ms)