hi all, i want to integrate jasper report with rails application. So i follow the instruction as given in the following link http://wiki.rubyonrails.org/rails/pages/HowtoIntegrateJasperReports But after that when i run this i got the following error NoMethodError in ReportController#report undefined method `env'' for nil:NilClass RAILS_ROOT: C:/reporting Application Trace | Framework Trace | Full Trace C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ whiny_nil.rb:52:in `method_missing'' C:/reporting/app/helpers/send_doc.rb:7:in `cache_hack'' C:/reporting/app/helpers/send_doc.rb:28:in `send_doc'' C:/reporting/app/controllers/report_controller.rb:6:in `report'' So at now what should i do to solve this error. and how can i recover this error. ?? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Soutom
2010-Jan-07 08:04 UTC
Re: Problem in jasper report intrgration with rails application
Hi.. please any one help me ...please On Jan 5, 4:35 pm, Soutom <soutom.dh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi all, > i want to integrate jasper report with rails application. So i follow > the instruction as given in the following link > > http://wiki.rubyonrails.org/rails/pages/HowtoIntegrateJasperReports > > But after that when i run this i got the following error > > NoMethodError in ReportController#report > > undefined method `env'' for nil:NilClass > RAILS_ROOT: C:/reporting > > Application Trace | Framework Trace | Full Trace > C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/ > whiny_nil.rb:52:in `method_missing'' > C:/reporting/app/helpers/send_doc.rb:7:in `cache_hack'' > C:/reporting/app/helpers/send_doc.rb:28:in `send_doc'' > C:/reporting/app/controllers/report_controller.rb:6:in `report'' > > So at now what should i do to solve this error. and how can i recover > this error. ??-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.