jruby/jruby-rack — Issue #82: Issue with rails 2.3.14
Author: leenasn
Created: 2012-01-09 04:50:48+00:00
State: open

I am getting the following error when I run the app with latest trinidad server.

`undefined method 'raw_post' for nil:NilClass
org/jruby/RubyKernel.java:238:in 'method_missing'
/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/whiny_nil.rb:52:in 'method_missing'
/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/params_parser.rb:50:in 'parse_formatted_parameters'
/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/params_parser.rb:11:in 'call'
/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/session/cookie_store.rb:99:in 'call'
/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/failsafe.rb:26:in 'call'
/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/rack-1.1.3/lib/rack/lock.rb:11:in 'call'
/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/rack-1.1.3/lib/rack/lock.rb:11:in 'call'
/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:114:in 'call'
/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/reloader.rb:34:in 'run'
/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:108:in 'call'
file:/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/jruby-rack-1.1.2/lib/jruby-rack- 1.1.2.jar!/rack/adapter/rails.rb:36:in 'serve_rails'
file:/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/jruby-rack-1.1.2/lib/jruby-rack-1.1.2.jar!/rack/adapter/rails.rb:52:in 'call'
file:/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/jruby-rack-1.1.2/lib/jruby-rack-1.1.2.jar!/jruby/rack/rails.rb:186:in 'call'
file:/mnt/cc/installables/jruby-1.6.5.1/lib/ruby/gems/1.8/gems/jruby-rack-1.1.2/lib/jruby-rack-1.1.2.jar!/rack/handler/servlet.rb:20:in 'call' `

And as a fix I downgraded the jruby-rack version to 1.0.10 and now it works fine. Any patch to make it work with rails 2.3?