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. ??