Hello, My first PDF report from rails. When i try to render "tab.render_on(pdf)", I get that error message. Thanks any help, Helder ================================================================ TypeError in ContasController#plano singleton can''t be dumped RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace /var/lib/gems/1.8/gems/transaction-simple-1.4.0/lib/transaction/simple.rb:129:in `dump'' /var/lib/gems/1.8/gems/transaction-simple-1.4.0/lib/transaction/simple.rb:129:in `start_transaction'' /var/lib/gems/1.8/gems/transaction-simple-1.4.0/lib/transaction/simple/group.rb:102:in `start_transaction'' /var/lib/gems/1.8/gems/transaction-simple-1.4.0/lib/transaction/simple/group.rb:102:in `each'' /var/lib/gems/1.8/gems/transaction-simple-1.4.0/lib/transaction/simple/group.rb:102:in `start_transaction'' /var/lib/gems/1.8/gems/pdf-writer-1.1.3/lib/pdf/simpletable.rb:397:in `render_on'' app/controllers/contas_controller.rb:64:in `plano'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in `send'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1095:in `perform_action_without_filters'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:632:in `call_filter'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:634:in `call_filter'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:638:in `call_filter'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:438:in `call'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:637:in `call_filter'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/rescue.rb:83:in `perform_action'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in `send'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:430:in `process_without_filters'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:624:in `process_without_session_management_support'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/session_management.rb:114:in `process'' /var/lib/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:in `process'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:78:in `process'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in `synchronize'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:76:in `process'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:618:in `process_client'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in `each'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:617:in `process_client'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `initialize'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `new'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:736:in `run'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `initialize'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `new'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:720:in `run'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:271:in `run'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in `each'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:270:in `run'' /var/lib/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:127:in `run'' /var/lib/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in `run'' /var/lib/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243 /var/lib/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load'' /var/lib/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load'' /var/lib/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in'' /var/lib/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:488:in `load'' /var/lib/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:60 /var/lib/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'' /var/lib/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in'' /var/lib/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require'' /var/lib/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---