I should also add that after about 30 minutes or so - things start working. "Magically".
I am so confused right now. On Tue, Dec 14, 2010 at 12:52 PM, Joel Oliveira <joel.olive...@gmail.com>wrote: > This is driving me a little crazy. > > Server - phusion passenger & nginx, running in production mode. > Extensions installed : > > drag_order > file_system_resources > mailer > page_factory > page_parts > paperclipped > rbac_base > rbac_page_edit > settings > share_layouts > tags > wym_editor_filter > > After I restart one of my sites, visits to edit pages in the admin are met > with the following : > > ActionView::TemplateError (undefined method `include?' for nil:NilClass) on > line #26 of > /home/joel/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/gems/1.8/gems/radiant-0.9.1/app/views/admin/pages/_fields.html.haml: > 23: %a.popup{:href=> '#add_part_popup', :title=>t('add_part')} > 24: = image('add_tab', :alt=>t('add_part'), :title=>"") > 25: #pages.pages > 26: = render :partial => 'admin/page_parts/page_part', :collection > => @page.parts > 27: = render_region :parts_bottom, :locals => {:f => fields} > 28: - form.edit_layout_and_type do > 29: .set > > > > /home/joel/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/gems/1.8/gems/will_paginate-2.3.11/lib/will_paginate/finder.rb:168:in > `method_missing' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:11:in > `render' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:90:in > `non_haml' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:11:in > `render' > radiant (0.9.1) app/views/admin/pages/_fields.html.haml:26:in > `_run_haml_47home47joel4746rvm47rubies47ree451468467452010460247lib47ruby47gems47146847gems47radiant45046946147app47views47admin47pages47_fields46html46haml_locals_fields_object' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:343:in > `call' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:343:in > `capture_haml' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:545:in > `with_haml_buffer' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:339:in > `capture_haml' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:88:in > `capture' > radiant (0.9.1) lib/radiant/admin_ui/region_partials.rb:13:in > `method_missing' > radiant (0.9.1) app/views/admin/pages/_fields.html.haml:19:in > `_run_haml_47home47joel4746rvm47rubies47ree451468467452010460247lib47ruby47gems47146847gems47radiant45046946147app47views47admin47pages47_fields46html46haml_locals_fields_object' > radiant (0.9.1) app/helpers/admin/regions_helper.rb:6:in `call' > radiant (0.9.1) app/helpers/admin/regions_helper.rb:6:in > `render_region' > radiant (0.9.1) app/views/admin/pages/_fields.html.haml:6:in > `_run_haml_47home47joel4746rvm47rubies47ree451468467452010460247lib47ruby47gems47146847gems47radiant45046946147app47views47admin47pages47_fields46html46haml_locals_fields_object' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:11:in > `render' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:90:in > `non_haml' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:11:in > `render' > radiant (0.9.1) app/views/admin/pages/edit.html.haml:8:in > `_run_haml_47home47joel4746rvm47rubies47ree451468467452010460247lib47ruby47gems47146847gems47radiant45046946147app47views47admin47pages47edit46html46haml' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:204:in > `call' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:204:in > `form_for' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:567:in > `call' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:567:in > `haml_bind_proc' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:210:in > `form_for' > radiant (0.9.1) app/views/admin/pages/edit.html.haml:7:in > `_run_haml_47home47joel4746rvm47rubies47ree451468467452010460247lib47ruby47gems47146847gems47radiant45046946147app47views47admin47pages47edit46html46haml' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:343:in > `call' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:343:in > `capture_haml' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:545:in > `with_haml_buffer' > radiant (0.9.1) vendor/plugins/haml/rails/./lib/haml/helpers.rb:339:in > `capture_haml' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:88:in > `capture' > radiant (0.9.1) lib/radiant/admin_ui/region_partials.rb:13:in > `method_missing' > radiant (0.9.1) app/views/admin/pages/edit.html.haml:6:in > `_run_haml_47home47joel4746rvm47rubies47ree451468467452010460247lib47ruby47gems47146847gems47radiant45046946147app47views47admin47pages47edit46html46haml' > radiant (0.9.1) app/helpers/admin/regions_helper.rb:6:in `call' > radiant (0.9.1) app/helpers/admin/regions_helper.rb:6:in > `render_region' > radiant (0.9.1) app/views/admin/pages/edit.html.haml:3:in > `_run_haml_47home47joel4746rvm47rubies47ree451468467452010460247lib47ruby47gems47146847gems47radiant45046946147app47views47admin47pages47edit46html46haml' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:13:in > `render' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/haml/helpers/action_view_mods.rb:13:in > `render' > radiant (0.9.1) > vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb:20:in `process' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/rack/request_handler.rb:92:in > `process_request' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_request_handler.rb:207:in > `main_loop' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb:441:in > `start_request_handler' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb:381:in > `handle_spawn_application' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/utils.rb:252:in > `safe_fork' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb:377:in > `handle_spawn_application' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in > `__send__' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in > `main_loop' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:196:in > `start_synchronously' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:163:in > `start' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb:222:in > `start' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:253:in > `spawn_rails_application' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server_collection.rb:126:in > `lookup_or_add' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:247:in > `spawn_rails_application' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server_collection.rb:80:in > `synchronize' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server_collection.rb:79:in > `synchronize' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:246:in > `spawn_rails_application' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:145:in > `spawn_application' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:278:in > `handle_spawn_application' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in > `__send__' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in > `main_loop' > > > /home/joel/.rvm/gems/ree-1.8.7-2010.02/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:196:in > `start_synchronously' > > > I'm stumped. I thought it was the version of will_paginate I had there > (2.3.14) so I downgraded to 2.3.11 thinking that would help, and it didn't. > Has anyone run into this before or have advice on how I might go about > tracking this down. > > > > Thanks! > > - Joel >