prawn-rails 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +7 -0
  2. data/README.markdown +19 -7
  3. data/lib/prawn-rails.rb +2 -0
  4. data/lib/prawn-rails/config.rb +20 -0
  5. data/lib/prawn-rails/document.rb +21 -0
  6. data/lib/prawn-rails/engine.rb +8 -3
  7. data/lib/prawn-rails/prawn_rails_helper.rb +3 -4
  8. data/lib/prawn-rails/renderer.rb +17 -0
  9. data/lib/prawn-rails/version.rb +1 -1
  10. data/test/dummy/config/initializers/prawn-rails.rb +4 -0
  11. metadata +83 -121
  12. data/lib/prawn-rails/prawn_handler.rb +0 -17
  13. data/test/dummy/db/development.sqlite3 +0 -0
  14. data/test/dummy/db/test.sqlite3 +0 -0
  15. data/test/dummy/log/development.log +0 -2369
  16. data/test/dummy/log/test.log +0 -1302
  17. data/test/dummy/tmp/cache/assets/C1C/440/sprockets%2F327750d15e74b4631b7219847f00528a +0 -374
  18. data/test/dummy/tmp/cache/assets/CAE/130/sprockets%2F5673d456292004d3af77fbb34191a3d9 +0 -377
  19. data/test/dummy/tmp/cache/assets/CFF/990/sprockets%2F7cc4697a647f5ef443f0855f8831f7a9 +0 -0
  20. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  21. data/test/dummy/tmp/cache/assets/D43/620/sprockets%2Ff65e4a70390755ca5c1aeb1d7c596e47 +0 -9271
  22. data/test/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  23. data/test/dummy/tmp/cache/assets/D6F/7F0/sprockets%2Fb93a9d8d60404a4c8a5f64e1c8ae4d44 +0 -0
  24. data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -9651
  25. data/test/dummy/tmp/cache/assets/DA1/220/sprockets%2F79ecb141dd3f168f83c4d3f1cf075b4d +0 -0
  26. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  27. data/test/dummy/tmp/cache/assets/E2F/1D0/sprockets%2Fa19e16cee5f9ddbfbb85e2b9dc2420b7 +0 -9268
  28. data/test/dummy/tmp/cache/assets/E3A/290/sprockets%2F8657bc1d0b7bacf9b7ce74a379fbdee6 +0 -0
@@ -1,1302 +0,0 @@
1
- Processing by PdfController#render_pdf as HTML
2
- Rendered pdf/render_pdf.pdf.prawn (69.4ms)
3
- Completed 200 OK in 85ms (Views: 84.7ms | ActiveRecord: 0.0ms)
4
- Processing by PdfController#render_pdf as HTML
5
- Rendered pdf/render_pdf.pdf.prawn (70.8ms)
6
- Completed 200 OK in 86ms (Views: 85.2ms | ActiveRecord: 0.0ms)
7
- Processing by PdfController#render_pdf as HTML
8
- Rendered pdf/render_pdf.pdf.prawn (69.3ms)
9
- Completed 200 OK in 85ms (Views: 84.2ms | ActiveRecord: 0.0ms)
10
- Processing by PdfController#render_pdf as HTML
11
- Rendered pdf/render_pdf.pdf.prawn (69.2ms)
12
- Completed 200 OK in 84ms (Views: 84.1ms | ActiveRecord: 0.0ms)
13
- Processing by PdfController#render_pdf as HTML
14
- Rendered pdf/render_pdf.pdf.prawn (69.1ms)
15
- Completed 200 OK in 85ms (Views: 84.3ms | ActiveRecord: 0.0ms)
16
- Processing by PdfController#render_pdf as HTML
17
- Rendered pdf/render_pdf.pdf.prawn (69.0ms)
18
- Completed 200 OK in 84ms (Views: 83.8ms | ActiveRecord: 0.0ms)
19
- Processing by PdfController#render_pdf as HTML
20
- Rendered pdf/render_pdf.pdf.prawn (68.4ms)
21
- Completed 200 OK in 84ms (Views: 83.9ms | ActiveRecord: 0.0ms)
22
- Processing by PdfController#render_pdf as HTML
23
- Rendered pdf/render_pdf.pdf.prawn (69.9ms)
24
- Completed 200 OK in 85ms (Views: 84.6ms | ActiveRecord: 0.0ms)
25
- Processing by PdfController#render_pdf as HTML
26
- Rendered pdf/render_pdf.pdf.prawn (72.6ms)
27
- Completed 200 OK in 88ms (Views: 87.5ms | ActiveRecord: 0.0ms)
28
- Processing by PdfController#render_pdf as HTML
29
- Rendered pdf/render_pdf.pdf.prawn (69.0ms)
30
- Completed 200 OK in 84ms (Views: 83.5ms | ActiveRecord: 0.0ms)
31
- Processing by PdfController#render_pdf as HTML
32
- Rendered pdf/render_pdf.pdf.prawn (68.7ms)
33
- Completed 200 OK in 84ms (Views: 83.4ms | ActiveRecord: 0.0ms)
34
- Processing by PdfController#render_pdf as HTML
35
- Rendered pdf/render_pdf.pdf.prawn (69.1ms)
36
- Completed 200 OK in 84ms (Views: 83.8ms | ActiveRecord: 0.0ms)
37
- Processing by PdfController#render_pdf as HTML
38
- Rendered pdf/render_pdf.pdf.prawn (69.3ms)
39
- Completed 200 OK in 84ms (Views: 83.9ms | ActiveRecord: 0.0ms)
40
- Processing by PdfController#render_pdf as HTML
41
- Rendered pdf/render_pdf.pdf.prawn (72.0ms)
42
- Completed 200 OK in 88ms (Views: 87.7ms | ActiveRecord: 0.0ms)
43
- Processing by PdfController#render_pdf as HTML
44
- Rendered pdf/render_pdf.pdf.prawn (70.1ms)
45
- Completed 200 OK in 85ms (Views: 84.7ms | ActiveRecord: 0.0ms)
46
- Processing by PdfController#render_pdf as HTML
47
- Rendered pdf/render_pdf.pdf.prawn (69.8ms)
48
- Completed 200 OK in 87ms (Views: 86.6ms | ActiveRecord: 0.0ms)
49
- Processing by PdfController#render_pdf as HTML
50
- Rendered pdf/render_pdf.pdf.prawn (69.9ms)
51
- Completed 200 OK in 84ms (Views: 83.4ms | ActiveRecord: 0.0ms)
52
- Processing by PdfController#render_pdf as HTML
53
- Rendered pdf/render_pdf.pdf.prawn (98.8ms)
54
- Completed 200 OK in 117ms (Views: 116.5ms | ActiveRecord: 0.0ms)
55
- Processing by PdfController#render_pdf as HTML
56
- Rendered pdf/render_pdf.pdf.prawn (68.9ms)
57
- Completed 200 OK in 84ms (Views: 83.9ms | ActiveRecord: 0.0ms)
58
- Processing by PdfController#render_pdf as HTML
59
- Rendered pdf/render_pdf.pdf.prawn (70.1ms)
60
- Completed 200 OK in 84ms (Views: 83.9ms | ActiveRecord: 0.0ms)
61
- Processing by PdfController#render_pdf as HTML
62
- Rendered pdf/render_pdf.pdf.prawn (69.6ms)
63
- Completed 200 OK in 84ms (Views: 84.0ms | ActiveRecord: 0.0ms)
64
- Processing by PdfController#render_pdf as HTML
65
- Rendered pdf/render_pdf.pdf.prawn (70.0ms)
66
- Completed 200 OK in 84ms (Views: 83.8ms | ActiveRecord: 0.0ms)
67
- Processing by PdfController#render_pdf as HTML
68
- Rendered pdf/render_pdf.pdf.prawn (70.8ms)
69
- Completed 200 OK in 85ms (Views: 84.8ms | ActiveRecord: 0.0ms)
70
- Processing by PdfController#render_pdf as HTML
71
- Rendered pdf/render_pdf.pdf.prawn (70.7ms)
72
- Completed 200 OK in 85ms (Views: 84.7ms | ActiveRecord: 0.0ms)
73
- Processing by PdfController#render_pdf as HTML
74
- Rendered pdf/render_pdf.pdf.prawn (82.4ms)
75
- Completed 200 OK in 97ms (Views: 96.5ms | ActiveRecord: 0.0ms)
76
- Processing by PdfController#render_pdf as HTML
77
- Rendered pdf/render_pdf.pdf.prawn (70.9ms)
78
- Completed 200 OK in 86ms (Views: 85.2ms | ActiveRecord: 0.0ms)
79
- Processing by PdfController#render_pdf as HTML
80
- Rendered pdf/render_pdf.pdf.prawn (0.8ms)
81
- Completed 500 Internal Server Error in 15ms
82
- Processing by PdfController#render_pdf as HTML
83
- Rendered pdf/render_pdf.pdf.prawn (0.9ms)
84
- Completed 500 Internal Server Error in 15ms
85
- Processing by PdfController#render_pdf as HTML
86
- Rendered pdf/render_pdf.pdf.prawn (71.3ms)
87
- Completed 200 OK in 86ms (Views: 85.4ms | ActiveRecord: 0.0ms)
88
- Processing by PdfController#render_pdf as HTML
89
- Rendered pdf/render_pdf.pdf.prawn (69.9ms)
90
- Completed 200 OK in 84ms (Views: 83.8ms | ActiveRecord: 0.0ms)
91
- Processing by PdfController#render_pdf as HTML
92
- Rendered pdf/render_pdf.pdf.prawn (70.4ms)
93
- Completed 200 OK in 85ms (Views: 84.5ms | ActiveRecord: 0.0ms)
94
- Processing by PdfController#render_pdf as HTML
95
- Rendered pdf/render_pdf.pdf.prawn (70.2ms)
96
- Completed 200 OK in 84ms (Views: 84.1ms | ActiveRecord: 0.0ms)
97
- Processing by PdfController#render_pdf as HTML
98
- Rendered pdf/render_pdf.pdf.prawn (70.2ms)
99
- Completed 200 OK in 84ms (Views: 84.1ms | ActiveRecord: 0.0ms)
100
- Processing by PdfController#render_pdf as HTML
101
- Rendered pdf/render_pdf.pdf.prawn (70.0ms)
102
- Completed 200 OK in 84ms (Views: 83.8ms | ActiveRecord: 0.0ms)
103
- Processing by PdfController#render_pdf as HTML
104
- Rendered pdf/render_pdf.pdf.prawn (0.9ms)
105
- Completed 500 Internal Server Error in 15ms
106
- Processing by PdfController#render_pdf as HTML
107
- Rendered pdf/render_pdf.pdf.prawn (69.8ms)
108
- Completed 200 OK in 85ms (Views: 84.4ms | ActiveRecord: 0.0ms)
109
- Processing by PdfController#render_pdf as HTML
110
- Rendered pdf/render_pdf.pdf.prawn (43.0ms)
111
- Completed 500 Internal Server Error in 76ms
112
- Processing by PdfController#render_pdf as HTML
113
- ERROR: compiling _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175318760 RAISED compile error
114
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:2: syntax error, unexpected tCONSTANT, expecting kEND
115
- "text "Hello There :D"
116
- ^
117
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:3: syntax error, unexpected tIDENTIFIER, expecting kEND
118
- text "now it is here: #{cursor}"
119
- ^
120
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:3: syntax error, unexpected ':', expecting kEND
121
- text "now it is here: #{cursor}"
122
- ^
123
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:36: syntax error, unexpected '}', expecting kEND
124
- "};"+
125
- ^
126
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:37: syntax error, unexpected tIDENTIFIER, expecting kEND
127
- "pdf.render"
128
- ^
129
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:37: unterminated string meets end of file
130
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:37: syntax error, unexpected $end, expecting kEND
131
- Function body: def _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175318760(local_assigns, output_buffer)
132
- _old_virtual_path, @virtual_path = @virtual_path, "pdf/render_pdf.pdf";_old_output_buffer = @output_buffer;;"pdf=Prawn::Document.new {" +
133
- "text "Hello There :D"
134
- text "now it is here: #{cursor}"
135
- text "ITEMS ARE #{@items.inspect}"
136
- font("Courier") do
137
- text "Written in Courier because we are inside the block."
138
- end
139
-
140
- text "Let's see which is the current font_size: #{font_size.inspect}"
141
- move_down 10
142
- font_size 16
143
- text "Yeah, something bigger!"
144
- move_down 10
145
- font_size(25) { text "Even bigger!" }
146
- move_down 10
147
- text "Back to 16 again."
148
- move_down 10
149
- text "Single line on 20 using the :size option.", :size => 20
150
- move_down 10
151
- text "Back to 16 once more."
152
- move_down 10
153
- font("Courier", :size => 10) do
154
- text "Yeah, using Courier 10 courtesy of the font method."
155
- end
156
- font("Helvetica", :size => 12) # back to normal
157
-
158
- text "Default color is black"
159
- move_down 25
160
- text "Changed to red", :color => "FF0000"
161
- move_down 25
162
- text "CMYK color", :color => [22, 55, 79, 30]
163
- move_down 25
164
- text "Also works with <color rgb='ff0000'>inline</color> formatting", :color => "0000FF", :inline_format => true
165
-
166
- " +
167
- "};"+
168
- "pdf.render"
169
- ensure
170
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
171
- end
172
- Backtrace: /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:37:in `compile'
173
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!'
174
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `render'
175
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
176
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
177
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
178
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render'
179
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
180
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
181
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
182
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
183
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
184
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
185
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `render_template'
186
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
187
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
188
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `render'
189
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
190
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render'
191
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template'
192
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render'
193
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template'
194
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template'
195
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body'
196
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
197
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
198
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render'
199
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render'
200
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
201
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
202
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
203
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
204
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
205
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
206
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
207
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
208
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/controllers/pdf_controller.rb:5:in `render_pdf'
209
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
210
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
211
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
212
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
213
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `process_action'
214
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__602385578__process_action__2050297269__callbacks'
215
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `send'
216
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
217
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
218
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
219
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
220
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
221
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
222
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
223
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
224
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
225
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
226
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
227
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
228
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process'
229
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process'
230
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test'
231
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:449:in `process'
232
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:49:in `process'
233
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:365:in `get'
234
- /Users/cortiz/proyectos/prawn-rails/test/dummy/test/functional/pdf_controller_test.rb:5:in `test_should_get_a_pdf'
235
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
236
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
237
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:435:in `_run_setup_callbacks'
238
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
239
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
240
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
241
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
242
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
243
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
244
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
245
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
246
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
247
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
248
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
249
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
250
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
251
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
252
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
253
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit.rb:279
254
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:21
255
- Rendered pdf/render_pdf.pdf.prawn (0.6ms)
256
- Completed 500 Internal Server Error in 15ms
257
- Processing by PdfController#render_pdf as HTML
258
- Rendered pdf/render_pdf.pdf.prawn (40.8ms)
259
- Completed 500 Internal Server Error in 75ms
260
- Processing by PdfController#render_pdf as HTML
261
- Rendered pdf/render_pdf.pdf.prawn (1.9ms)
262
- Completed 500 Internal Server Error in 17ms
263
- Processing by PdfController#render_pdf as HTML
264
- Rendered pdf/render_pdf.pdf.prawn (1.6ms)
265
- Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms)
266
- Processing by PdfController#render_pdf as HTML
267
- Rendered pdf/render_pdf.pdf.prawn (1.5ms)
268
- Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms)
269
- Processing by PdfController#render_pdf as HTML
270
- Rendered pdf/render_pdf.pdf.prawn (76.1ms)
271
- Completed 200 OK in 90ms (Views: 90.1ms | ActiveRecord: 0.0ms)
272
- Processing by PdfController#render_pdf as HTML
273
- Rendered pdf/render_pdf.pdf.prawn (1.5ms)
274
- Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.0ms)
275
- Processing by PdfController#render_pdf as HTML
276
- Rendered pdf/render_pdf.pdf.prawn (1.5ms)
277
- Completed 200 OK in 17ms (Views: 16.6ms | ActiveRecord: 0.0ms)
278
- Processing by PdfController#render_pdf as HTML
279
- Rendered pdf/render_pdf.pdf.prawn (1.9ms)
280
- Completed 500 Internal Server Error in 17ms
281
- Processing by PdfController#render_pdf as HTML
282
- Rendered pdf/render_pdf.pdf.prawn (70.2ms)
283
- Completed 200 OK in 85ms (Views: 84.2ms | ActiveRecord: 0.0ms)
284
- Processing by PdfController#render_pdf as HTML
285
- ERROR: compiling _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317500 RAISED compile error
286
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:1: unknown type of %string
287
- ...t_buffer = @output_buffer;;%PDF-1.3
288
- ^
289
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:1: syntax error, unexpected $end, expecting kEND
290
- ...t_buffer = @output_buffer;;%PDF-1.3
291
- ^
292
- Function body: def _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317500(local_assigns, output_buffer)
293
- _old_virtual_path, @virtual_path = @virtual_path, "pdf/render_pdf.pdf";_old_output_buffer = @output_buffer;;%PDF-1.3
294
- %����
295
- 1 0 obj
296
- << /Producer <feff0050007200610077006e>
297
- /Creator <feff0050007200610077006e>
298
- >>
299
- endobj
300
- 2 0 obj
301
- << /Type /Catalog
302
- /Pages 3 0 R
303
- >>
304
- endobj
305
- 3 0 obj
306
- << /Count 1
307
- /Type /Pages
308
- /Kids [5 0 R]
309
- >>
310
- endobj
311
- 4 0 obj
312
- << /Length 4
313
- >>
314
- stream
315
- q
316
- Q
317
-
318
- endstream
319
- endobj
320
- 5 0 obj
321
- << /MediaBox [0 0 612.0 792.0]
322
- /Parent 3 0 R
323
- /Type /Page
324
- /Resources << /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
325
- >>
326
- /Contents 4 0 R
327
- >>
328
- endobj
329
- xref
330
- 0 6
331
- 0000000000 65535 f
332
- 0000000015 00000 n
333
- 0000000109 00000 n
334
- 0000000158 00000 n
335
- 0000000215 00000 n
336
- 0000000268 00000 n
337
- trailer
338
- << /Size 6
339
- /Info 1 0 R
340
- /Root 2 0 R
341
- >>
342
- startxref
343
- 422
344
- %%EOF
345
-
346
- ensure
347
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
348
- end
349
- Backtrace: /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:1:in `compile'
350
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!'
351
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `render'
352
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
353
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
354
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
355
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render'
356
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
357
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
358
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
359
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
360
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
361
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
362
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `render_template'
363
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
364
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
365
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `render'
366
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
367
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render'
368
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template'
369
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render'
370
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template'
371
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template'
372
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body'
373
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
374
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
375
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render'
376
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render'
377
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
378
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
379
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
380
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
381
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
382
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
383
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
384
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
385
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/controllers/pdf_controller.rb:5:in `render_pdf'
386
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
387
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
388
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
389
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
390
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `process_action'
391
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__602385578__process_action__2050297269__callbacks'
392
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `send'
393
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
394
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
395
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
396
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
397
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
398
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
399
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
400
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
401
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
402
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
403
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
404
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
405
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process'
406
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process'
407
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test'
408
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:449:in `process'
409
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:49:in `process'
410
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:365:in `get'
411
- /Users/cortiz/proyectos/prawn-rails/test/dummy/test/functional/pdf_controller_test.rb:5:in `test_should_get_a_pdf'
412
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
413
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
414
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:435:in `_run_setup_callbacks'
415
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
416
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
417
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
418
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
419
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
420
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
421
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
422
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
423
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
424
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
425
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
426
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
427
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
428
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
429
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
430
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit.rb:279
431
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:21
432
- Rendered pdf/render_pdf.pdf.prawn (2.1ms)
433
- Completed 500 Internal Server Error in 16ms
434
- Processing by PdfController#render_pdf as HTML
435
- Rendered pdf/render_pdf.pdf.prawn (1.9ms)
436
- Completed 500 Internal Server Error in 17ms
437
- Processing by PdfController#render_pdf as HTML
438
- Rendered pdf/render_pdf.pdf.prawn (71.3ms)
439
- Completed 200 OK in 86ms (Views: 85.7ms | ActiveRecord: 0.0ms)
440
- Processing by PdfController#render_pdf as HTML
441
- Rendered pdf/render_pdf.pdf.prawn (0.3ms)
442
- Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.0ms)
443
- Processing by PdfController#render_pdf as HTML
444
- Rendered pdf/render_pdf.pdf.prawn (0.3ms)
445
- Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
446
- Processing by PdfController#render_pdf as HTML
447
- Rendered pdf/render_pdf.pdf.prawn (0.3ms)
448
- Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms)
449
- Processing by PdfController#render_pdf as HTML
450
- Rendered pdf/render_pdf.pdf.prawn (0.3ms)
451
- Completed 200 OK in 14ms (Views: 14.1ms | ActiveRecord: 0.0ms)
452
- Processing by PdfController#render_pdf as HTML
453
- Rendered pdf/render_pdf.pdf.prawn (0.3ms)
454
- Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.0ms)
455
- Processing by PdfController#render_pdf as HTML
456
- Rendered pdf/render_pdf.pdf.prawn (0.4ms)
457
- Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms)
458
- Processing by PdfController#render_pdf as HTML
459
- Rendered pdf/render_pdf.pdf.prawn (13.2ms)
460
- Completed 200 OK in 34ms (Views: 33.3ms | ActiveRecord: 0.0ms)
461
- Processing by PdfController#render_pdf as HTML
462
- Rendered pdf/render_pdf.pdf.prawn (75.8ms)
463
- Completed 200 OK in 91ms (Views: 90.4ms | ActiveRecord: 0.0ms)
464
- Processing by PdfController#render_pdf as HTML
465
- Rendered pdf/render_pdf.pdf.prawn (72.2ms)
466
- Completed 200 OK in 86ms (Views: 86.1ms | ActiveRecord: 0.0ms)
467
- Processing by PdfController#render_pdf as HTML
468
- Rendered pdf/render_pdf.pdf.prawn (45.6ms)
469
- Completed 500 Internal Server Error in 80ms
470
- Processing by PdfController#render_pdf as HTML
471
- Rendered pdf/render_pdf.pdf.prawn (44.8ms)
472
- Completed 500 Internal Server Error in 80ms
473
- Processing by PdfController#render_pdf as HTML
474
- Rendered pdf/render_pdf.pdf.prawn (46.9ms)
475
- Completed 500 Internal Server Error in 90ms
476
- Processing by PdfController#render_pdf as HTML
477
- Rendered pdf/render_pdf.pdf.prawn (0.4ms)
478
- Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)
479
- Processing by PdfController#render_pdf as HTML
480
- Rendered pdf/render_pdf.pdf.prawn (48.3ms)
481
- Completed 200 OK in 63ms (Views: 62.2ms | ActiveRecord: 0.0ms)
482
- Processing by PdfController#render_pdf as HTML
483
- ERROR: compiling _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317420 RAISED compile error
484
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:2: syntax error, unexpected kENSURE, expecting '}'
485
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:4: syntax error, unexpected kEND, expecting '}'
486
- Function body: def _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317420(local_assigns, output_buffer)
487
- _old_virtual_path, @virtual_path = @virtual_path, "pdf/render_pdf.pdf";_old_output_buffer = @output_buffer;;pdf=Prawn::Document.new{text %Q{nil};pdf.render
488
- ensure
489
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
490
- end
491
- Backtrace: /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:4:in `compile'
492
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!'
493
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `render'
494
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
495
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
496
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
497
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render'
498
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
499
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
500
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
501
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
502
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
503
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
504
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `render_template'
505
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
506
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
507
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `render'
508
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
509
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render'
510
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template'
511
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render'
512
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template'
513
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template'
514
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body'
515
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
516
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
517
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render'
518
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render'
519
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
520
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
521
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
522
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
523
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
524
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
525
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
526
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
527
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/controllers/pdf_controller.rb:5:in `render_pdf'
528
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
529
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
530
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
531
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
532
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `process_action'
533
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__602385578__process_action__2050297269__callbacks'
534
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `send'
535
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
536
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
537
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
538
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
539
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
540
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
541
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
542
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
543
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
544
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
545
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
546
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
547
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process'
548
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process'
549
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test'
550
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:449:in `process'
551
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:49:in `process'
552
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:365:in `get'
553
- /Users/cortiz/proyectos/prawn-rails/test/dummy/test/functional/pdf_controller_test.rb:5:in `test_should_get_a_pdf'
554
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
555
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
556
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:435:in `_run_setup_callbacks'
557
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
558
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
559
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
560
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
561
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
562
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
563
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
564
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
565
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
566
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
567
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
568
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
569
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
570
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
571
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
572
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit.rb:279
573
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:21
574
- Rendered pdf/render_pdf.pdf.prawn (0.5ms)
575
- Completed 500 Internal Server Error in 15ms
576
- Processing by PdfController#render_pdf as HTML
577
- Rendered pdf/render_pdf.pdf.prawn (1.6ms)
578
- Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms)
579
- Processing by PdfController#render_pdf as HTML
580
- Rendered pdf/render_pdf.pdf.prawn (67.6ms)
581
- Completed 200 OK in 82ms (Views: 81.7ms | ActiveRecord: 0.0ms)
582
- Processing by PdfController#render_pdf as HTML
583
- Rendered pdf/render_pdf.pdf.prawn (1.6ms)
584
- Completed 200 OK in 17ms (Views: 16.9ms | ActiveRecord: 0.0ms)
585
- Processing by PdfController#render_pdf as HTML
586
- Rendered pdf/render_pdf.pdf.prawn (12.1ms)
587
- Completed 200 OK in 30ms (Views: 29.5ms | ActiveRecord: 0.0ms)
588
- Processing by PdfController#render_pdf as HTML
589
- Rendered pdf/render_pdf.pdf.prawn (1.9ms)
590
- Completed 500 Internal Server Error in 17ms
591
- Processing by PdfController#render_pdf as HTML
592
- Rendered pdf/render_pdf.pdf.prawn (68.5ms)
593
- Completed 200 OK in 83ms (Views: 82.4ms | ActiveRecord: 0.0ms)
594
- Processing by PdfController#render_pdf as HTML
595
- ERROR: compiling _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317400 RAISED compile error
596
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:1: syntax error, unexpected '}', expecting kEND
597
- ...ment.new{%Q{template.source}}};pdf.render
598
- ^
599
- Function body: def _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317400(local_assigns, output_buffer)
600
- _old_virtual_path, @virtual_path = @virtual_path, "pdf/render_pdf.pdf";_old_output_buffer = @output_buffer;;pdf=Prawn::Document.new{%Q{template.source}}};pdf.render
601
- ensure
602
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
603
- end
604
- Backtrace: /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:4:in `compile'
605
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!'
606
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `render'
607
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
608
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
609
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
610
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render'
611
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
612
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
613
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
614
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
615
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
616
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
617
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `render_template'
618
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
619
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
620
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `render'
621
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
622
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render'
623
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template'
624
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render'
625
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template'
626
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template'
627
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body'
628
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
629
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
630
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render'
631
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render'
632
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
633
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
634
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
635
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
636
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
637
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
638
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
639
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
640
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/controllers/pdf_controller.rb:5:in `render_pdf'
641
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
642
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
643
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
644
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
645
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `process_action'
646
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__602385578__process_action__2050297269__callbacks'
647
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `send'
648
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
649
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
650
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
651
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
652
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
653
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
654
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
655
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
656
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
657
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
658
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
659
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
660
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process'
661
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process'
662
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test'
663
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:449:in `process'
664
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:49:in `process'
665
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:365:in `get'
666
- /Users/cortiz/proyectos/prawn-rails/test/dummy/test/functional/pdf_controller_test.rb:5:in `test_should_get_a_pdf'
667
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
668
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
669
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:435:in `_run_setup_callbacks'
670
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
671
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
672
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
673
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
674
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
675
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
676
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
677
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
678
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
679
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
680
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
681
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
682
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
683
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
684
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
685
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit.rb:279
686
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:21
687
- Rendered pdf/render_pdf.pdf.prawn (0.5ms)
688
- Completed 500 Internal Server Error in 15ms
689
- Processing by PdfController#render_pdf as HTML
690
- ERROR: compiling _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317400 RAISED compile error
691
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:1: syntax error, unexpected '}', expecting kEND
692
- ...put_buffer = @output_buffer;;};pdf.render
693
- ^
694
- Function body: def _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317400(local_assigns, output_buffer)
695
- _old_virtual_path, @virtual_path = @virtual_path, "pdf/render_pdf.pdf";_old_output_buffer = @output_buffer;;};pdf.render
696
- ensure
697
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
698
- end
699
- Backtrace: /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:4:in `compile'
700
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!'
701
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `render'
702
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
703
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
704
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
705
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render'
706
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
707
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
708
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
709
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
710
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
711
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
712
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `render_template'
713
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
714
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
715
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `render'
716
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
717
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render'
718
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template'
719
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render'
720
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template'
721
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template'
722
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body'
723
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
724
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
725
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render'
726
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render'
727
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
728
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
729
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
730
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
731
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
732
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
733
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
734
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
735
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/controllers/pdf_controller.rb:5:in `render_pdf'
736
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
737
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
738
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
739
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
740
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `process_action'
741
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__602385578__process_action__2050297269__callbacks'
742
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `send'
743
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
744
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
745
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
746
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
747
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
748
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
749
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
750
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
751
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
752
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
753
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
754
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
755
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process'
756
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process'
757
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test'
758
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:449:in `process'
759
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:49:in `process'
760
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:365:in `get'
761
- /Users/cortiz/proyectos/prawn-rails/test/dummy/test/functional/pdf_controller_test.rb:5:in `test_should_get_a_pdf'
762
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
763
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
764
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:435:in `_run_setup_callbacks'
765
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
766
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
767
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
768
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
769
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
770
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
771
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
772
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
773
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
774
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
775
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
776
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
777
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
778
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
779
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
780
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit.rb:279
781
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:21
782
- Rendered pdf/render_pdf.pdf.prawn (0.5ms)
783
- Completed 500 Internal Server Error in 15ms
784
- Processing by PdfController#render_pdf as HTML
785
- ERROR: compiling _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317400 RAISED compile error
786
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:2: syntax error, unexpected kENSURE, expecting $end
787
- Function body: def _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317400(local_assigns, output_buffer)
788
- _old_virtual_path, @virtual_path = @virtual_path, "pdf/render_pdf.pdf";_old_output_buffer = @output_buffer;;end;pdf.render;
789
- ensure
790
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
791
- end
792
- Backtrace: /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:2:in `compile'
793
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!'
794
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `render'
795
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
796
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
797
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
798
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render'
799
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
800
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
801
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
802
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
803
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
804
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
805
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `render_template'
806
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
807
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
808
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `render'
809
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
810
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render'
811
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template'
812
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render'
813
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template'
814
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template'
815
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body'
816
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
817
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
818
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render'
819
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render'
820
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
821
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
822
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
823
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
824
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
825
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
826
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
827
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
828
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/controllers/pdf_controller.rb:5:in `render_pdf'
829
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
830
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
831
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
832
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
833
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `process_action'
834
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__602385578__process_action__2050297269__callbacks'
835
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `send'
836
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
837
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
838
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
839
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
840
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
841
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
842
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
843
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
844
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
845
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
846
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
847
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
848
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process'
849
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process'
850
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test'
851
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:449:in `process'
852
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:49:in `process'
853
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:365:in `get'
854
- /Users/cortiz/proyectos/prawn-rails/test/dummy/test/functional/pdf_controller_test.rb:5:in `test_should_get_a_pdf'
855
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
856
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
857
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:435:in `_run_setup_callbacks'
858
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
859
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
860
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
861
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
862
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
863
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
864
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
865
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
866
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
867
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
868
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
869
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
870
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
871
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
872
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
873
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit.rb:279
874
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:21
875
- Rendered pdf/render_pdf.pdf.prawn (0.5ms)
876
- Completed 500 Internal Server Error in 15ms
877
- Processing by PdfController#render_pdf as HTML
878
- ERROR: compiling _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317400 RAISED compile error
879
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:2: syntax error, unexpected kENSURE, expecting $end
880
- Function body: def _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317400(local_assigns, output_buffer)
881
- _old_virtual_path, @virtual_path = @virtual_path, "pdf/render_pdf.pdf";_old_output_buffer = @output_buffer;;;end;pdf.render;
882
- ensure
883
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
884
- end
885
- Backtrace: /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:2:in `compile'
886
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!'
887
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `render'
888
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
889
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
890
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
891
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render'
892
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
893
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
894
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
895
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
896
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
897
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
898
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `render_template'
899
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
900
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
901
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `render'
902
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
903
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render'
904
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template'
905
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render'
906
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template'
907
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template'
908
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body'
909
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
910
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
911
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render'
912
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render'
913
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
914
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
915
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
916
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
917
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
918
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
919
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
920
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
921
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/controllers/pdf_controller.rb:5:in `render_pdf'
922
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
923
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
924
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
925
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
926
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `process_action'
927
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__602385578__process_action__2050297269__callbacks'
928
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `send'
929
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
930
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
931
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
932
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
933
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
934
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
935
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
936
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
937
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
938
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
939
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
940
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
941
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process'
942
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process'
943
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test'
944
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:449:in `process'
945
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:49:in `process'
946
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:365:in `get'
947
- /Users/cortiz/proyectos/prawn-rails/test/dummy/test/functional/pdf_controller_test.rb:5:in `test_should_get_a_pdf'
948
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
949
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
950
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:435:in `_run_setup_callbacks'
951
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
952
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
953
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
954
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
955
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
956
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
957
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
958
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
959
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
960
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
961
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
962
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
963
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
964
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
965
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
966
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit.rb:279
967
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:21
968
- Rendered pdf/render_pdf.pdf.prawn (0.5ms)
969
- Completed 500 Internal Server Error in 15ms
970
- Processing by PdfController#render_pdf as HTML
971
- Rendered pdf/render_pdf.pdf.prawn (67.4ms)
972
- Completed 200 OK in 83ms (Views: 83.1ms | ActiveRecord: 0.0ms)
973
- Processing by PdfController#render_pdf as HTML
974
- Rendered pdf/render_pdf.pdf.prawn (67.1ms)
975
- Completed 500 Internal Server Error in 82ms
976
- Processing by PdfController#render_pdf as HTML
977
- Rendered pdf/render_pdf.pdf.prawn (42.6ms)
978
- Completed 500 Internal Server Error in 77ms
979
- Processing by PdfController#render_pdf as HTML
980
- Rendered pdf/render_pdf.pdf.prawn (94.5ms)
981
- Completed 500 Internal Server Error in 190ms
982
- Processing by PdfController#render_pdf as HTML
983
- Rendered pdf/render_pdf.pdf.prawn (68.2ms)
984
- Completed 200 OK in 83ms (Views: 82.6ms | ActiveRecord: 0.0ms)
985
- Processing by PdfController#render_pdf as HTML
986
- ERROR: compiling _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317400 RAISED compile error
987
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:1: syntax error, unexpected tSTRING_BEG, expecting kDO or '{' or '('
988
- ...:Prawn::Document.new();{text "Hello There :D"
989
- ^
990
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:34: syntax error, unexpected '}', expecting kEND
991
- };self.output_buffer = pdf.render;
992
- ^
993
- Function body: def _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175317400(local_assigns, output_buffer)
994
- _old_virtual_path, @virtual_path = @virtual_path, "pdf/render_pdf.pdf";_old_output_buffer = @output_buffer;;pdf = ::Prawn::Document.new();{text "Hello There :D"
995
- text "now it is here: #{cursor}"
996
- text "ITems are #{@items.inspect}"
997
- font("Courier") do
998
- text "Written in Courier because we are inside the block."
999
- end
1000
-
1001
- text "Let's see which is the current font_size: #{font_size.inspect}"
1002
- move_down 10
1003
- font_size 16
1004
- text "Yeah, something bigger!"
1005
- move_down 10
1006
- font_size(25) { text "Even bigger!" }
1007
- move_down 10
1008
- text "Back to 16 again."
1009
- move_down 10
1010
- text "Single line on 20 using the :size option.", :size => 20
1011
- move_down 10
1012
- text "Back to 16 once more."
1013
- move_down 10
1014
- font("Courier", :size => 10) do
1015
- text "Yeah, using Courier 10 courtesy of the font method."
1016
- end
1017
- font("Helvetica", :size => 12) # back to normal
1018
-
1019
- text "Default color is black"
1020
- move_down 25
1021
- text "Changed to red", :color => "FF0000"
1022
- move_down 25
1023
- text "CMYK color", :color => [22, 55, 79, 30]
1024
- move_down 25
1025
- text "Also works with <color rgb='ff0000'>inline</color> formatting", :color => "0000FF", :inline_format => true
1026
-
1027
- };self.output_buffer = pdf.render;
1028
- ensure
1029
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
1030
- end
1031
- Backtrace: /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:37:in `compile'
1032
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!'
1033
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `render'
1034
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1035
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1036
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1037
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render'
1038
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
1039
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
1040
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1041
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1042
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1043
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
1044
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `render_template'
1045
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
1046
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
1047
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `render'
1048
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
1049
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render'
1050
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template'
1051
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render'
1052
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template'
1053
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template'
1054
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body'
1055
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
1056
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
1057
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render'
1058
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render'
1059
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
1060
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
1061
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
1062
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
1063
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
1064
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
1065
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
1066
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
1067
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/controllers/pdf_controller.rb:5:in `render_pdf'
1068
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1069
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1070
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
1071
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
1072
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `process_action'
1073
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__602385578__process_action__2050297269__callbacks'
1074
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `send'
1075
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
1076
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
1077
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
1078
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
1079
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
1080
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1081
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1082
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1083
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1084
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
1085
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
1086
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1087
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process'
1088
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process'
1089
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test'
1090
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:449:in `process'
1091
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:49:in `process'
1092
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:365:in `get'
1093
- /Users/cortiz/proyectos/prawn-rails/test/dummy/test/functional/pdf_controller_test.rb:5:in `test_should_get_a_pdf'
1094
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
1095
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
1096
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:435:in `_run_setup_callbacks'
1097
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
1098
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
1099
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
1100
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
1101
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
1102
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
1103
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
1104
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
1105
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
1106
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
1107
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
1108
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
1109
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
1110
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
1111
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
1112
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit.rb:279
1113
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:21
1114
- Rendered pdf/render_pdf.pdf.prawn (0.6ms)
1115
- Completed 500 Internal Server Error in 16ms
1116
- Processing by PdfController#render_pdf as HTML
1117
- Rendered pdf/render_pdf.pdf.prawn (74.5ms)
1118
- Completed 200 OK in 89ms (Views: 88.5ms | ActiveRecord: 0.0ms)
1119
- Processing by PdfController#render_pdf as HTML
1120
- Rendered pdf/render_pdf.pdf.prawn (96.0ms)
1121
- Completed 500 Internal Server Error in 193ms
1122
- Processing by PdfController#render_pdf as HTML
1123
- Rendered pdf/render_pdf.pdf.prawn (69.9ms)
1124
- Completed 200 OK in 84ms (Views: 84.1ms | ActiveRecord: 0.0ms)
1125
- Processing by PdfController#render_pdf as HTML
1126
- ERROR: compiling _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175318400 RAISED compile error
1127
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:1: dynamic constant assignment
1128
- ...sions << PrawnRailsHelperpdf = ::Prawn::Document.new();pdf.t...
1129
- ^
1130
- Function body: def _app_views_pdf_render_pdf_pdf_prawn___1941494209_2175318400(local_assigns, output_buffer)
1131
- _old_virtual_path, @virtual_path = @virtual_path, "pdf/render_pdf.pdf";_old_output_buffer = @output_buffer;;Prawn::Document.extensions << PrawnRailsHelperpdf = ::Prawn::Document.new();pdf.text "Hello There :D"
1132
- pdf.text "now it is here: #{pdf.cursor}"
1133
- pdf.text "ITems are #{@items.inspect}"
1134
- pdf.font("Courier") do
1135
- pdf.text "Written in Courier because we are inside the block."
1136
- end
1137
-
1138
- pdf.text "Let's see which is the current font_size: #{pdf.font_size.inspect}"
1139
- pdf.move_down 10
1140
- pdf.font_size 16
1141
- pdf.text "Yeah, something bigger!"
1142
- pdf.move_down 10
1143
- pdf.font_size(25) { pdf.text "Even bigger!" }
1144
- pdf.move_down 10
1145
- pdf.text "Back to 16 again."
1146
- pdf.move_down 10
1147
- pdf.text "Single line on 20 using the :size option.", :size => 20
1148
- pdf.move_down 10
1149
- pdf.text "Back to 16 once more."
1150
- pdf.move_down 10
1151
- pdf.font("Courier", :size => 10) do
1152
- pdf.text "Yeah, using Courier 10 courtesy of the font method."
1153
- end
1154
- pdf.font("Helvetica", :size => 12) # back to normal
1155
-
1156
- pdf.text "Default color is black"
1157
- pdf.move_down 25
1158
- pdf.text "Changed to red", :color => "FF0000"
1159
- pdf.move_down 25
1160
- pdf.text "CMYK color", :color => [22, 55, 79, 30]
1161
- pdf.move_down 25
1162
- pdf.text "Also works with <color rgb='ff0000'>inline</color> formatting", :color => "0000FF", :inline_format => true
1163
- ;self.output_buffer=pdf.render;
1164
- ensure
1165
- @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
1166
- end
1167
- Backtrace: /Users/cortiz/proyectos/prawn-rails/test/dummy/app/views/pdf/render_pdf.pdf.prawn:36:in `compile'
1168
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!'
1169
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `render'
1170
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1171
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1172
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1173
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render'
1174
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
1175
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
1176
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1177
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1178
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1179
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument'
1180
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `render_template'
1181
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout'
1182
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template'
1183
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `render'
1184
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats'
1185
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render'
1186
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template'
1187
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render'
1188
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template'
1189
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template'
1190
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body'
1191
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body'
1192
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body'
1193
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render'
1194
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render'
1195
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
1196
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
1197
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
1198
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms'
1199
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `render'
1200
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
1201
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
1202
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render'
1203
- /Users/cortiz/proyectos/prawn-rails/test/dummy/app/controllers/pdf_controller.rb:5:in `render_pdf'
1204
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1205
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1206
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
1207
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
1208
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `process_action'
1209
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__602385578__process_action__2050297269__callbacks'
1210
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `send'
1211
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
1212
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
1213
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
1214
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
1215
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action'
1216
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1217
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1218
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
1219
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument'
1220
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
1221
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
1222
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1223
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process'
1224
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process'
1225
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test'
1226
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:449:in `process'
1227
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:49:in `process'
1228
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.1.3/lib/action_controller/test_case.rb:365:in `get'
1229
- /Users/cortiz/proyectos/prawn-rails/test/dummy/test/functional/pdf_controller_test.rb:5:in `test_should_get_a_pdf'
1230
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
1231
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
1232
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:435:in `_run_setup_callbacks'
1233
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `send'
1234
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
1235
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.1.3/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
1236
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
1237
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
1238
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
1239
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run'
1240
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each'
1241
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run'
1242
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite'
1243
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator'
1244
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start'
1245
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run'
1246
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run'
1247
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run'
1248
- /Users/cortiz/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/test/unit.rb:279
1249
- /Users/cortiz/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb:21
1250
- Rendered pdf/render_pdf.pdf.prawn (0.9ms)
1251
- Completed 500 Internal Server Error in 15ms
1252
- Processing by PdfController#render_pdf as HTML
1253
- Rendered pdf/render_pdf.pdf.prawn (85.7ms)
1254
- Completed 200 OK in 100ms (Views: 99.9ms | ActiveRecord: 0.0ms)
1255
- Processing by PdfController#render_pdf as HTML
1256
- Rendered pdf/render_pdf.pdf.prawn (97.1ms)
1257
- Completed 500 Internal Server Error in 193ms
1258
- Processing by PdfController#render_pdf as HTML
1259
- Rendered pdf/render_pdf.pdf.prawn (56.6ms)
1260
- Completed 500 Internal Server Error in 71ms
1261
- Processing by PdfController#render_pdf as HTML
1262
- Rendered pdf/render_pdf.pdf.prawn (42.7ms)
1263
- Completed 500 Internal Server Error in 76ms
1264
- Processing by PdfController#render_pdf as HTML
1265
- Rendered pdf/render_pdf.pdf.prawn (41.7ms)
1266
- Completed 500 Internal Server Error in 75ms
1267
- Processing by PdfController#render_pdf as HTML
1268
- Rendered pdf/render_pdf.pdf.prawn (1.5ms)
1269
- Completed 500 Internal Server Error in 16ms
1270
- Processing by PdfController#render_pdf as HTML
1271
- Rendered pdf/render_pdf.pdf.prawn (57.9ms)
1272
- Completed 500 Internal Server Error in 73ms
1273
- Processing by PdfController#render_pdf as HTML
1274
- Rendered pdf/render_pdf.pdf.prawn (156.6ms)
1275
- Completed 500 Internal Server Error in 190ms
1276
- Processing by PdfController#render_pdf as HTML
1277
- Rendered pdf/render_pdf.pdf.prawn (1.2ms)
1278
- Completed 500 Internal Server Error in 15ms
1279
- Processing by PdfController#render_pdf as HTML
1280
- Rendered pdf/render_pdf.pdf.prawn (55.9ms)
1281
- Completed 500 Internal Server Error in 70ms
1282
- Processing by PdfController#render_pdf as HTML
1283
- Rendered pdf/render_pdf.pdf.prawn (73.7ms)
1284
- Completed 200 OK in 89ms (Views: 88.5ms | ActiveRecord: 0.0ms)
1285
- Processing by PdfController#render_pdf as HTML
1286
- Rendered pdf/render_pdf.pdf.prawn (75.0ms)
1287
- Completed 200 OK in 89ms (Views: 89.1ms | ActiveRecord: 0.0ms)
1288
- Processing by PdfController#render_pdf as HTML
1289
- Rendered pdf/render_pdf.pdf.prawn (73.0ms)
1290
- Completed 200 OK in 102ms (Views: 101.2ms | ActiveRecord: 0.0ms)
1291
- Processing by PdfController#render_pdf as HTML
1292
- Rendered pdf/render_pdf.pdf.prawn (153.6ms)
1293
- Completed 200 OK in 172ms (Views: 171.3ms | ActiveRecord: 0.0ms)
1294
- Processing by PdfController#render_pdf as HTML
1295
- Rendered pdf/render_pdf.pdf.prawn (86.8ms)
1296
- Completed 200 OK in 103ms (Views: 102.4ms | ActiveRecord: 0.0ms)
1297
- Processing by PdfController#render_pdf as HTML
1298
- Rendered pdf/render_pdf.pdf.prawn (86.3ms)
1299
- Completed 200 OK in 102ms (Views: 102.0ms | ActiveRecord: 0.0ms)
1300
- Processing by PdfController#render_pdf as HTML
1301
- Rendered pdf/render_pdf.pdf.prawn (87.2ms)
1302
- Completed 200 OK in 103ms (Views: 102.6ms | ActiveRecord: 0.0ms)