Project

General

Profile

Actions

Defect #3246

closed

NoMethodError (undefined method `group_by=' for #<Query:0x2aaaafdfa960>)

Added by Philippe Lafoucrière over 15 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-04-27
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi,

after upgrading this morning, I have an error in issues controller :

Processing IssuesController#index (for ww.xx.yy.aa at 2009-04-27 14:43:33) [GET]
  Parameters: {"project_id"=>"xxxx", "action"=>"index", "controller"=>"issues"}

NoMethodError (undefined method `group_by=' for #<Query:0x2aaaafdfa960>):
    /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb:255:in `method_missing'
    /app/controllers/issues_controller.rb:497:in `retrieve_query'
    /app/controllers/issues_controller.rb:47:in `index'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1253:in `send'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1253:in `perform_action_without_filters'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:617:in `call_filters'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/rescue.rb:136:in `perform_action_without_caching'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/caching/sql_cache.rb:13:in `passenger_orig_perform_action'
    /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
    /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/query_cache.rb:8:in `cache'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/caching/sql_cache.rb:12:in `passenger_orig_perform_action'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/railz/request_handler.rb:60:in `perform_action'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:524:in `send'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:524:in `process_without_filters'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:606:in `process_without_session_management_support'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/session_management.rb:134:in `process'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:392:in `process'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:183:in `handle_request'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in `dispatch_unlocked'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:123:in `dispatch'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `synchronize'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `dispatch'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:132:in `dispatch_cgi'
    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:39:in `dispatch'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/railz/request_handler.rb:45:in `process_request'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_request_handler.rb:203:in `main_loop'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/railz/application_spawner.rb:340:in `start_request_handler'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/railz/application_spawner.rb:298:in `handle_spawn_application'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/utils.rb:181:in `safe_fork'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/railz/application_spawner.rb:296:in `handle_spawn_application'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_server.rb:337:in `__send__'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_server.rb:337:in `main_loop'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_server.rb:187:in `start_synchronously'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_server.rb:154:in `start'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/railz/application_spawner.rb:192:in `start'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/spawn_manager.rb:257:in `spawn_rails_application'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/spawn_manager.rb:251:in `spawn_rails_application'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/spawn_manager.rb:250:in `spawn_rails_application'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/spawn_manager.rb:153:in `spawn_application'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/spawn_manager.rb:282:in `handle_spawn_application'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_server.rb:337:in `__send__'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_server.rb:337:in `main_loop'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/lib/phusion_passenger/abstract_server.rb:187:in `start_synchronously'
    /usr/lib/ruby/gems/1.8/gems/passenger-2.2.1/bin/passenger-spawn-server:55

Rendering /var/www/redmine/public/500.html (500 Internal Server Error)

Thanks

Actions

Also available in: Atom PDF