gambas 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,70 @@
1
- = Gambas
2
1
 
3
- Produces inline PDF files via normal Rails views using the prawn library.
2
+ Gambas produces inline PDF files via normal Rails view templates using the prawn library. Use the pdf instance of `Prawn::Document` in the views to build your PDFs with the prawn's DSL.
4
3
 
5
4
  Check the test/dummy Rails app for examples.
6
5
 
7
6
 
8
- MIT Licence. rtsinani
7
+ ### Installation
8
+
9
+ ```shell
10
+ gem install gambas
11
+ ```
12
+
13
+ or add to your Gemfile
14
+
15
+ ```ruby
16
+ gem 'gambas'
17
+ ```
18
+
19
+ ### Usage
20
+
21
+ Create a view template e.g. `index.pdf.prawn` or `index.pdf.erb`. In the view you can use the `pdf` object to create the PDF document:
22
+
23
+ ```ruby
24
+ pdf.text "This is a line of text."
25
+ ```
26
+
27
+ adds a line of text into your PDF file.
28
+
29
+
30
+ In the index view add a branch to your `respond_to` block
31
+
32
+ ```ruby
33
+ format.pdf { render :pdf => :contents }
34
+ ```
35
+
36
+
37
+ ### Configuration
38
+
39
+ You can configure the defaults of the `Prawn::Document` by specifying a hash in your `config[environment].rb` files:
40
+
41
+ ```ruby
42
+ config.gambas_options = { :page_size => "TABLOID" }
43
+ ```
44
+
45
+ You can also configure single PDF documents, by passing an hash to `pdf_options`, such as metadata, page size, layout, etc.
46
+
47
+ ```ruby
48
+ respond_to do |format|
49
+ format.pdf do
50
+ render :pdf => :contents, :pdf_options => {
51
+ :page_size => [275, 326],
52
+ :info => {
53
+ :Title => "My title",
54
+ :Author => "John Doe",
55
+ :Subject => "My Subject",
56
+ :Keywords => "test metadata ruby pdf dry",
57
+ :Creator => "ACME Soft App",
58
+ :Producer => "Prawn",
59
+ :CreationDate => Time.now,
60
+ :Grok => "Test Property"
61
+ }
62
+ }
63
+ end
64
+ end
65
+ ```
66
+
67
+
68
+ ---
69
+
70
+ Copyright © 2012 Artan Sinani
@@ -1,26 +1,63 @@
1
1
  require "action_view/template"
2
2
  require "prawn"
3
3
 
4
- # Mime::Type.register "application/pdf", :pdf
5
-
6
- class PdfCreator
7
- def self.create
8
- pdf = Prawn::Document.new
9
- yield pdf
10
- pdf.render.html_safe
11
- end
4
+ ActionController::Renderers.add :pdf do |filename, options|
5
+ Gambas::PdfCreator.create (options[:pdf_options]) do |pdf|
6
+ eval render_to_string
7
+ end
12
8
  end
13
9
 
14
10
  module Gambas
15
- class PDF
16
- def self.call (template)
17
- %{
18
- PdfCreator.create do |pdf|
19
- #{template.source}
20
- end
21
- }
11
+ @options = {}
12
+
13
+ def self.options
14
+ @options
15
+ end
16
+
17
+ def self.configure (options)
18
+ @options = options
19
+ end
20
+
21
+ class PdfCreator
22
+ def self.create (options = nil)
23
+ pdf = pdf_document(options)
24
+ yield pdf
25
+ pdf.render.html_safe
22
26
  end
27
+
28
+ def self.pdf_document (options = nil)
29
+ _options = (Gambas.options || {}).merge(options || {})
30
+ Prawn::Document.new(_options)
31
+ end
32
+ end
33
+
34
+ class PDF
35
+ class_attribute :default_format
36
+ self.default_format = :pdf
37
+
38
+ def self.call (template)
39
+ return new.call(template)
40
+ end
41
+
42
+ # delegates to the default ERB handler to return the source as is
43
+ # this means that the instatiation of the Prawn::Document will happen
44
+ # in the renderer
45
+ def call (template)
46
+ handler = ActionView::Template.registered_template_handler("erb")
47
+ handler.call(template)
48
+ end
49
+
50
+ end
51
+
52
+ class Railtie < Rails::Railtie
53
+ config.gambas_options = ActiveSupport::OrderedOptions.new
54
+
55
+ initializer "gambas_options.configure" do |app|
56
+ Gambas.configure app.config.gambas_options
57
+ end
58
+
59
+ ActionView::Template.register_template_handler :prawn, Gambas::PDF
23
60
  end
24
61
  end
25
62
 
26
- ActionView::Template.register_template_handler :prawn, Gambas::PDF
63
+
@@ -1,3 +1,3 @@
1
1
  module Gambas
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,10 +1,22 @@
1
1
  class HomeController < ApplicationController
2
2
  def index
3
3
  respond_to do |format|
4
- # render :text => params.to_s
5
- # return
6
4
  format.html
7
- format.pdf { render_pdf }
5
+ format.pdf do
6
+ render :pdf => :contents, :pdf_options => {
7
+ :page_size => [275, 326],
8
+ :info => {
9
+ :Title => "My title",
10
+ :Author => "John Doe",
11
+ :Subject => "My Subject",
12
+ :Keywords => "test metadata ruby pdf dry",
13
+ :Creator => "ACME Soft App",
14
+ :Producer => "Prawn",
15
+ :CreationDate => Time.now,
16
+ :Grok => "Test Property"
17
+ }
18
+ }
19
+ end
8
20
  end
9
21
  end
10
22
 
@@ -23,6 +35,10 @@ class HomeController < ApplicationController
23
35
  render_pdf
24
36
  end
25
37
 
38
+ def page_size
39
+ @custom_size = [275, 326]
40
+ end
41
+
26
42
  def render_pdf
27
43
  render :pdf => :contents
28
44
  end
@@ -0,0 +1,9 @@
1
+ pdf.text "TABLOID portrait page set in config."
2
+
3
+ ["A4", "TABLOID", "B7", @custom_size].each do |size|
4
+ pdf.start_new_page(:size => size, :layout => :portrait)
5
+ pdf.text "#{size} portrait page."
6
+
7
+ pdf.start_new_page(:size => size, :layout => :landscape)
8
+ pdf.text "#{size} landscape page."
9
+ end
@@ -1,14 +1,3 @@
1
1
  pdf.text "Left:"
2
- pdf.table @data#, :position => :left
3
- pdf.move_down 10
4
-
5
- # pdf.text "Center:"
6
- # pdf.table data, :position => :center
7
- # pdf.move_down 10
8
- #
9
- # pdf.text "Right:"
10
- # pdf.table data, :position => :right
11
- # pdf.move_down 10
12
- #
13
- # pdf.text "100pt:"
14
- # pdf.table data, :position => 100
2
+ pdf.table @data
3
+ pdf.move_down 10
@@ -51,6 +51,9 @@ module Dummy
51
51
 
52
52
  # Version of your assets, change this if you want to expire all your assets
53
53
  config.assets.version = '1.0'
54
+
55
+ # Gambas
56
+ config.gambas_options = { :page_size => "TABLOID" }
54
57
  end
55
58
  end
56
59
 
@@ -34,4 +34,5 @@ Dummy::Application.configure do
34
34
 
35
35
  # Expands the lines which load the assets
36
36
  config.assets.debug = true
37
+
37
38
  end
@@ -539,3 +539,2666 @@ Started GET "/home/table_column_widths.pdf" for 127.0.0.1 at 2012-03-21 22:13:45
539
539
  Processing by HomeController#table_column_widths as PDF
540
540
  Rendered home/table_column_widths.pdf.prawn (119.9ms)
541
541
  Completed 200 OK in 123ms (Views: 122.6ms | ActiveRecord: 0.0ms)
542
+
543
+
544
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-27 23:34:12 +0100
545
+ Processing by HomeController#index as PDF
546
+ Rendered home/index.pdf.prawn (208.1ms)
547
+ Completed 200 OK in 244ms (Views: 242.8ms | ActiveRecord: 0.0ms)
548
+
549
+
550
+ Started GET "/page_size.pdf" for 127.0.0.1 at 2012-03-27 23:35:54 +0100
551
+
552
+ ActionController::RoutingError (No route matches [GET] "/page_size.pdf"):
553
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
554
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
555
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
556
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
557
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
558
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
559
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
560
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
561
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
562
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
563
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
564
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
565
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
566
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
567
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
568
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
569
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
570
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
571
+
572
+
573
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.0ms)
574
+
575
+
576
+ Started GET "/home/page_size.pdf" for 127.0.0.1 at 2012-03-27 23:36:29 +0100
577
+ Processing by HomeController#page_size as PDF
578
+ Completed 500 Internal Server Error in 7ms
579
+
580
+ ActionView::MissingTemplate (Missing template home/page_size, application/page_size with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder, :prawn]}. Searched in:
581
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
582
+ ):
583
+ actionpack (3.2.2) lib/action_view/path_set.rb:58:in `find'
584
+ actionpack (3.2.2) lib/action_view/lookup_context.rb:109:in `find'
585
+ actionpack (3.2.2) lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
586
+ actionpack (3.2.2) lib/action_view/renderer/template_renderer.rb:29:in `determine_template'
587
+ actionpack (3.2.2) lib/action_view/renderer/template_renderer.rb:10:in `render'
588
+ actionpack (3.2.2) lib/action_view/renderer/renderer.rb:36:in `render_template'
589
+ actionpack (3.2.2) lib/action_view/renderer/renderer.rb:17:in `render'
590
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:109:in `_render_template'
591
+ actionpack (3.2.2) lib/action_controller/metal/streaming.rb:225:in `_render_template'
592
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:103:in `render_to_body'
593
+ actionpack (3.2.2) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
594
+ actionpack (3.2.2) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
595
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:88:in `render'
596
+ actionpack (3.2.2) lib/action_controller/metal/rendering.rb:16:in `render'
597
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
598
+ activesupport (3.2.2) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
599
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
600
+ activesupport (3.2.2) lib/active_support/core_ext/benchmark.rb:5:in `ms'
601
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
602
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
603
+ activerecord (3.2.2) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
604
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:39:in `render'
605
+ actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
606
+ actionpack (3.2.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
607
+ actionpack (3.2.2) lib/abstract_controller/base.rb:167:in `process_action'
608
+ actionpack (3.2.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
609
+ actionpack (3.2.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
610
+ activesupport (3.2.2) lib/active_support/callbacks.rb:414:in `_run__3845606845451583161__process_action__595310152736932443__callbacks'
611
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
612
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
613
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
614
+ actionpack (3.2.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
615
+ actionpack (3.2.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
616
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
617
+ activesupport (3.2.2) lib/active_support/notifications.rb:123:in `block in instrument'
618
+ activesupport (3.2.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
619
+ activesupport (3.2.2) lib/active_support/notifications.rb:123:in `instrument'
620
+ actionpack (3.2.2) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
621
+ actionpack (3.2.2) lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
622
+ activerecord (3.2.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
623
+ actionpack (3.2.2) lib/abstract_controller/base.rb:121:in `process'
624
+ actionpack (3.2.2) lib/abstract_controller/rendering.rb:45:in `process'
625
+ actionpack (3.2.2) lib/action_controller/metal.rb:203:in `dispatch'
626
+ actionpack (3.2.2) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
627
+ actionpack (3.2.2) lib/action_controller/metal.rb:246:in `block in action'
628
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `call'
629
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
630
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:30:in `call'
631
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
632
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
633
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
634
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
635
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
636
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
637
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
638
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
639
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
640
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
641
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
642
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
643
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
644
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
645
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
646
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
647
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__1174483459407737794__call__3248509504913120123__callbacks'
648
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
649
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
650
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
651
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
652
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
653
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
654
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
655
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
656
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
657
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
658
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
659
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
660
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
661
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
662
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
663
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
664
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
665
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
666
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
667
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
668
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
669
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
670
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
671
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
672
+
673
+
674
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)
675
+
676
+
677
+ Started GET "/home/page_size.pdf" for 127.0.0.1 at 2012-03-27 23:36:52 +0100
678
+ Processing by HomeController#page_size as PDF
679
+ Rendered home/page_size.pdf.prawn (76.5ms)
680
+ Completed 200 OK in 79ms (Views: 78.5ms | ActiveRecord: 0.0ms)
681
+
682
+
683
+ Started GET "/home/page_size.pdf" for 127.0.0.1 at 2012-03-27 23:38:09 +0100
684
+ Processing by HomeController#page_size as PDF
685
+ Rendered home/page_size.pdf.prawn (103.4ms)
686
+ Completed 500 Internal Server Error in 106ms
687
+
688
+ ActionView::Template::Error (undefined local variable or method `df' for #<#<Class:0x007f9e53b9ef30>:0x007f9e53dc1e48>):
689
+ 4: p
690
+ 5: df.start_new_page(:size => size, :layout => :landscape)
691
+ 6: pdf.text "#{size} landscape page."
692
+ 7: end
693
+ app/views/home/page_size.pdf.prawn:7:in `block (2 levels) in _app_views_home_page_size_pdf_prawn___2103056494992427103_70158994244500'
694
+ app/views/home/page_size.pdf.prawn:3:in `each'
695
+ app/views/home/page_size.pdf.prawn:3:in `block in _app_views_home_page_size_pdf_prawn___2103056494992427103_70158994244500'
696
+ app/views/home/page_size.pdf.prawn:2:in `_app_views_home_page_size_pdf_prawn___2103056494992427103_70158994244500'
697
+
698
+
699
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
700
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
701
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.6ms)
702
+
703
+
704
+ Started GET "/home/page_size.pdf" for 127.0.0.1 at 2012-03-27 23:38:19 +0100
705
+ Processing by HomeController#page_size as PDF
706
+ Rendered home/page_size.pdf.prawn (113.5ms)
707
+ Completed 200 OK in 116ms (Views: 115.4ms | ActiveRecord: 0.0ms)
708
+
709
+
710
+ Started GET "/home/page_size.pdf" for 127.0.0.1 at 2012-03-27 23:39:36 +0100
711
+ Processing by HomeController#page_size as PDF
712
+ Rendered home/page_size.pdf.prawn (78.9ms)
713
+ Completed 200 OK in 82ms (Views: 81.2ms | ActiveRecord: 0.0ms)
714
+
715
+
716
+ Started GET "/home/page_size.pdf" for 127.0.0.1 at 2012-03-27 23:40:06 +0100
717
+ Processing by HomeController#page_size as PDF
718
+ Rendered home/page_size.pdf.prawn (85.2ms)
719
+ Completed 200 OK in 87ms (Views: 87.2ms | ActiveRecord: 0.0ms)
720
+
721
+
722
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-27 23:41:25 +0100
723
+ Processing by HomeController#table_content_and_subtables as PDF
724
+ Rendered home/table_content_and_subtables.pdf.prawn (158.5ms)
725
+ Completed 200 OK in 161ms (Views: 160.8ms | ActiveRecord: 0.0ms)
726
+
727
+
728
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-27 23:49:40 +0100
729
+ Processing by HomeController#table_content_and_subtables as PDF
730
+ Rendered home/table_content_and_subtables.pdf.prawn (106.9ms)
731
+ Completed 200 OK in 109ms (Views: 108.7ms | ActiveRecord: 0.0ms)
732
+
733
+
734
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-27 23:50:02 +0100
735
+ Processing by HomeController#table_content_and_subtables as PDF
736
+ Rendered home/table_content_and_subtables.pdf.prawn (123.7ms)
737
+ Completed 200 OK in 126ms (Views: 125.6ms | ActiveRecord: 0.0ms)
738
+
739
+
740
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-27 23:50:05 +0100
741
+ Processing by HomeController#table_content_and_subtables as PDF
742
+ Rendered home/table_content_and_subtables.pdf.prawn (146.8ms)
743
+ Completed 200 OK in 149ms (Views: 148.5ms | ActiveRecord: 0.0ms)
744
+
745
+
746
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-27 23:50:18 +0100
747
+ Processing by HomeController#table_content_and_subtables as PDF
748
+ Rendered home/table_content_and_subtables.pdf.prawn (132.4ms)
749
+ Completed 200 OK in 143ms (Views: 142.4ms | ActiveRecord: 0.0ms)
750
+
751
+
752
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-27 23:50:50 +0100
753
+ Processing by HomeController#table_content_and_subtables as PDF
754
+ Rendered home/table_content_and_subtables.pdf.prawn (128.7ms)
755
+ Completed 200 OK in 139ms (Views: 138.7ms | ActiveRecord: 0.0ms)
756
+
757
+
758
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:18:03 +0100
759
+ Processing by HomeController#table_content_and_subtables as PDF
760
+ Rendered home/table_content_and_subtables.pdf.prawn (33.4ms)
761
+ Completed 500 Internal Server Error in 56ms
762
+
763
+ ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::PdfCreator):
764
+ 1: cell_1 = pdf.make_cell(:content => "this row content comes directly ")
765
+ 2: cell_2 = pdf.make_cell(:content => "from cell objects")
766
+ 3: two_dimensional_array = [
767
+ 4: ["..."],
768
+ 5: ["subtable from an array"],
769
+ app/views/home/table_content_and_subtables.pdf.prawn:2:in `_app_views_home_table_content_and_subtables_pdf_prawn___3288688974234019321_70192469701440'
770
+
771
+
772
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
773
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
774
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (20.1ms)
775
+
776
+
777
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:19:54 +0100
778
+ Processing by HomeController#table_content_and_subtables as PDF
779
+ Rendered home/table_content_and_subtables.pdf.prawn (126.7ms)
780
+ Completed 200 OK in 137ms (Views: 136.9ms | ActiveRecord: 0.0ms)
781
+
782
+
783
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:29:01 +0100
784
+ Processing by HomeController#table_content_and_subtables as PDF
785
+ Rendered home/table_content_and_subtables.pdf.prawn (123.2ms)
786
+ Completed 200 OK in 133ms (Views: 132.6ms | ActiveRecord: 0.0ms)
787
+
788
+
789
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:49:40 +0100
790
+ Processing by HomeController#table_content_and_subtables as PDF
791
+ Rendered home/table_content_and_subtables.pdf.prawn (27.4ms)
792
+ Completed 200 OK in 38ms (Views: 37.6ms | ActiveRecord: 0.0ms)
793
+
794
+
795
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:50:33 +0100
796
+ Processing by HomeController#table_content_and_subtables as PDF
797
+ Rendered home/table_content_and_subtables.pdf.prawn (126.6ms)
798
+ Completed 200 OK in 139ms (Views: 138.1ms | ActiveRecord: 0.0ms)
799
+
800
+
801
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:51:56 +0100
802
+ Processing by HomeController#table_content_and_subtables as PDF
803
+ Rendered home/table_content_and_subtables.pdf.prawn (128.7ms)
804
+ Completed 200 OK in 138ms (Views: 138.0ms | ActiveRecord: 0.0ms)
805
+
806
+
807
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:52:50 +0100
808
+ Processing by HomeController#table_content_and_subtables as PDF
809
+ Rendered home/table_content_and_subtables.pdf.prawn (128.4ms)
810
+ Completed 200 OK in 138ms (Views: 137.9ms | ActiveRecord: 0.0ms)
811
+
812
+
813
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:53:26 +0100
814
+ Processing by HomeController#table_content_and_subtables as PDF
815
+ Rendered home/table_content_and_subtables.pdf.prawn (125.2ms)
816
+ Completed 200 OK in 135ms (Views: 134.6ms | ActiveRecord: 0.0ms)
817
+
818
+
819
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:53:58 +0100
820
+ Processing by HomeController#table_content_and_subtables as PDF
821
+ Rendered home/table_content_and_subtables.pdf.prawn (124.5ms)
822
+ Completed 200 OK in 136ms (Views: 135.8ms | ActiveRecord: 0.0ms)
823
+
824
+
825
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:54:18 +0100
826
+ Processing by HomeController#table_content_and_subtables as PDF
827
+ Rendered home/table_content_and_subtables.pdf.prawn (105.2ms)
828
+ Completed 500 Internal Server Error in 115ms
829
+
830
+ ActionView::Template::Error (Table's width was set too small to contain its contents (min width 216.064, requested 203)):
831
+ 14:
832
+ 15: pdf.table([
833
+ 16: ["just a regular row", "", "", "blah blah blah"],
834
+ 17: [cell_1, cell_2, "", ""],
835
+ 18: ["", "", two_dimensional_array, ""],
836
+ 19: ["just another regular row", "", "", ""],
837
+ 20: ["", "", inner_table, ""]
838
+ app/views/home/table_content_and_subtables.pdf.prawn:17:in `block in _app_views_home_table_content_and_subtables_pdf_prawn___1262702776636859960_70350057995760'
839
+ app/views/home/table_content_and_subtables.pdf.prawn:2:in `_app_views_home_table_content_and_subtables_pdf_prawn___1262702776636859960_70350057995760'
840
+
841
+
842
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms)
843
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
844
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.8ms)
845
+
846
+
847
+ Started GET "/home/table_content_and_subtables.pdf" for 127.0.0.1 at 2012-03-28 12:54:52 +0100
848
+ Processing by HomeController#table_content_and_subtables as PDF
849
+ Rendered home/table_content_and_subtables.pdf.prawn (125.0ms)
850
+ Completed 200 OK in 135ms (Views: 134.1ms | ActiveRecord: 0.0ms)
851
+
852
+
853
+ Started GET "/home/page_size.pdf" for 127.0.0.1 at 2012-03-28 12:55:33 +0100
854
+ Processing by HomeController#page_size as PDF
855
+ Rendered home/page_size.pdf.prawn (84.1ms)
856
+ Completed 200 OK in 87ms (Views: 86.2ms | ActiveRecord: 0.0ms)
857
+
858
+
859
+ Started GET "/home/page_size.pdf" for 127.0.0.1 at 2012-03-28 12:57:17 +0100
860
+ Processing by HomeController#page_size as PDF
861
+ Rendered home/page_size.pdf.prawn (103.6ms)
862
+ Completed 200 OK in 114ms (Views: 113.4ms | ActiveRecord: 0.0ms)
863
+
864
+
865
+ Started GET "/home/page_size.pdf" for 127.0.0.1 at 2012-03-29 14:41:25 +0100
866
+ Processing by HomeController#page_size as PDF
867
+ Rendered home/page_size.pdf.prawn (117.3ms)
868
+ Completed 200 OK in 160ms (Views: 159.2ms | ActiveRecord: 0.0ms)
869
+
870
+
871
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-29 14:41:49 +0100
872
+ Processing by HomeController#table_position as PDF
873
+ Rendered home/table_position.pdf.prawn (86.3ms)
874
+ Completed 200 OK in 100ms (Views: 99.5ms | ActiveRecord: 0.0ms)
875
+
876
+
877
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-29 14:42:33 +0100
878
+ Processing by HomeController#table_position as PDF
879
+ Rendered home/table_position.pdf.prawn (24.5ms)
880
+ Completed 500 Internal Server Error in 26ms
881
+
882
+ ActionView::Template::Error (undefined method `info=' for #<Prawn::Document:0x007fddf1ba5398>):
883
+ 1: pdf.info = { :Title => "Great title" }
884
+ 2: pdf.text "Left:"
885
+ 3: pdf.table @data#, :position => :left
886
+ 4: pdf.move_down 10
887
+ 5:
888
+ 6: # pdf.text "Center:"
889
+ app/views/home/table_position.pdf.prawn:3:in `block in _app_views_home_table_position_pdf_prawn__2029143071176212738_70295609169540'
890
+ app/views/home/table_position.pdf.prawn:2:in `_app_views_home_table_position_pdf_prawn__2029143071176212738_70295609169540'
891
+ app/controllers/home_controller.rb:29:in `render_pdf'
892
+ app/controllers/home_controller.rb:11:in `table_position'
893
+
894
+
895
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
896
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
897
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (20.3ms)
898
+
899
+
900
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-29 14:42:40 +0100
901
+ Processing by HomeController#table_position as PDF
902
+ ERROR: compiling _app_views_home_table_position_pdf_prawn__2029143071176212738_70295609401060 RAISED /Users/artansinani/ror/gambas/test/dummy/app/views/home/table_position.pdf.prawn:3: syntax error, unexpected tASSOC, expecting keyword_end
903
+ pdf.info => { :Title => "Great title" }
904
+ ^
905
+ Function body: def _app_views_home_table_position_pdf_prawn__2029143071176212738_70295609401060(local_assigns, output_buffer)
906
+ _old_virtual_path, @virtual_path = @virtual_path, "home/table_position";_old_output_buffer = @output_buffer;;
907
+ Gambas::PdfCreator.create do |pdf|
908
+ pdf.info => { :Title => "Great title" }
909
+ pdf.text "Left:"
910
+ pdf.table @data#, :position => :left
911
+ pdf.move_down 10
912
+
913
+ # pdf.text "Center:"
914
+ # pdf.table data, :position => :center
915
+ # pdf.move_down 10
916
+ #
917
+ # pdf.text "Right:"
918
+ # pdf.table data, :position => :right
919
+ # pdf.move_down 10
920
+ #
921
+ # pdf.text "100pt:"
922
+ # pdf.table data, :position => 100
923
+ end
924
+
925
+ ensure
926
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
927
+ end
928
+
929
+ Backtrace: /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `module_eval'
930
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `compile'
931
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:233:in `compile!'
932
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:142:in `block in render'
933
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:125:in `instrument'
934
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:141:in `render'
935
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:42:in `block (2 levels) in render_template'
936
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
937
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
938
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
939
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
940
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
941
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:41:in `block in render_template'
942
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:49:in `render_with_layout'
943
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
944
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:13:in `render'
945
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:36:in `render_template'
946
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:17:in `render'
947
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:109:in `_render_template'
948
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/streaming.rb:225:in `_render_template'
949
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:103:in `render_to_body'
950
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
951
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
952
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:88:in `render'
953
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:16:in `render'
954
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
955
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
956
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
957
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `ms'
958
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
959
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
960
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
961
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:39:in `render'
962
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:29:in `render_pdf'
963
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:11:in `table_position'
964
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
965
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:167:in `process_action'
966
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
967
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
968
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:414:in `_run__2469415866319309432__process_action__1071227095197173922__callbacks'
969
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
970
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
971
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
972
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
973
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
974
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
975
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
976
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
977
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
978
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
979
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
980
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
981
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:121:in `process'
982
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:45:in `process'
983
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:203:in `dispatch'
984
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
985
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:246:in `block in action'
986
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `call'
987
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
988
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:30:in `call'
989
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
990
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
991
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
992
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:594:in `call'
993
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
994
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
995
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
996
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/head.rb:14:in `call'
997
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
998
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/flash.rb:242:in `call'
999
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
1000
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
1001
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/cookies.rb:338:in `call'
1002
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/query_cache.rb:64:in `call'
1003
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
1004
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
1005
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `_run__2425762689282521717__call__1104908123418926956__callbacks'
1006
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
1007
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
1008
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
1009
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1010
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/reloader.rb:65:in `call'
1011
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
1012
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
1013
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
1014
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:26:in `call_app'
1015
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:16:in `call'
1016
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/request_id.rb:22:in `call'
1017
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
1018
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
1019
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
1020
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
1021
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/static.rb:61:in `call'
1022
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/engine.rb:479:in `call'
1023
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/application.rb:220:in `call'
1024
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
1025
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/log_tailer.rb:14:in `call'
1026
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
1027
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1028
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1029
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1030
+ Rendered home/table_position.pdf.prawn (0.7ms)
1031
+ Completed 500 Internal Server Error in 2ms
1032
+
1033
+ ActionView::Template::Error (/Users/artansinani/ror/gambas/test/dummy/app/views/home/table_position.pdf.prawn:3: syntax error, unexpected tASSOC, expecting keyword_end
1034
+ pdf.info => { :Title => "Great title" }
1035
+ ^):
1036
+ 1: pdf.info => { :Title => "Great title" }
1037
+ 2: pdf.text "Left:"
1038
+ 3: pdf.table @data#, :position => :left
1039
+ 4: pdf.move_down 10
1040
+ 5:
1041
+ 6: # pdf.text "Center:"
1042
+ app/controllers/home_controller.rb:29:in `render_pdf'
1043
+ app/controllers/home_controller.rb:11:in `table_position'
1044
+
1045
+
1046
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms)
1047
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1048
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.5ms)
1049
+
1050
+
1051
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-29 14:42:49 +0100
1052
+ Processing by HomeController#table_position as PDF
1053
+ ERROR: compiling _app_views_home_table_position_pdf_prawn__2029143071176212738_70295610529100 RAISED /Users/artansinani/ror/gambas/test/dummy/app/views/home/table_position.pdf.prawn:3: syntax error, unexpected tASSOC, expecting '}'
1054
+ pdf.info { :Title => "Great title" }
1055
+ ^
1056
+ Function body: def _app_views_home_table_position_pdf_prawn__2029143071176212738_70295610529100(local_assigns, output_buffer)
1057
+ _old_virtual_path, @virtual_path = @virtual_path, "home/table_position";_old_output_buffer = @output_buffer;;
1058
+ Gambas::PdfCreator.create do |pdf|
1059
+ pdf.info { :Title => "Great title" }
1060
+ pdf.text "Left:"
1061
+ pdf.table @data#, :position => :left
1062
+ pdf.move_down 10
1063
+
1064
+ # pdf.text "Center:"
1065
+ # pdf.table data, :position => :center
1066
+ # pdf.move_down 10
1067
+ #
1068
+ # pdf.text "Right:"
1069
+ # pdf.table data, :position => :right
1070
+ # pdf.move_down 10
1071
+ #
1072
+ # pdf.text "100pt:"
1073
+ # pdf.table data, :position => 100
1074
+ end
1075
+
1076
+ ensure
1077
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
1078
+ end
1079
+
1080
+ Backtrace: /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `module_eval'
1081
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `compile'
1082
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:233:in `compile!'
1083
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:142:in `block in render'
1084
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:125:in `instrument'
1085
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:141:in `render'
1086
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:42:in `block (2 levels) in render_template'
1087
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
1088
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
1089
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1090
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
1091
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
1092
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:41:in `block in render_template'
1093
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:49:in `render_with_layout'
1094
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
1095
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:13:in `render'
1096
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:36:in `render_template'
1097
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:17:in `render'
1098
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:109:in `_render_template'
1099
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/streaming.rb:225:in `_render_template'
1100
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:103:in `render_to_body'
1101
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
1102
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
1103
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:88:in `render'
1104
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:16:in `render'
1105
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
1106
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
1107
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
1108
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `ms'
1109
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
1110
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
1111
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
1112
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:39:in `render'
1113
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:29:in `render_pdf'
1114
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:11:in `table_position'
1115
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1116
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:167:in `process_action'
1117
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
1118
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
1119
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:414:in `_run__2469415866319309432__process_action__1071227095197173922__callbacks'
1120
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
1121
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
1122
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
1123
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
1124
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
1125
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
1126
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
1127
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1128
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
1129
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
1130
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
1131
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1132
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:121:in `process'
1133
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:45:in `process'
1134
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:203:in `dispatch'
1135
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
1136
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:246:in `block in action'
1137
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `call'
1138
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
1139
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:30:in `call'
1140
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
1141
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
1142
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
1143
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:594:in `call'
1144
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
1145
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
1146
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
1147
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/head.rb:14:in `call'
1148
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
1149
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/flash.rb:242:in `call'
1150
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
1151
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
1152
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/cookies.rb:338:in `call'
1153
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/query_cache.rb:64:in `call'
1154
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
1155
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
1156
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `_run__2425762689282521717__call__1104908123418926956__callbacks'
1157
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
1158
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
1159
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
1160
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1161
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/reloader.rb:65:in `call'
1162
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
1163
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
1164
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
1165
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:26:in `call_app'
1166
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:16:in `call'
1167
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/request_id.rb:22:in `call'
1168
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
1169
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
1170
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
1171
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
1172
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/static.rb:61:in `call'
1173
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/engine.rb:479:in `call'
1174
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/application.rb:220:in `call'
1175
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
1176
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/log_tailer.rb:14:in `call'
1177
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
1178
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1179
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1180
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1181
+ Rendered home/table_position.pdf.prawn (1.0ms)
1182
+ Completed 500 Internal Server Error in 3ms
1183
+
1184
+ ActionView::Template::Error (/Users/artansinani/ror/gambas/test/dummy/app/views/home/table_position.pdf.prawn:3: syntax error, unexpected tASSOC, expecting '}'
1185
+ pdf.info { :Title => "Great title" }
1186
+ ^):
1187
+ 1: pdf.info { :Title => "Great title" }
1188
+ 2: pdf.text "Left:"
1189
+ 3: pdf.table @data#, :position => :left
1190
+ 4: pdf.move_down 10
1191
+ 5:
1192
+ 6: # pdf.text "Center:"
1193
+ app/controllers/home_controller.rb:29:in `render_pdf'
1194
+ app/controllers/home_controller.rb:11:in `table_position'
1195
+
1196
+
1197
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
1198
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1199
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.8ms)
1200
+
1201
+
1202
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-29 23:48:29 +0100
1203
+ Processing by HomeController#table_position as PDF
1204
+ Rendered home/table_position.pdf.prawn (0.4ms)
1205
+ Completed 200 OK in 32ms (Views: 31.2ms | ActiveRecord: 0.0ms)
1206
+
1207
+
1208
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-29 23:49:44 +0100
1209
+ Processing by HomeController#table_position as PDF
1210
+ Rendered home/table_position.pdf.prawn (51.8ms)
1211
+ Completed 200 OK in 62ms (Views: 61.2ms | ActiveRecord: 0.0ms)
1212
+
1213
+
1214
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-30 00:30:32 +0100
1215
+ Processing by HomeController#table_position as PDF
1216
+ Rendered text template (0.0ms)
1217
+ Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
1218
+
1219
+
1220
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-30 00:32:17 +0100
1221
+ Processing by HomeController#table_position as PDF
1222
+ Rendered text template (0.0ms)
1223
+ Sent data contents.pdf (9.5ms)
1224
+ Completed 200 OK in 87ms (Views: 86.7ms | ActiveRecord: 0.0ms)
1225
+
1226
+
1227
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-30 00:33:36 +0100
1228
+ Processing by HomeController#table_position as PDF
1229
+ Completed 500 Internal Server Error in 100ms
1230
+
1231
+ ActionView::MissingTemplate (Missing template %PDF-1.3
1232
+ %����
1233
+ 1 0 obj
1234
+ << /Creator <feff0050007200610077006e>
1235
+ /Producer <feff0050007200610077006e>
1236
+ >>
1237
+ endobj
1238
+ 2 0 obj
1239
+ << /Type /Catalog
1240
+ /Pages 3 0 R
1241
+ >>
1242
+ endobj
1243
+ 3 0 obj
1244
+ << /Type /Pages
1245
+ /Count 1
1246
+ /Kids [5 0 R]
1247
+ >>
1248
+ endobj
1249
+ 4 0 obj
1250
+ << /Length 67
1251
+ >>
1252
+ stream
1253
+ q
1254
+
1255
+ BT
1256
+ 36 747.384 Td
1257
+ /F1.0 12 Tf
1258
+ [<54> 120 <657374696e67>] TJ
1259
+ ET
1260
+
1261
+ Q
1262
+
1263
+ endstream
1264
+ endobj
1265
+ 5 0 obj
1266
+ << /Type /Page
1267
+ /Parent 3 0 R
1268
+ /MediaBox [0 0 612.0 792.0]
1269
+ /Contents 4 0 R
1270
+ /Resources << /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
1271
+ /Font << /F1.0 6 0 R
1272
+ >>
1273
+ >>
1274
+ >>
1275
+ endobj
1276
+ 6 0 obj
1277
+ << /Type /Font
1278
+ /Subtype /Type1
1279
+ /BaseFont /Helvetica
1280
+ /Encoding /WinAnsiEncoding
1281
+ >>
1282
+ endobj
1283
+ xref
1284
+ 0 7
1285
+ 0000000000 65535 f
1286
+ 0000000015 00000 n
1287
+ 0000000109 00000 n
1288
+ 0000000158 00000 n
1289
+ 0000000215 00000 n
1290
+ 0000000332 00000 n
1291
+ 0000000510 00000 n
1292
+ trailer
1293
+ << /Size 7
1294
+ /Root 2 0 R
1295
+ /Info 1 0 R
1296
+ >>
1297
+ startxref
1298
+ 607
1299
+ %%EOF
1300
+ with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder]}. Searched in:
1301
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
1302
+ * "/Users/artansinani/ror/gambas/test/dummy"
1303
+ * "/"
1304
+ ):
1305
+ app/controllers/home_controller.rb:29:in `render_pdf'
1306
+ app/controllers/home_controller.rb:11:in `table_position'
1307
+
1308
+
1309
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (6.2ms)
1310
+
1311
+
1312
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-30 00:35:34 +0100
1313
+ Processing by HomeController#table_position as PDF
1314
+ Completed 200 OK in 49ms (Views: 48.9ms | ActiveRecord: 0.0ms)
1315
+
1316
+
1317
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-30 00:37:14 +0100
1318
+ Processing by HomeController#table_position as PDF
1319
+ Completed 200 OK in 80ms (Views: 79.8ms | ActiveRecord: 0.0ms)
1320
+
1321
+
1322
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-30 00:37:16 +0100
1323
+ Processing by HomeController#table_position as PDF
1324
+ Completed 200 OK in 46ms (Views: 46.1ms | ActiveRecord: 0.0ms)
1325
+
1326
+
1327
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-30 00:38:51 +0100
1328
+ Processing by HomeController#table_position as PDF
1329
+ Completed 200 OK in 50ms (Views: 49.7ms | ActiveRecord: 0.0ms)
1330
+
1331
+
1332
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-30 00:39:59 +0100
1333
+ Processing by HomeController#table_position as PDF
1334
+ Completed 500 Internal Server Error in 36ms
1335
+
1336
+ NoMethodError (undefined method `unpack' for :contents:Symbol):
1337
+ app/controllers/home_controller.rb:29:in `render_pdf'
1338
+ app/controllers/home_controller.rb:11:in `table_position'
1339
+
1340
+
1341
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
1342
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1343
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.5ms)
1344
+
1345
+
1346
+ Started GET "/home/table_position.pdf" for 127.0.0.1 at 2012-03-30 00:40:28 +0100
1347
+ Processing by HomeController#table_position as PDF
1348
+ Completed 200 OK in 47ms (Views: 46.3ms | ActiveRecord: 0.0ms)
1349
+
1350
+
1351
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:42:07 +0100
1352
+ Processing by HomeController#index as PDF
1353
+ Completed 200 OK in 49ms (Views: 48.7ms | ActiveRecord: 0.0ms)
1354
+
1355
+
1356
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:42:10 +0100
1357
+ Processing by HomeController#index as PDF
1358
+ Completed 200 OK in 84ms (Views: 83.2ms | ActiveRecord: 0.0ms)
1359
+
1360
+
1361
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:44:04 +0100
1362
+ Processing by HomeController#index as PDF
1363
+ Completed 500 Internal Server Error in 13ms
1364
+
1365
+ ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder]}. Searched in:
1366
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
1367
+ ):
1368
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1369
+ app/controllers/home_controller.rb:3:in `index'
1370
+
1371
+
1372
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (2.4ms)
1373
+
1374
+
1375
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:44:31 +0100
1376
+ Processing by HomeController#index as PDF
1377
+ Completed 200 OK in 80ms (Views: 79.5ms | ActiveRecord: 0.0ms)
1378
+
1379
+
1380
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:50:57 +0100
1381
+ Processing by HomeController#index as PDF
1382
+ Completed 500 Internal Server Error in 43ms
1383
+
1384
+ ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder]}. Searched in:
1385
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
1386
+ ):
1387
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1388
+ app/controllers/home_controller.rb:3:in `index'
1389
+
1390
+
1391
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (2.4ms)
1392
+
1393
+
1394
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:51:54 +0100
1395
+ Processing by HomeController#index as PDF
1396
+ Rendered home/index.pdf.prawn (30.7ms)
1397
+ Completed 500 Internal Server Error in 42ms
1398
+
1399
+ ActionView::Template::Error (undefined method `encoding' for nil:NilClass):
1400
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1401
+ app/controllers/home_controller.rb:3:in `index'
1402
+
1403
+
1404
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.5ms)
1405
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
1406
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (18.1ms)
1407
+
1408
+
1409
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:52:29 +0100
1410
+ Processing by HomeController#index as PDF
1411
+ Rendered home/index.pdf.prawn (58.6ms)
1412
+ Completed 500 Internal Server Error in 72ms
1413
+
1414
+ ActionView::Template::Error (undefined local variable or method `pdf' for #<#<Class:0x007ff15b103980>:0x007ff15b4b7ae0>):
1415
+ 1: data = [["This row should be repeated on every new page"]]
1416
+ 2: data += [["..."]] * 30
1417
+ 3: pdf.table(data, :header => true)
1418
+ app/views/home/index.pdf.prawn:3:in `_app_views_home_index_pdf_prawn___1728380859430974651_70337304433900'
1419
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1420
+ app/controllers/home_controller.rb:3:in `index'
1421
+
1422
+
1423
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.8ms)
1424
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1425
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.4ms)
1426
+
1427
+
1428
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:53:26 +0100
1429
+ Processing by HomeController#index as PDF
1430
+ Completed 200 OK in 50ms (Views: 49.8ms | ActiveRecord: 0.0ms)
1431
+
1432
+
1433
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:54:31 +0100
1434
+ Processing by HomeController#index as PDF
1435
+ Completed 500 Internal Server Error in 1ms
1436
+
1437
+ NoMethodError (undefined method `render_to_string' for #<Prawn::Document:0x007f9bf63d6a28>):
1438
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1439
+ app/controllers/home_controller.rb:3:in `index'
1440
+
1441
+
1442
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms)
1443
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
1444
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (40.9ms)
1445
+
1446
+
1447
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:55:52 +0100
1448
+ Processing by HomeController#index as PDF
1449
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1450
+
1451
+
1452
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:56:14 +0100
1453
+ Processing by HomeController#index as PDF
1454
+ Completed 500 Internal Server Error in 1ms
1455
+
1456
+ NoMethodError (undefined method `source' for #<Hash:0x007fdeed9ce720>):
1457
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1458
+ app/controllers/home_controller.rb:3:in `index'
1459
+
1460
+
1461
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.6ms)
1462
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1463
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (43.7ms)
1464
+
1465
+
1466
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:57:35 +0100
1467
+ Processing by HomeController#index as PDF
1468
+ Completed 500 Internal Server Error in 1ms
1469
+
1470
+ NoMethodError (undefined method `source' for #<Hash:0x007fed865f6ce0>):
1471
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1472
+ app/controllers/home_controller.rb:3:in `index'
1473
+
1474
+
1475
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms)
1476
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
1477
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (41.8ms)
1478
+
1479
+
1480
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:57:59 +0100
1481
+ Processing by HomeController#index as PDF
1482
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1483
+
1484
+
1485
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 00:58:38 +0100
1486
+ Processing by HomeController#index as PDF
1487
+ Completed 500 Internal Server Error in 1ms
1488
+
1489
+ NoMethodError (undefined method `render_to_string' for #<Prawn::Document:0x007fadff51f9c8>):
1490
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1491
+ app/controllers/home_controller.rb:3:in `index'
1492
+
1493
+
1494
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
1495
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
1496
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (41.5ms)
1497
+
1498
+
1499
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 01:02:17 +0100
1500
+ Processing by HomeController#index as PDF
1501
+ Completed 500 Internal Server Error in 30ms
1502
+
1503
+ ArgumentError ('#<Prawn::Document:0x007f95a338b658 @internal_state=#<Prawn::Core::DocumentState:0x007f95a338b568 @store=#<Prawn::Core::ObjectStore:0x007f95a338b478 @objects={1=>1 0 R, 2=>2 0 R, 3=>3 0 R, 4=>4 0 R, 5=>5 0 R}, @identifiers=[1, 2, 3, 4, 5], @info=1, @root=2>, @version=1.3, @pages=[#<Prawn::Core::Page:0x007f95a338b1d0 @document=#<Prawn::Document:0x007f95a338b658 ...>, @margins={:left=>36, :right=>36, :top=>36, :bottom=>36}, @stack=#<Prawn::GraphicStateStack:0x007f95a338b158 @stack=[#<Prawn::GraphicState:0x007f95a338b130 @color_space={}, @fill_color="000000", @stroke_color="000000", @dash={:dash=>nil, :space=>nil, :phase=>0}, @cap_style=:butt, @join_style=:miter, @line_width=1>]>, @size="LETTER", @layout=:portrait, @content=4, @dictionary=5, @stamp_stream=nil, @stamp_dictionary=nil>], @page=#<Prawn::Core::Page:0x007f95a338b1d0 @document=#<Prawn::Document:0x007f95a338b658 ...>, @margins={:left=>36, :right=>36, :top=>36, :bottom=>36}, @stack=#<Prawn::GraphicStateStack:0x007f95a338b158 @stack=[#<Prawn::GraphicState:0x007f95a338b130 @color_space={}, @fill_color="000000", @stroke_color="000000", @dash={:dash=>nil, :space=>nil, :phase=>0}, @cap_style=:butt, @join_style=:miter, @line_width=1>]>, @size="LETTER", @layout=:portrait, @content=4, @dictionary=5, @stamp_stream=nil, @stamp_dictionary=nil>, @trailer={}, @compress=false, @encrypt=false, @encryption_key=nil, @optimize_objects=false, @skip_encoding=false, @before_render_callbacks=[], @on_page_create_callback=nil>, @background=nil, @font_size=12, @bounding_box=#<Prawn::Document::BoundingBox:0x007f95a32179c0 @document=#<Prawn::Document:0x007f95a338b658 ...>, @parent=nil, @x=36, @y=756.0, @height=720.0, @width=540.0, @total_left_padding=0, @total_right_padding=0, @stretched_height=nil>, @margin_box=#<Prawn::Document::BoundingBox:0x007f95a32179c0 @document=#<Prawn::Document:0x007f95a338b658 ...>, @parent=nil, @x=36, @y=756.0, @height=720.0, @width=540.0, @total_left_padding=0, @total_right_padding=0, @stretched_height=nil>, @page_number=1, @y=756.0>' is not an ActiveModel-compatible object that returns a valid partial path.):
1504
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1505
+ app/controllers/home_controller.rb:3:in `index'
1506
+
1507
+
1508
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms)
1509
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
1510
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.7ms)
1511
+
1512
+
1513
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 01:03:16 +0100
1514
+ Processing by HomeController#index as PDF
1515
+ Rendered home/index.pdf.prawn (58.0ms)
1516
+ Completed 500 Internal Server Error in 70ms
1517
+
1518
+ ActionView::Template::Error (undefined local variable or method `pdf' for #<#<Class:0x007fef6de26bc0>:0x007fef6d86d468>):
1519
+ 1: data = [["This row should be repeated on every new page"]]
1520
+ 2: data += [["..."]] * 30
1521
+ 3: pdf.table(data, :header => true)
1522
+ app/views/home/index.pdf.prawn:3:in `_app_views_home_index_pdf_prawn___2498012446536619302_70333157774740'
1523
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1524
+ app/controllers/home_controller.rb:3:in `index'
1525
+
1526
+
1527
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.5ms)
1528
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1529
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.9ms)
1530
+
1531
+
1532
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 01:17:05 +0100
1533
+ Processing by HomeController#index as PDF
1534
+ Completed 500 Internal Server Error in 1ms
1535
+
1536
+ NoMethodError (undefined method `source' for #<Hash:0x007fef43da44d8>):
1537
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1538
+ app/controllers/home_controller.rb:3:in `index'
1539
+
1540
+
1541
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms)
1542
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1543
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (44.6ms)
1544
+
1545
+
1546
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 01:17:34 +0100
1547
+ Processing by HomeController#index as PDF
1548
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1549
+
1550
+
1551
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 01:18:06 +0100
1552
+ Processing by HomeController#index as PDF
1553
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1554
+
1555
+
1556
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 01:18:29 +0100
1557
+ Processing by HomeController#index as PDF
1558
+ Completed 500 Internal Server Error in 1ms
1559
+
1560
+ NoMethodError (undefined method `html_safe' for #<Hash:0x007fdcc5bcd348>):
1561
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1562
+ app/controllers/home_controller.rb:3:in `index'
1563
+
1564
+
1565
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms)
1566
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
1567
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (43.3ms)
1568
+
1569
+
1570
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 01:19:53 +0100
1571
+ Processing by HomeController#index as PDF
1572
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1573
+
1574
+
1575
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 01:20:16 +0100
1576
+ Processing by HomeController#index as PDF
1577
+ Completed 500 Internal Server Error in 1ms
1578
+
1579
+ NoMethodError (undefined method `source' for #<Hash:0x007fdf1c64d590>):
1580
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1581
+ app/controllers/home_controller.rb:3:in `index'
1582
+
1583
+
1584
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms)
1585
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1586
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (42.5ms)
1587
+
1588
+
1589
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 01:20:57 +0100
1590
+ Processing by HomeController#index as PDF
1591
+ Completed 500 Internal Server Error in 1ms
1592
+
1593
+ NoMethodError (undefined method `source' for "index":String):
1594
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1595
+ app/controllers/home_controller.rb:3:in `index'
1596
+
1597
+
1598
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.6ms)
1599
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1600
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (42.7ms)
1601
+
1602
+
1603
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 01:37:37 +0100
1604
+ Processing by HomeController#index as PDF
1605
+ Rendered home/index.pdf.prawn (94.6ms)
1606
+ Completed 200 OK in 130ms (Views: 129.5ms | ActiveRecord: 0.0ms)
1607
+
1608
+
1609
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:03:36 +0100
1610
+ Processing by HomeController#index as PDF
1611
+ Rendered home/index.pdf.prawn (31.3ms)
1612
+ Completed 500 Internal Server Error in 87ms
1613
+
1614
+ ActionView::Template::Error (undefined local variable or method `view_context' for #<#<Class:0x007fbadb69e090>:0x007fbacc106f38>):
1615
+ 1: data = [["This row should be repeated on every new page"]]
1616
+ 2: data += [["..."]] * 30
1617
+ 3: pdf.table(data, :header => true)
1618
+ app/views/home/index.pdf.prawn:3:in `block in _app_views_home_index_pdf_prawn___3631310686911600271_70220125446920'
1619
+ app/views/home/index.pdf.prawn:2:in `_app_views_home_index_pdf_prawn___3631310686911600271_70220125446920'
1620
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1621
+ app/controllers/home_controller.rb:3:in `index'
1622
+
1623
+
1624
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.6ms)
1625
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1626
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.3ms)
1627
+
1628
+
1629
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:30:56 +0100
1630
+ Processing by HomeController#index as PDF
1631
+ Rendered home/index.pdf.prawn (30.2ms)
1632
+ Completed 500 Internal Server Error in 105ms
1633
+
1634
+ ActionView::Template::Error (undefined local variable or method `template' for #<#<Class:0x007f94ac7d4590>:0x007f94ad795c68>):
1635
+ 1: data = [["This row should be repeated on every new page"]]
1636
+ 2: data += [["..."]] * 30
1637
+ 3: pdf.table(data, :header => true)
1638
+ app/views/home/index.pdf.prawn:3:in `block in _app_views_home_index_pdf_prawn__4321087370912562646_70138259948280'
1639
+ app/views/home/index.pdf.prawn:2:in `_app_views_home_index_pdf_prawn__4321087370912562646_70138259948280'
1640
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1641
+ app/controllers/home_controller.rb:3:in `index'
1642
+
1643
+
1644
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.6ms)
1645
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1646
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (21.3ms)
1647
+
1648
+
1649
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:31:51 +0100
1650
+ Processing by HomeController#index as PDF
1651
+ Rendered home/index.pdf.prawn (3.5ms)
1652
+ Completed 200 OK in 42ms (Views: 41.4ms | ActiveRecord: 0.0ms)
1653
+
1654
+
1655
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:33:16 +0100
1656
+ Processing by HomeController#index as PDF
1657
+ Rendered home/index.pdf.prawn (2.7ms)
1658
+ Completed 200 OK in 39ms (Views: 38.2ms | ActiveRecord: 0.0ms)
1659
+
1660
+
1661
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:34:51 +0100
1662
+ Processing by HomeController#index as PDF
1663
+ ERROR: compiling _app_views_home_index_pdf_prawn___4538649793612385971_70342312629940 RAISED /Users/artansinani/ror/gambas/test/dummy/app/views/home/index.pdf.prawn:1: unknown type of %string
1664
+ ...ut_buffer = @output_buffer;;%PDF-1.3
1665
+ ... ^
1666
+ /Users/artansinani/ror/gambas/test/dummy/app/views/home/index.pdf.prawn:1: syntax error, unexpected $end, expecting keyword_end
1667
+ ...ut_buffer = @output_buffer;;%PDF-1.3
1668
+ ... ^
1669
+ Function body: def _app_views_home_index_pdf_prawn___4538649793612385971_70342312629940(local_assigns, output_buffer)
1670
+ _old_virtual_path, @virtual_path = @virtual_path, "home/index";_old_output_buffer = @output_buffer;;%PDF-1.3
1671
+ %����
1672
+ 1 0 obj
1673
+ << /Creator <feff0050007200610077006e>
1674
+ /Producer <feff0050007200610077006e>
1675
+ >>
1676
+ endobj
1677
+ 2 0 obj
1678
+ << /Type /Catalog
1679
+ /Pages 3 0 R
1680
+ >>
1681
+ endobj
1682
+ 3 0 obj
1683
+ << /Type /Pages
1684
+ /Count 1
1685
+ /Kids [5 0 R]
1686
+ >>
1687
+ endobj
1688
+ 4 0 obj
1689
+ << /Length 54
1690
+ >>
1691
+ stream
1692
+ q
1693
+
1694
+ BT
1695
+ 36 747.384 Td
1696
+ /F1.0 12 Tf
1697
+ [<74657374>] TJ
1698
+ ET
1699
+
1700
+ Q
1701
+
1702
+ endstream
1703
+ endobj
1704
+ 5 0 obj
1705
+ << /Type /Page
1706
+ /Parent 3 0 R
1707
+ /MediaBox [0 0 612.0 792.0]
1708
+ /Contents 4 0 R
1709
+ /Resources << /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
1710
+ /Font << /F1.0 6 0 R
1711
+ >>
1712
+ >>
1713
+ >>
1714
+ endobj
1715
+ 6 0 obj
1716
+ << /Type /Font
1717
+ /Subtype /Type1
1718
+ /BaseFont /Helvetica
1719
+ /Encoding /WinAnsiEncoding
1720
+ >>
1721
+ endobj
1722
+ xref
1723
+ 0 7
1724
+ 0000000000 65535 f
1725
+ 0000000015 00000 n
1726
+ 0000000109 00000 n
1727
+ 0000000158 00000 n
1728
+ 0000000215 00000 n
1729
+ 0000000319 00000 n
1730
+ 0000000497 00000 n
1731
+ trailer
1732
+ << /Size 7
1733
+ /Root 2 0 R
1734
+ /Info 1 0 R
1735
+ >>
1736
+ startxref
1737
+ 594
1738
+ %%EOF
1739
+
1740
+ ensure
1741
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
1742
+ end
1743
+
1744
+ Backtrace: /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `module_eval'
1745
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `compile'
1746
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:233:in `compile!'
1747
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:142:in `block in render'
1748
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:125:in `instrument'
1749
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:141:in `render'
1750
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:42:in `block (2 levels) in render_template'
1751
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
1752
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
1753
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1754
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
1755
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
1756
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:41:in `block in render_template'
1757
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:49:in `render_with_layout'
1758
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
1759
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:13:in `render'
1760
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:36:in `render_template'
1761
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:17:in `render'
1762
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:109:in `_render_template'
1763
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/streaming.rb:225:in `_render_template'
1764
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:103:in `render_to_body'
1765
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
1766
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
1767
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:88:in `render'
1768
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:16:in `render'
1769
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
1770
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
1771
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
1772
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `ms'
1773
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
1774
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
1775
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
1776
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:39:in `render'
1777
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1778
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/mime_responds.rb:196:in `call'
1779
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
1780
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:3:in `index'
1781
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1782
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:167:in `process_action'
1783
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
1784
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
1785
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:414:in `_run__1455497357165966854__process_action__3861611981188234965__callbacks'
1786
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
1787
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
1788
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
1789
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
1790
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
1791
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
1792
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
1793
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1794
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
1795
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
1796
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
1797
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1798
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:121:in `process'
1799
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:45:in `process'
1800
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:203:in `dispatch'
1801
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
1802
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:246:in `block in action'
1803
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `call'
1804
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
1805
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:30:in `call'
1806
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
1807
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
1808
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
1809
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:594:in `call'
1810
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
1811
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
1812
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
1813
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/head.rb:14:in `call'
1814
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
1815
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/flash.rb:242:in `call'
1816
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
1817
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
1818
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/cookies.rb:338:in `call'
1819
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/query_cache.rb:64:in `call'
1820
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
1821
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
1822
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `_run__2749764425256938121__call__2940879688249025375__callbacks'
1823
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
1824
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
1825
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
1826
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1827
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/reloader.rb:65:in `call'
1828
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
1829
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
1830
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
1831
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:26:in `call_app'
1832
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:16:in `call'
1833
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/request_id.rb:22:in `call'
1834
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
1835
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
1836
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
1837
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
1838
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/static.rb:61:in `call'
1839
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/engine.rb:479:in `call'
1840
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/application.rb:220:in `call'
1841
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
1842
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/log_tailer.rb:14:in `call'
1843
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
1844
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1845
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1846
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1847
+ Rendered home/index.pdf.prawn (50.1ms)
1848
+ Completed 500 Internal Server Error in 88ms
1849
+
1850
+ ActionView::Template::Error (/Users/artansinani/ror/gambas/test/dummy/app/views/home/index.pdf.prawn:1: unknown type of %string
1851
+ ...ut_buffer = @output_buffer;;%PDF-1.3
1852
+ ... ^
1853
+ /Users/artansinani/ror/gambas/test/dummy/app/views/home/index.pdf.prawn:1: syntax error, unexpected $end, expecting keyword_end
1854
+ ...ut_buffer = @output_buffer;;%PDF-1.3
1855
+ ... ^):
1856
+ 1: data = [["This row should be repeated on every new page"]]
1857
+ 2: data += [["..."]] * 30
1858
+ 3: pdf.table(data, :header => true)
1859
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1860
+ app/controllers/home_controller.rb:3:in `index'
1861
+
1862
+
1863
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
1864
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1865
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.9ms)
1866
+
1867
+
1868
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:35:44 +0100
1869
+ Processing by HomeController#index as PDF
1870
+ ERROR: compiling _app_views_home_index_pdf_prawn___4587322111708519255_70205495280020 RAISED /Users/artansinani/ror/gambas/test/dummy/app/views/home/index.pdf.prawn:1: unknown type of %string
1871
+ ...ut_buffer = @output_buffer;;%PDF-1.3
1872
+ ... ^
1873
+ /Users/artansinani/ror/gambas/test/dummy/app/views/home/index.pdf.prawn:1: syntax error, unexpected $end, expecting keyword_end
1874
+ ...ut_buffer = @output_buffer;;%PDF-1.3
1875
+ ... ^
1876
+ Function body: def _app_views_home_index_pdf_prawn___4587322111708519255_70205495280020(local_assigns, output_buffer)
1877
+ _old_virtual_path, @virtual_path = @virtual_path, "home/index";_old_output_buffer = @output_buffer;;%PDF-1.3
1878
+ %����
1879
+ 1 0 obj
1880
+ << /Creator <feff0050007200610077006e>
1881
+ /Producer <feff0050007200610077006e>
1882
+ >>
1883
+ endobj
1884
+ 2 0 obj
1885
+ << /Type /Catalog
1886
+ /Pages 3 0 R
1887
+ >>
1888
+ endobj
1889
+ 3 0 obj
1890
+ << /Type /Pages
1891
+ /Count 1
1892
+ /Kids [5 0 R]
1893
+ >>
1894
+ endobj
1895
+ 4 0 obj
1896
+ << /Length 54
1897
+ >>
1898
+ stream
1899
+ q
1900
+
1901
+ BT
1902
+ 36 747.384 Td
1903
+ /F1.0 12 Tf
1904
+ [<74657374>] TJ
1905
+ ET
1906
+
1907
+ Q
1908
+
1909
+ endstream
1910
+ endobj
1911
+ 5 0 obj
1912
+ << /Type /Page
1913
+ /Parent 3 0 R
1914
+ /MediaBox [0 0 612.0 792.0]
1915
+ /Contents 4 0 R
1916
+ /Resources << /ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
1917
+ /Font << /F1.0 6 0 R
1918
+ >>
1919
+ >>
1920
+ >>
1921
+ endobj
1922
+ 6 0 obj
1923
+ << /Type /Font
1924
+ /Subtype /Type1
1925
+ /BaseFont /Helvetica
1926
+ /Encoding /WinAnsiEncoding
1927
+ >>
1928
+ endobj
1929
+ xref
1930
+ 0 7
1931
+ 0000000000 65535 f
1932
+ 0000000015 00000 n
1933
+ 0000000109 00000 n
1934
+ 0000000158 00000 n
1935
+ 0000000215 00000 n
1936
+ 0000000319 00000 n
1937
+ 0000000497 00000 n
1938
+ trailer
1939
+ << /Size 7
1940
+ /Root 2 0 R
1941
+ /Info 1 0 R
1942
+ >>
1943
+ startxref
1944
+ 594
1945
+ %%EOF
1946
+
1947
+ ensure
1948
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
1949
+ end
1950
+
1951
+ Backtrace: /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `module_eval'
1952
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `compile'
1953
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:233:in `compile!'
1954
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:142:in `block in render'
1955
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:125:in `instrument'
1956
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:141:in `render'
1957
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:42:in `block (2 levels) in render_template'
1958
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
1959
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
1960
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1961
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
1962
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
1963
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:41:in `block in render_template'
1964
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:49:in `render_with_layout'
1965
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
1966
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:13:in `render'
1967
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:36:in `render_template'
1968
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:17:in `render'
1969
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:109:in `_render_template'
1970
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/streaming.rb:225:in `_render_template'
1971
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:103:in `render_to_body'
1972
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
1973
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
1974
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:88:in `render'
1975
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:16:in `render'
1976
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
1977
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
1978
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
1979
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `ms'
1980
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
1981
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
1982
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
1983
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:39:in `render'
1984
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:5:in `block (2 levels) in index'
1985
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/mime_responds.rb:196:in `call'
1986
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
1987
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:3:in `index'
1988
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1989
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:167:in `process_action'
1990
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
1991
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
1992
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:414:in `_run__547938864038497887__process_action__4284555674067587502__callbacks'
1993
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
1994
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
1995
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
1996
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
1997
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
1998
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
1999
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
2000
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2001
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
2002
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2003
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
2004
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2005
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:121:in `process'
2006
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:45:in `process'
2007
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:203:in `dispatch'
2008
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2009
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:246:in `block in action'
2010
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `call'
2011
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
2012
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:30:in `call'
2013
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
2014
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
2015
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
2016
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:594:in `call'
2017
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2018
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
2019
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
2020
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/head.rb:14:in `call'
2021
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2022
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/flash.rb:242:in `call'
2023
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
2024
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
2025
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/cookies.rb:338:in `call'
2026
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/query_cache.rb:64:in `call'
2027
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
2028
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2029
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `_run__3275638910517560519__call__2271768498364172124__callbacks'
2030
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
2031
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2032
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
2033
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2034
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/reloader.rb:65:in `call'
2035
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2036
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2037
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2038
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:26:in `call_app'
2039
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:16:in `call'
2040
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2041
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
2042
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
2043
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2044
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
2045
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/static.rb:61:in `call'
2046
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/engine.rb:479:in `call'
2047
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/application.rb:220:in `call'
2048
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
2049
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/log_tailer.rb:14:in `call'
2050
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
2051
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2052
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2053
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2054
+ Rendered home/index.pdf.prawn (53.2ms)
2055
+ Completed 500 Internal Server Error in 89ms
2056
+
2057
+ ActionView::Template::Error (/Users/artansinani/ror/gambas/test/dummy/app/views/home/index.pdf.prawn:1: unknown type of %string
2058
+ ...ut_buffer = @output_buffer;;%PDF-1.3
2059
+ ... ^
2060
+ /Users/artansinani/ror/gambas/test/dummy/app/views/home/index.pdf.prawn:1: syntax error, unexpected $end, expecting keyword_end
2061
+ ...ut_buffer = @output_buffer;;%PDF-1.3
2062
+ ... ^):
2063
+ 1: data = [["This row should be repeated on every new page"]]
2064
+ 2: data += [["..."]] * 30
2065
+ 3: pdf.table(data, :header => true)
2066
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2067
+ app/controllers/home_controller.rb:3:in `index'
2068
+
2069
+
2070
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
2071
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
2072
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.0ms)
2073
+
2074
+
2075
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:36:38 +0100
2076
+ Processing by HomeController#index as PDF
2077
+ Rendered home/index.pdf.prawn (4.8ms)
2078
+ Completed 500 Internal Server Error in 44ms
2079
+
2080
+ ActionView::Template::Error (undefined local variable or method `pdf' for #<Gambas::PDF:0x000001104371f8>):
2081
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2082
+ app/controllers/home_controller.rb:3:in `index'
2083
+
2084
+
2085
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
2086
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
2087
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.6ms)
2088
+
2089
+
2090
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:37:11 +0100
2091
+ Processing by HomeController#index as PDF
2092
+ Rendered home/index.pdf.prawn (47.4ms)
2093
+ Completed 200 OK in 83ms (Views: 82.5ms | ActiveRecord: 0.0ms)
2094
+
2095
+
2096
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:38:24 +0100
2097
+ Processing by HomeController#index as PDF
2098
+ Rendered home/index.pdf.prawn (4.9ms)
2099
+ Completed 500 Internal Server Error in 42ms
2100
+
2101
+ ActionView::Template::Error (wrong number of arguments (0 for 1)):
2102
+ 1: data = [["This row should be repeated on every new page"]]
2103
+ 2: data += [["..."]] * 30
2104
+ 3: pdf.table(data, :header => true)
2105
+ app/views/home/index.pdf.prawn:3:in `block in _app_views_home_index_pdf_prawn___2054830350252445793_70348911558880'
2106
+ app/views/home/index.pdf.prawn:2:in `_app_views_home_index_pdf_prawn___2054830350252445793_70348911558880'
2107
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2108
+ app/controllers/home_controller.rb:3:in `index'
2109
+
2110
+
2111
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms)
2112
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2113
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.5ms)
2114
+
2115
+
2116
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:39:03 +0100
2117
+ Processing by HomeController#index as PDF
2118
+ Rendered home/index.pdf.prawn (48.2ms)
2119
+ Completed 200 OK in 86ms (Views: 85.4ms | ActiveRecord: 0.0ms)
2120
+
2121
+
2122
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:39:24 +0100
2123
+ Processing by HomeController#index as PDF
2124
+ Rendered home/index.pdf.prawn (46.7ms)
2125
+ Completed 200 OK in 84ms (Views: 83.4ms | ActiveRecord: 0.0ms)
2126
+
2127
+
2128
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:39:47 +0100
2129
+ Processing by HomeController#index as PDF
2130
+ Rendered home/index.pdf.prawn (78.1ms)
2131
+ Completed 200 OK in 88ms (Views: 87.7ms | ActiveRecord: 0.0ms)
2132
+
2133
+
2134
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:40:16 +0100
2135
+ Processing by HomeController#index as PDF
2136
+ Rendered home/index.pdf.prawn (96.4ms)
2137
+ Completed 200 OK in 107ms (Views: 106.4ms | ActiveRecord: 0.0ms)
2138
+
2139
+
2140
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:42:17 +0100
2141
+ Processing by HomeController#index as PDF
2142
+ Rendered home/index.pdf.prawn (68.9ms)
2143
+ Completed 200 OK in 72ms (Views: 71.3ms | ActiveRecord: 0.0ms)
2144
+
2145
+
2146
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:43:31 +0100
2147
+ Processing by HomeController#index as PDF
2148
+ Rendered home/index.pdf.prawn (47.1ms)
2149
+ Completed 200 OK in 84ms (Views: 83.6ms | ActiveRecord: 0.0ms)
2150
+
2151
+
2152
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:44:09 +0100
2153
+ Processing by HomeController#index as PDF
2154
+ Rendered home/index.pdf.prawn (98.3ms)
2155
+ Completed 200 OK in 108ms (Views: 107.9ms | ActiveRecord: 0.0ms)
2156
+
2157
+
2158
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:45:06 +0100
2159
+ Processing by HomeController#index as PDF
2160
+ Rendered home/index.pdf.prawn (50.6ms)
2161
+ Completed 200 OK in 87ms (Views: 86.0ms | ActiveRecord: 0.0ms)
2162
+
2163
+
2164
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:46:03 +0100
2165
+ Processing by HomeController#index as PDF
2166
+ Rendered home/index.pdf.prawn (67.4ms)
2167
+ Completed 200 OK in 103ms (Views: 102.3ms | ActiveRecord: 0.0ms)
2168
+
2169
+
2170
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:47:12 +0100
2171
+ Processing by HomeController#index as PDF
2172
+ Rendered home/index.pdf.prawn (4.1ms)
2173
+ Completed 500 Internal Server Error in 41ms
2174
+
2175
+ ActionView::Template::Error (wrong number of arguments (0 for 1)):
2176
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2177
+ app/controllers/home_controller.rb:3:in `index'
2178
+
2179
+
2180
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
2181
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
2182
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.2ms)
2183
+
2184
+
2185
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:47:48 +0100
2186
+ Processing by HomeController#index as PDF
2187
+ Rendered home/index.pdf.prawn (69.8ms)
2188
+ Completed 200 OK in 108ms (Views: 107.2ms | ActiveRecord: 0.0ms)
2189
+
2190
+
2191
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:49:32 +0100
2192
+ Processing by HomeController#index as PDF
2193
+ Rendered home/index.pdf.prawn (49.8ms)
2194
+ Completed 200 OK in 90ms (Views: 89.3ms | ActiveRecord: 0.0ms)
2195
+
2196
+
2197
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 02:49:49 +0100
2198
+ Processing by HomeController#index as PDF
2199
+ Rendered home/index.pdf.prawn (95.9ms)
2200
+ Completed 200 OK in 107ms (Views: 106.3ms | ActiveRecord: 0.0ms)
2201
+
2202
+
2203
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 03:23:29 +0100
2204
+ Processing by HomeController#index as PDF
2205
+ Completed 500 Internal Server Error in 57ms
2206
+
2207
+ NoMethodError (undefined method `keys' for "PDF INFO":String):
2208
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2209
+ app/controllers/home_controller.rb:3:in `index'
2210
+
2211
+
2212
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
2213
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2214
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.5ms)
2215
+
2216
+
2217
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 03:24:02 +0100
2218
+ Processing by HomeController#index as PDF
2219
+ ERROR: compiling _app_views_home_index_pdf_prawn__2372421870156751679_70317030545740 RAISED /Users/artansinani/ror/gambas/test/dummy/app/views/home/index.pdf.prawn:1: dynamic constant assignment
2220
+ ...buffer = @output_buffer;Title = local_assigns[:Title];;
2221
+ ... ^
2222
+ Function body: def _app_views_home_index_pdf_prawn__2372421870156751679_70317030545740(local_assigns, output_buffer)
2223
+ _old_virtual_path, @virtual_path = @virtual_path, "home/index";_old_output_buffer = @output_buffer;Title = local_assigns[:Title];;
2224
+ Gambas::PdfCreator.create do |pdf|
2225
+ pdf.text '["Title"]'
2226
+ end
2227
+
2228
+ ensure
2229
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
2230
+ end
2231
+
2232
+ Backtrace: /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `module_eval'
2233
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `compile'
2234
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:233:in `compile!'
2235
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:142:in `block in render'
2236
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:125:in `instrument'
2237
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:141:in `render'
2238
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:42:in `block (2 levels) in render_template'
2239
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
2240
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
2241
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2242
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
2243
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
2244
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:41:in `block in render_template'
2245
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:49:in `render_with_layout'
2246
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
2247
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:13:in `render'
2248
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:36:in `render_template'
2249
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:17:in `render'
2250
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:109:in `_render_template'
2251
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/streaming.rb:225:in `_render_template'
2252
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:103:in `render_to_body'
2253
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
2254
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
2255
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:88:in `render'
2256
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:16:in `render'
2257
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2258
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
2259
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2260
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `ms'
2261
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
2262
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2263
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2264
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:39:in `render'
2265
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2266
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/mime_responds.rb:196:in `call'
2267
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
2268
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:3:in `index'
2269
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2270
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:167:in `process_action'
2271
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
2272
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2273
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:414:in `_run__2679220695688113677__process_action__2089634117551157943__callbacks'
2274
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
2275
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2276
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
2277
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
2278
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
2279
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2280
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
2281
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2282
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
2283
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2284
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
2285
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2286
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:121:in `process'
2287
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:45:in `process'
2288
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:203:in `dispatch'
2289
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2290
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:246:in `block in action'
2291
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `call'
2292
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
2293
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:30:in `call'
2294
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
2295
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
2296
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
2297
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:594:in `call'
2298
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2299
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
2300
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
2301
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/head.rb:14:in `call'
2302
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2303
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/flash.rb:242:in `call'
2304
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
2305
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
2306
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/cookies.rb:338:in `call'
2307
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/query_cache.rb:64:in `call'
2308
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
2309
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2310
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `_run__3637312014756458908__call__2299343912641475951__callbacks'
2311
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
2312
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2313
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
2314
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2315
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/reloader.rb:65:in `call'
2316
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2317
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2318
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2319
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:26:in `call_app'
2320
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:16:in `call'
2321
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2322
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
2323
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
2324
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2325
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
2326
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/static.rb:61:in `call'
2327
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/engine.rb:479:in `call'
2328
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/application.rb:220:in `call'
2329
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
2330
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/log_tailer.rb:14:in `call'
2331
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
2332
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2333
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2334
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2335
+ Rendered home/index.pdf.prawn (6.6ms)
2336
+ Completed 500 Internal Server Error in 44ms
2337
+
2338
+ ActionView::Template::Error (/Users/artansinani/ror/gambas/test/dummy/app/views/home/index.pdf.prawn:1: dynamic constant assignment
2339
+ ...buffer = @output_buffer;Title = local_assigns[:Title];;
2340
+ ... ^):
2341
+ 1: data = [["This row should be repeated on every new page"]]
2342
+ 2: data += [["..."]] * 30
2343
+ 3: pdf.table(data, :header => true)
2344
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2345
+ app/controllers/home_controller.rb:3:in `index'
2346
+
2347
+
2348
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
2349
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2350
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.6ms)
2351
+
2352
+
2353
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:06:16 +0100
2354
+ Processing by HomeController#index as PDF
2355
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
2356
+
2357
+
2358
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:06:39 +0100
2359
+ Processing by HomeController#index as PDF
2360
+ Rendered home/index.pdf.prawn (88.5ms)
2361
+ Completed 200 OK in 127ms (Views: 126.8ms | ActiveRecord: 0.0ms)
2362
+
2363
+
2364
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:08:23 +0100
2365
+ Processing by HomeController#index as PDF
2366
+ Rendered home/index.pdf.prawn (32.5ms)
2367
+ Completed 500 Internal Server Error in 69ms
2368
+
2369
+ ActionView::Template::Error (undefined local variable or method `testing' for #<#<Class:0x007fd61d39f9b8>:0x007fd61d39cb78>):
2370
+ 1: data = [["This row should be repeated on every new page"]]
2371
+ 2: data += [["..."]] * 30
2372
+ 3: pdf.table(data, :header => true)
2373
+ app/views/home/index.pdf.prawn:1:in `_app_views_home_index_pdf_prawn__4187552490612190118_70278775360820'
2374
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2375
+ app/controllers/home_controller.rb:3:in `index'
2376
+
2377
+
2378
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
2379
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
2380
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.2ms)
2381
+
2382
+
2383
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:09:10 +0100
2384
+ Processing by HomeController#index as PDF
2385
+ Rendered home/index.pdf.prawn (0.4ms)
2386
+ Completed 200 OK in 84ms (Views: 83.5ms | ActiveRecord: 0.0ms)
2387
+
2388
+
2389
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:09:52 +0100
2390
+ Processing by HomeController#index as PDF
2391
+ Rendered home/index.pdf.prawn (0.3ms)
2392
+ Completed 200 OK in 83ms (Views: 82.7ms | ActiveRecord: 0.0ms)
2393
+
2394
+
2395
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:15:04 +0100
2396
+ Processing by HomeController#index as PDF
2397
+ Rendered home/index.pdf.prawn (30.8ms)
2398
+ Completed 500 Internal Server Error in 69ms
2399
+
2400
+ ActionView::Template::Error (undefined local variable or method `pdf' for #<#<Class:0x007fb6ccf364b8>:0x007fb6ccf51650>):
2401
+ 1: data = [["This row should be repeated on every new page"]]
2402
+ 2: data += [["..."]] * 30
2403
+ 3: pdf.table(data, :header => true)
2404
+ app/views/home/index.pdf.prawn:1:in `_app_views_home_index_pdf_prawn___1508558024548670664_70211527999840'
2405
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2406
+ app/controllers/home_controller.rb:3:in `index'
2407
+
2408
+
2409
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.5ms)
2410
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
2411
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.3ms)
2412
+
2413
+
2414
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:16:44 +0100
2415
+ Processing by HomeController#index as PDF
2416
+ Rendered home/index.pdf.prawn (29.9ms)
2417
+ Completed 500 Internal Server Error in 66ms
2418
+
2419
+ ActionView::Template::Error (undefined local variable or method `pdf' for #<#<Class:0x007fcc5e59c090>:0x007fcc5e5d4648>):
2420
+ 1: data = [["This row should be repeated on every new page"]]
2421
+ 2: data += [["..."]] * 30
2422
+ 3: pdf.table(data, :header => true)
2423
+ app/views/home/index.pdf.prawn:1:in `_app_views_home_index_pdf_prawn__3753065736468815365_70257837108860'
2424
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2425
+ app/controllers/home_controller.rb:3:in `index'
2426
+
2427
+
2428
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.5ms)
2429
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2430
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.2ms)
2431
+
2432
+
2433
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:35:53 +0100
2434
+ Processing by HomeController#index as PDF
2435
+ Rendered home/index.pdf.prawn (27.8ms)
2436
+ Completed 500 Internal Server Error in 76ms
2437
+
2438
+ ActionView::Template::Error (undefined local variable or method `pdf' for #<#<Class:0x007f833cd6cb50>:0x007f833cca1130>):
2439
+ 1: data = [["This row should be repeated on every new page"]]
2440
+ 2: data += [["..."]] * 30
2441
+ 3: pdf.table(data, :header => true)
2442
+ app/views/home/index.pdf.prawn:1:in `_app_views_home_index_pdf_prawn__603074045010828646_70100826396880'
2443
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2444
+ app/controllers/home_controller.rb:3:in `index'
2445
+
2446
+
2447
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
2448
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2449
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.6ms)
2450
+
2451
+
2452
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:36:18 +0100
2453
+ Processing by HomeController#index as PDF
2454
+ Rendered home/index.pdf.prawn (53.4ms)
2455
+ Completed 500 Internal Server Error in 56ms
2456
+
2457
+ ActionView::Template::Error (undefined local variable or method `pdf' for #<#<Class:0x007f833cd6cb50>:0x007f833de7dc50>):
2458
+ 1: data = [["This row should be repeated on every new page"]]
2459
+ 2: data += [["..."]] * 30
2460
+ 3: pdf.table(data, :header => true)
2461
+ app/views/home/index.pdf.prawn:1:in `_app_views_home_index_pdf_prawn__603074045010828646_70100826396880'
2462
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2463
+ app/controllers/home_controller.rb:3:in `index'
2464
+
2465
+
2466
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms)
2467
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
2468
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.2ms)
2469
+
2470
+
2471
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:36:27 +0100
2472
+ Processing by HomeController#index as PDF
2473
+ Rendered home/index.pdf.prawn (107.2ms)
2474
+ Completed 200 OK in 145ms (Views: 144.3ms | ActiveRecord: 0.0ms)
2475
+
2476
+
2477
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:55:29 +0100
2478
+ Processing by HomeController#index as PDF
2479
+ Rendered home/index.pdf.prawn (98.4ms)
2480
+ Completed 200 OK in 134ms (Views: 133.4ms | ActiveRecord: 0.0ms)
2481
+
2482
+
2483
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 09:59:59 +0100
2484
+ Processing by HomeController#index as PDF
2485
+ Rendered home/index.pdf.prawn (97.2ms)
2486
+ Completed 200 OK in 137ms (Views: 136.1ms | ActiveRecord: 0.0ms)
2487
+
2488
+
2489
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 11:28:28 +0100
2490
+ Processing by HomeController#index as PDF
2491
+ Rendered home/index.pdf.prawn (68.9ms)
2492
+ Completed 200 OK in 104ms (Views: 103.4ms | ActiveRecord: 0.0ms)
2493
+
2494
+
2495
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 11:28:56 +0100
2496
+ Processing by HomeController#index as PDF
2497
+ Rendered home/index.pdf.prawn (71.4ms)
2498
+ Completed 200 OK in 109ms (Views: 108.4ms | ActiveRecord: 0.0ms)
2499
+
2500
+
2501
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 11:30:33 +0100
2502
+ Processing by HomeController#index as PDF
2503
+ Rendered home/index.pdf.prawn (5.0ms)
2504
+ Completed 500 Internal Server Error in 42ms
2505
+
2506
+ ActionView::Template::Error (undefined method `pdf_info' for app/views/home/index.pdf.prawn:ActionView::Template):
2507
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2508
+ app/controllers/home_controller.rb:3:in `index'
2509
+
2510
+
2511
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
2512
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
2513
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (20.5ms)
2514
+
2515
+
2516
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 11:31:40 +0100
2517
+ Processing by HomeController#index as PDF
2518
+ Rendered home/index.pdf.prawn (4.0ms)
2519
+ Completed 500 Internal Server Error in 41ms
2520
+
2521
+ ActionView::Template::Error (undefined method `pdf_info' for app/views/home/index.pdf.prawn:ActionView::Template):
2522
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2523
+ app/controllers/home_controller.rb:3:in `index'
2524
+
2525
+
2526
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms)
2527
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2528
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.0ms)
2529
+
2530
+
2531
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 11:35:39 +0100
2532
+ Processing by HomeController#index as PDF
2533
+ Rendered home/index.pdf.prawn (3.8ms)
2534
+ Completed 500 Internal Server Error in 40ms
2535
+
2536
+ ActionView::Template::Error (undefined method `pdf_info' for app/views/home/index.pdf.prawn:ActionView::Template):
2537
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2538
+ app/controllers/home_controller.rb:3:in `index'
2539
+
2540
+
2541
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
2542
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2543
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.2ms)
2544
+
2545
+
2546
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 22:48:12 +0100
2547
+ Processing by HomeController#index as PDF
2548
+ Rendered home/index.pdf.prawn (71.8ms)
2549
+ Completed 200 OK in 109ms (Views: 108.4ms | ActiveRecord: 0.0ms)
2550
+
2551
+
2552
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 22:49:38 +0100
2553
+ Processing by HomeController#index as PDF
2554
+ Rendered home/index.pdf.prawn (49.7ms)
2555
+ Completed 200 OK in 86ms (Views: 85.1ms | ActiveRecord: 0.0ms)
2556
+
2557
+
2558
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 22:58:49 +0100
2559
+ Processing by HomeController#index as PDF
2560
+ Rendered home/index.pdf.prawn (3.9ms)
2561
+ Completed 500 Internal Server Error in 40ms
2562
+
2563
+ ActionView::Template::Error (undefined method `assigns' for app/views/home/index.pdf.prawn:ActionView::Template):
2564
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2565
+ app/controllers/home_controller.rb:3:in `index'
2566
+
2567
+
2568
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
2569
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2570
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.6ms)
2571
+
2572
+
2573
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:04:28 +0100
2574
+ Processing by HomeController#index as PDF
2575
+ Completed 500 Internal Server Error in 40ms
2576
+
2577
+ ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder]}. Searched in:
2578
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
2579
+ ):
2580
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2581
+ app/controllers/home_controller.rb:3:in `index'
2582
+
2583
+
2584
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (2.4ms)
2585
+
2586
+
2587
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:05:15 +0100
2588
+ Processing by HomeController#index as PDF
2589
+ Rendered home/index.pdf.erb (0.4ms)
2590
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
2591
+
2592
+
2593
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:05:53 +0100
2594
+ Processing by HomeController#index as PDF
2595
+ Rendered home/index.pdf.erb (2.4ms)
2596
+ Completed 500 Internal Server Error in 64ms
2597
+
2598
+ NameError (undefined local variable or method `pdf' for #<HomeController:0x007ff7e30b2588>):
2599
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2600
+ app/controllers/home_controller.rb:3:in `index'
2601
+
2602
+
2603
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms)
2604
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
2605
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.2ms)
2606
+
2607
+
2608
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:06:15 +0100
2609
+ Processing by HomeController#index as PDF
2610
+ Rendered home/index.pdf.erb (2.6ms)
2611
+ Completed 200 OK in 133ms (Views: 132.2ms | ActiveRecord: 0.0ms)
2612
+
2613
+
2614
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:07:26 +0100
2615
+ Processing by HomeController#index as PDF
2616
+ Rendered home/index.pdf.prawn (6.8ms)
2617
+ Completed 500 Internal Server Error in 43ms
2618
+
2619
+ ActionView::Template::Error (undefined method `assigns' for app/views/home/index.pdf.prawn:ActionView::Template):
2620
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2621
+ app/controllers/home_controller.rb:3:in `index'
2622
+
2623
+
2624
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.5ms)
2625
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
2626
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (18.5ms)
2627
+
2628
+
2629
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:07:44 +0100
2630
+ Processing by HomeController#index as PDF
2631
+ Rendered home/index.pdf.prawn (56.4ms)
2632
+ Completed 500 Internal Server Error in 67ms
2633
+
2634
+ ActionView::Template::Error (undefined local variable or method `pdf' for #<#<Class:0x007fe2f17174c0>:0x007fe2f26f0360>):
2635
+ 1: data = [["This row should be repeated on every new page"]]
2636
+ 2: data += [["..."]] * 30
2637
+ 3: pdf.table(data, :header => true)
2638
+ app/views/home/index.pdf.prawn:3:in `_app_views_home_index_pdf_prawn___1089657725230823997_70306352718460'
2639
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2640
+ app/controllers/home_controller.rb:3:in `index'
2641
+
2642
+
2643
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.2ms)
2644
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2645
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.0ms)
2646
+
2647
+
2648
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:08:44 +0100
2649
+ Processing by HomeController#index as PDF
2650
+ Rendered home/index.pdf.prawn (29.6ms)
2651
+ Completed 500 Internal Server Error in 66ms
2652
+
2653
+ ActionView::Template::Error (undefined local variable or method `template' for #<#<Class:0x007f8ecd914e80>:0x007f8ecd912040>):
2654
+ 1: data = [["This row should be repeated on every new page"]]
2655
+ 2: data += [["..."]] * 30
2656
+ 3: pdf.table(data, :header => true)
2657
+ app/views/home/index.pdf.prawn:1:in `_app_views_home_index_pdf_prawn__1930798293177116752_70125647718040'
2658
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2659
+ app/controllers/home_controller.rb:3:in `index'
2660
+
2661
+
2662
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.5ms)
2663
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2664
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.1ms)
2665
+
2666
+
2667
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:09:21 +0100
2668
+ Processing by HomeController#index as PDF
2669
+ Rendered home/index.pdf.prawn (4.2ms)
2670
+ Completed 500 Internal Server Error in 40ms
2671
+
2672
+ ActionView::Template::Error (undefined local variable or method `pdf' for #<Gambas::PDF:0x007fe12c4d5c00>):
2673
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2674
+ app/controllers/home_controller.rb:3:in `index'
2675
+
2676
+
2677
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.6ms)
2678
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
2679
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.8ms)
2680
+
2681
+
2682
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:14:50 +0100
2683
+ Processing by HomeController#index as PDF
2684
+ Rendered home/index.pdf.prawn (100.9ms)
2685
+ Completed 500 Internal Server Error in 138ms
2686
+
2687
+ ArgumentError (wrong number of arguments (1 for 0)):
2688
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2689
+ app/controllers/home_controller.rb:3:in `index'
2690
+
2691
+
2692
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms)
2693
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2694
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.4ms)
2695
+
2696
+
2697
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:16:20 +0100
2698
+
2699
+ SyntaxError (/Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:5: syntax error, unexpected '}', expecting tASSOC
2700
+ format.pdf { render :pdf => :contents, :info => {"Test"} }
2701
+ ^
2702
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:31: syntax error, unexpected keyword_end, expecting '}'):
2703
+ activesupport (3.2.2) lib/active_support/dependencies.rb:469:in `load'
2704
+ activesupport (3.2.2) lib/active_support/dependencies.rb:469:in `block in load_file'
2705
+ activesupport (3.2.2) lib/active_support/dependencies.rb:639:in `new_constants_in'
2706
+ activesupport (3.2.2) lib/active_support/dependencies.rb:468:in `load_file'
2707
+ activesupport (3.2.2) lib/active_support/dependencies.rb:353:in `require_or_load'
2708
+ activesupport (3.2.2) lib/active_support/dependencies.rb:502:in `load_missing_constant'
2709
+ activesupport (3.2.2) lib/active_support/dependencies.rb:192:in `block in const_missing'
2710
+ activesupport (3.2.2) lib/active_support/dependencies.rb:190:in `each'
2711
+ activesupport (3.2.2) lib/active_support/dependencies.rb:190:in `const_missing'
2712
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:229:in `block in constantize'
2713
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `each'
2714
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `constantize'
2715
+ activesupport (3.2.2) lib/active_support/dependencies.rb:554:in `get'
2716
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:63:in `controller_reference'
2717
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:48:in `controller'
2718
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:26:in `call'
2719
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
2720
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
2721
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
2722
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
2723
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2724
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
2725
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
2726
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
2727
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2728
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
2729
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
2730
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
2731
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
2732
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
2733
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
2734
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2735
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__3161582405796635969__call__216970472300063731__callbacks'
2736
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
2737
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2738
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
2739
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2740
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
2741
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2742
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2743
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2744
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
2745
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
2746
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2747
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2748
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2749
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2750
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2751
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
2752
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
2753
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
2754
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2755
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
2756
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2757
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2758
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2759
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2760
+
2761
+
2762
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
2763
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
2764
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.8ms)
2765
+
2766
+
2767
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:18:16 +0100
2768
+
2769
+ SyntaxError (/Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:5: syntax error, unexpected '}', expecting tASSOC
2770
+ format.pdf { render :pdf => :contents, :info => {"Test"} }
2771
+ ^
2772
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:31: syntax error, unexpected keyword_end, expecting '}'):
2773
+ activesupport (3.2.2) lib/active_support/dependencies.rb:469:in `load'
2774
+ activesupport (3.2.2) lib/active_support/dependencies.rb:469:in `block in load_file'
2775
+ activesupport (3.2.2) lib/active_support/dependencies.rb:639:in `new_constants_in'
2776
+ activesupport (3.2.2) lib/active_support/dependencies.rb:468:in `load_file'
2777
+ activesupport (3.2.2) lib/active_support/dependencies.rb:353:in `require_or_load'
2778
+ activesupport (3.2.2) lib/active_support/dependencies.rb:502:in `load_missing_constant'
2779
+ activesupport (3.2.2) lib/active_support/dependencies.rb:192:in `block in const_missing'
2780
+ activesupport (3.2.2) lib/active_support/dependencies.rb:190:in `each'
2781
+ activesupport (3.2.2) lib/active_support/dependencies.rb:190:in `const_missing'
2782
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:229:in `block in constantize'
2783
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `each'
2784
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `constantize'
2785
+ activesupport (3.2.2) lib/active_support/dependencies.rb:554:in `get'
2786
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:63:in `controller_reference'
2787
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:48:in `controller'
2788
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:26:in `call'
2789
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
2790
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
2791
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
2792
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
2793
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2794
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
2795
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
2796
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
2797
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2798
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
2799
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
2800
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
2801
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
2802
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
2803
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
2804
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2805
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__2027964903203305163__call__309087427214612025__callbacks'
2806
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
2807
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2808
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
2809
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2810
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
2811
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2812
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2813
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2814
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
2815
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
2816
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2817
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2818
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2819
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2820
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2821
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
2822
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
2823
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
2824
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2825
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
2826
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2827
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2828
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2829
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2830
+
2831
+
2832
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms)
2833
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.0ms)
2834
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.7ms)
2835
+
2836
+
2837
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:18:18 +0100
2838
+
2839
+ SyntaxError (/Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:5: syntax error, unexpected '}', expecting tASSOC
2840
+ format.pdf { render :pdf => :contents, :info => {"Test"} }
2841
+ ^
2842
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:31: syntax error, unexpected keyword_end, expecting '}'):
2843
+ activesupport (3.2.2) lib/active_support/dependencies.rb:469:in `load'
2844
+ activesupport (3.2.2) lib/active_support/dependencies.rb:469:in `block in load_file'
2845
+ activesupport (3.2.2) lib/active_support/dependencies.rb:639:in `new_constants_in'
2846
+ activesupport (3.2.2) lib/active_support/dependencies.rb:468:in `load_file'
2847
+ activesupport (3.2.2) lib/active_support/dependencies.rb:353:in `require_or_load'
2848
+ activesupport (3.2.2) lib/active_support/dependencies.rb:502:in `load_missing_constant'
2849
+ activesupport (3.2.2) lib/active_support/dependencies.rb:192:in `block in const_missing'
2850
+ activesupport (3.2.2) lib/active_support/dependencies.rb:190:in `each'
2851
+ activesupport (3.2.2) lib/active_support/dependencies.rb:190:in `const_missing'
2852
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:229:in `block in constantize'
2853
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `each'
2854
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `constantize'
2855
+ activesupport (3.2.2) lib/active_support/dependencies.rb:554:in `get'
2856
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:63:in `controller_reference'
2857
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:48:in `controller'
2858
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:26:in `call'
2859
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
2860
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
2861
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
2862
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
2863
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2864
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
2865
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
2866
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
2867
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2868
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
2869
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
2870
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
2871
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
2872
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
2873
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
2874
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2875
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__2027964903203305163__call__309087427214612025__callbacks'
2876
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
2877
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2878
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
2879
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2880
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
2881
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2882
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2883
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2884
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
2885
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
2886
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2887
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2888
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2889
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2890
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2891
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
2892
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
2893
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
2894
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2895
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
2896
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2897
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2898
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2899
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2900
+
2901
+
2902
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
2903
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
2904
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.2ms)
2905
+
2906
+
2907
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:18:46 +0100
2908
+ Processing by HomeController#index as PDF
2909
+ Rendered home/index.pdf.prawn (98.4ms)
2910
+ Completed 500 Internal Server Error in 102ms
2911
+
2912
+ ArgumentError (wrong number of arguments (1 for 0)):
2913
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2914
+ app/controllers/home_controller.rb:3:in `index'
2915
+
2916
+
2917
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (38.3ms)
2918
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
2919
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (47.2ms)
2920
+
2921
+
2922
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:19:02 +0100
2923
+ Processing by HomeController#index as PDF
2924
+ Rendered home/index.pdf.prawn (91.4ms)
2925
+ Completed 500 Internal Server Error in 94ms
2926
+
2927
+ ArgumentError (wrong number of arguments (1 for 0)):
2928
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2929
+ app/controllers/home_controller.rb:3:in `index'
2930
+
2931
+
2932
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms)
2933
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
2934
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.3ms)
2935
+
2936
+
2937
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:19:04 +0100
2938
+ Processing by HomeController#index as PDF
2939
+ Rendered home/index.pdf.prawn (156.4ms)
2940
+ Completed 500 Internal Server Error in 159ms
2941
+
2942
+ ArgumentError (wrong number of arguments (1 for 0)):
2943
+ app/controllers/home_controller.rb:5:in `block (2 levels) in index'
2944
+ app/controllers/home_controller.rb:3:in `index'
2945
+
2946
+
2947
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.2ms)
2948
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
2949
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.8ms)
2950
+
2951
+
2952
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:19:45 +0100
2953
+ Processing by HomeController#index as PDF
2954
+ Rendered home/index.pdf.prawn (92.4ms)
2955
+ Completed 200 OK in 198ms (Views: 197.1ms | ActiveRecord: 0.0ms)
2956
+
2957
+
2958
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:21:39 +0100
2959
+ Processing by HomeController#index as PDF
2960
+ Rendered home/index.pdf.prawn (98.3ms)
2961
+ Completed 200 OK in 206ms (Views: 205.6ms | ActiveRecord: 0.0ms)
2962
+
2963
+
2964
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:22:23 +0100
2965
+ Processing by HomeController#index as PDF
2966
+ Rendered home/index.pdf.prawn (129.8ms)
2967
+ Completed 200 OK in 178ms (Views: 177.7ms | ActiveRecord: 0.0ms)
2968
+
2969
+
2970
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:26:54 +0100
2971
+ Processing by HomeController#index as PDF
2972
+ Rendered home/index.pdf.prawn (101.8ms)
2973
+ Completed 200 OK in 184ms (Views: 183.1ms | ActiveRecord: 0.0ms)
2974
+
2975
+
2976
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:27:17 +0100
2977
+ Processing by HomeController#index as PDF
2978
+ Rendered home/index.pdf.prawn (142.6ms)
2979
+ Completed 200 OK in 212ms (Views: 211.5ms | ActiveRecord: 0.0ms)
2980
+
2981
+
2982
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:29:20 +0100
2983
+ Processing by HomeController#index as PDF
2984
+ Rendered home/index.pdf.prawn (93.6ms)
2985
+ Completed 200 OK in 175ms (Views: 174.0ms | ActiveRecord: 0.0ms)
2986
+
2987
+
2988
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:29:23 +0100
2989
+ Processing by HomeController#index as PDF
2990
+ Rendered home/index.pdf.prawn (160.4ms)
2991
+ Completed 200 OK in 207ms (Views: 206.7ms | ActiveRecord: 0.0ms)
2992
+
2993
+
2994
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:31:50 +0100
2995
+ Processing by HomeController#index as PDF
2996
+ Rendered home/index.pdf.prawn (100.1ms)
2997
+ Completed 200 OK in 219ms (Views: 218.0ms | ActiveRecord: 0.0ms)
2998
+
2999
+
3000
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:32:05 +0100
3001
+ Processing by HomeController#index as PDF
3002
+ Rendered home/index.pdf.prawn (90.3ms)
3003
+ Completed 200 OK in 159ms (Views: 158.8ms | ActiveRecord: 0.0ms)
3004
+
3005
+
3006
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:33:13 +0100
3007
+ Processing by HomeController#index as PDF
3008
+ Rendered home/index.pdf.prawn (141.5ms)
3009
+ Completed 200 OK in 193ms (Views: 192.6ms | ActiveRecord: 0.0ms)
3010
+
3011
+
3012
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:33:16 +0100
3013
+ Processing by HomeController#index as PDF
3014
+ Rendered home/index.pdf.prawn (122.4ms)
3015
+ Completed 200 OK in 222ms (Views: 221.8ms | ActiveRecord: 0.0ms)
3016
+
3017
+
3018
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:35:50 +0100
3019
+ Processing by HomeController#index as PDF
3020
+ Completed 500 Internal Server Error in 14ms
3021
+
3022
+ ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder]}. Searched in:
3023
+ * "/Users/artansinani/ror/gambas/test/dummy/app/views"
3024
+ ):
3025
+ app/controllers/home_controller.rb:15:in `block (2 levels) in index'
3026
+ app/controllers/home_controller.rb:3:in `index'
3027
+
3028
+
3029
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (2.6ms)
3030
+
3031
+
3032
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:37:11 +0100
3033
+ Processing by HomeController#index as PDF
3034
+ Rendered home/index.pdf.prawn (2.7ms)
3035
+ Completed 200 OK in 137ms (Views: 136.8ms | ActiveRecord: 0.0ms)
3036
+
3037
+
3038
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:37:17 +0100
3039
+ Processing by HomeController#index as PDF
3040
+ Rendered home/index.pdf.prawn (0.0ms)
3041
+ Completed 200 OK in 158ms (Views: 157.3ms | ActiveRecord: 0.0ms)
3042
+
3043
+
3044
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:40:31 +0100
3045
+ Processing by HomeController#index as PDF
3046
+ Rendered home/index.pdf.prawn (2.3ms)
3047
+ Completed 200 OK in 135ms (Views: 134.9ms | ActiveRecord: 0.0ms)
3048
+
3049
+
3050
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:40:45 +0100
3051
+ Processing by HomeController#index as PDF
3052
+ Rendered home/index.pdf.prawn (0.0ms)
3053
+ Completed 200 OK in 163ms (Views: 162.6ms | ActiveRecord: 0.0ms)
3054
+
3055
+
3056
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:41:24 +0100
3057
+ Processing by HomeController#index as PDF
3058
+ Rendered home/index.pdf.prawn (29.3ms)
3059
+ Completed 200 OK in 137ms (Views: 136.1ms | ActiveRecord: 0.0ms)
3060
+
3061
+
3062
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:41:28 +0100
3063
+ Processing by HomeController#index as PDF
3064
+ Rendered home/index.pdf.prawn (0.0ms)
3065
+ Completed 200 OK in 118ms (Views: 117.8ms | ActiveRecord: 0.0ms)
3066
+
3067
+
3068
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:46:29 +0100
3069
+ Processing by HomeController#index as PDF
3070
+ Rendered home/index.pdf.prawn (30.3ms)
3071
+ Completed 500 Internal Server Error in 41ms
3072
+
3073
+ ArgumentError (index does not exist):
3074
+ app/controllers/home_controller.rb:15:in `block (2 levels) in index'
3075
+ app/controllers/home_controller.rb:3:in `index'
3076
+
3077
+
3078
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms)
3079
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
3080
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.6ms)
3081
+
3082
+
3083
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-30 23:47:31 +0100
3084
+ Processing by HomeController#index as PDF
3085
+ Rendered home/index.pdf.prawn (27.4ms)
3086
+ Completed 200 OK in 134ms (Views: 133.1ms | ActiveRecord: 0.0ms)
3087
+  (0.2ms) select sqlite_version(*)
3088
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3089
+  (0.0ms) PRAGMA index_list("schema_migrations")
3090
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3091
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3092
+
3093
+
3094
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-31 00:10:19 +0100
3095
+ Processing by HomeController#index as PDF
3096
+ Rendered home/index.pdf.prawn (28.2ms)
3097
+ Completed 200 OK in 136ms (Views: 135.7ms | ActiveRecord: 0.0ms)
3098
+
3099
+
3100
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-31 00:10:24 +0100
3101
+ Processing by HomeController#index as PDF
3102
+ Rendered home/index.pdf.prawn (0.0ms)
3103
+ Completed 200 OK in 119ms (Views: 118.7ms | ActiveRecord: 0.0ms)
3104
+
3105
+
3106
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-31 00:10:43 +0100
3107
+ Processing by HomeController#index as PDF
3108
+ Rendered home/index.pdf.prawn (0.0ms)
3109
+ Completed 200 OK in 93ms (Views: 92.5ms | ActiveRecord: 0.0ms)
3110
+
3111
+
3112
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-31 00:10:46 +0100
3113
+ Processing by HomeController#index as PDF
3114
+ Rendered home/index.pdf.prawn (0.0ms)
3115
+ Completed 200 OK in 124ms (Views: 123.9ms | ActiveRecord: 0.0ms)
3116
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
3117
+
3118
+
3119
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-31 00:12:10 +0100
3120
+ Processing by HomeController#index as PDF
3121
+ Rendered home/index.pdf.prawn (27.7ms)
3122
+ Completed 200 OK in 134ms (Views: 133.0ms | ActiveRecord: 0.0ms)
3123
+
3124
+
3125
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-31 00:14:24 +0100
3126
+ Processing by HomeController#index as PDF
3127
+ Rendered home/index.pdf.prawn (0.0ms)
3128
+ Completed 200 OK in 184ms (Views: 183.0ms | ActiveRecord: 0.0ms)
3129
+
3130
+
3131
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-31 00:24:29 +0100
3132
+
3133
+ SyntaxError (/Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:18: syntax error, unexpected keyword_end, expecting '}'
3134
+ end
3135
+ ^
3136
+ /Users/artansinani/ror/gambas/test/dummy/app/controllers/home_controller.rb:44: syntax error, unexpected $end, expecting keyword_end):
3137
+ activesupport (3.2.2) lib/active_support/dependencies.rb:469:in `load'
3138
+ activesupport (3.2.2) lib/active_support/dependencies.rb:469:in `block in load_file'
3139
+ activesupport (3.2.2) lib/active_support/dependencies.rb:639:in `new_constants_in'
3140
+ activesupport (3.2.2) lib/active_support/dependencies.rb:468:in `load_file'
3141
+ activesupport (3.2.2) lib/active_support/dependencies.rb:353:in `require_or_load'
3142
+ activesupport (3.2.2) lib/active_support/dependencies.rb:502:in `load_missing_constant'
3143
+ activesupport (3.2.2) lib/active_support/dependencies.rb:192:in `block in const_missing'
3144
+ activesupport (3.2.2) lib/active_support/dependencies.rb:190:in `each'
3145
+ activesupport (3.2.2) lib/active_support/dependencies.rb:190:in `const_missing'
3146
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:229:in `block in constantize'
3147
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `each'
3148
+ activesupport (3.2.2) lib/active_support/inflector/methods.rb:228:in `constantize'
3149
+ activesupport (3.2.2) lib/active_support/dependencies.rb:554:in `get'
3150
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:63:in `controller_reference'
3151
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:48:in `controller'
3152
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:26:in `call'
3153
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
3154
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
3155
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
3156
+ actionpack (3.2.2) lib/action_dispatch/routing/route_set.rb:594:in `call'
3157
+ actionpack (3.2.2) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
3158
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
3159
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
3160
+ actionpack (3.2.2) lib/action_dispatch/middleware/head.rb:14:in `call'
3161
+ actionpack (3.2.2) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
3162
+ actionpack (3.2.2) lib/action_dispatch/middleware/flash.rb:242:in `call'
3163
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
3164
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
3165
+ actionpack (3.2.2) lib/action_dispatch/middleware/cookies.rb:338:in `call'
3166
+ activerecord (3.2.2) lib/active_record/query_cache.rb:64:in `call'
3167
+ activerecord (3.2.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
3168
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
3169
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `_run__3476966306854301604__call__4147093475054804384__callbacks'
3170
+ activesupport (3.2.2) lib/active_support/callbacks.rb:405:in `__run_callback'
3171
+ activesupport (3.2.2) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
3172
+ activesupport (3.2.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
3173
+ actionpack (3.2.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3174
+ actionpack (3.2.2) lib/action_dispatch/middleware/reloader.rb:65:in `call'
3175
+ actionpack (3.2.2) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
3176
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
3177
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
3178
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
3179
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
3180
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
3181
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
3182
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
3183
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
3184
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
3185
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
3186
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
3187
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
3188
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
3189
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
3190
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
3191
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
3192
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
3193
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
3194
+
3195
+
3196
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.8ms)
3197
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
3198
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.8ms)
3199
+
3200
+
3201
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-31 00:24:44 +0100
3202
+ Processing by HomeController#index as PDF
3203
+ Rendered home/index.pdf.prawn (0.0ms)
3204
+ Completed 200 OK in 132ms (Views: 131.1ms | ActiveRecord: 0.0ms)