This error turned out to be a problem with enabling
config.cache_classes. Setting config.cache_classes = true, I get the
nil.sorting error that I don't get when it's false, in development.

Any ideas?


On Sep 8, 3:16 am, "[email protected]"
<[email protected]> wrote:
> Hi,
>
> have you tried mongrel in prod mode on your dev system?
>
> --
> Volker
>
> On 7 Sep., 20:24, Abraham Neben <[email protected]> wrote:
>
> > By the way, I'm using Rails 2.3.4
>
> > On Sep 7, 12:29 am, Abraham Neben <[email protected]> wrote:
>
> > > My Admin::EventsController uses ActiveScaffold. Works perfectly
> > > locally on Mongrel, fails in production with this cryptic error having
> > > to do with Passenger. Any ideas?
>
> > > Processing Admin::EventsController#index (for 99.23.130.5 at
> > > 2009-09-07 03:18:22) [GET]
> > >  Parameters: {"action"=>"index", "controller"=>"admin/events"}
>
> > > NoMethodError (undefined method `sorting' for nil:NilClass):
> > >  passenger (2.2.5) lib/phusion_passenger/rack/request_handler.rb:95:in
> > > `process_request'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_request_handler.rb:
> > > 207:in `main_loop'
> > >  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:
> > > 378:in `start_request_handler'
> > >  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:
> > > 336:in `handle_spawn_application'
> > >  passenger (2.2.5) lib/phusion_passenger/utils.rb:183:in `safe_fork'
> > >  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:
> > > 334:in `handle_spawn_application'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in
> > > `__send__'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in
> > > `main_loop'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in
> > > `start_synchronously'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:163:in
> > > `start'
> > >  passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:
> > > 213:in `start'
> > >  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:262:in
> > > `spawn_rails_application'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:
> > > 126:in `lookup_or_add'
> > >  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:256:in
> > > `spawn_rails_application'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:
> > > 80:in `synchronize'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:
> > > 79:in `synchronize'
> > >  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:255:in
> > > `spawn_rails_application'
> > >  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:154:in
> > > `spawn_application'
> > >  passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:287:in
> > > `handle_spawn_application'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in
> > > `__send__'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in
> > > `main_loop'
> > >  passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in
> > > `start_synchronously'
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to