Argument error: Unknown key(s): count_includes


#1

Hi,

I upgraded to rails 2.1. This in turn broke my active_scaffolds plugin
however, the AS team had a newer version that could handle 2.1

So I install that, and now I find a new error which seems unrelated to
the AS issue.

I receive this message:

Code :

  1. ArgumentError in CategoryController#index
  2. Unknown key(s): count_includes

What does this mean? Google will not tell me :-P.

Anyways, here is the full trace file (which I do not understand)

Code :

/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/core_ext/hash/keys.rb:47:in
assert_valid_keys' 2. lib/finder.rb:80:infind_page’
3. vendor/plugins/active_scaffold/lib/actions/list.rb:63:in do_list' 4. vendor/plugins/active_scaffold/lib/actions/list.rb:33:inlist’
5. vendor/plugins/active_scaffold/lib/actions/list.rb:8:in index' 6. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:insend’
7.
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:in
perform_action_without_filters' 8. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:579:incall_filters’
9.
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:572:in
perform_action_without_benchmark' 10. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue’
11. /usr/lib/ruby/1.8/benchmark.rb:293:in measure' 12. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue’
13.
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/rescue.rb:201:in
perform_action_without_caching' 14. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/caching/sql_cache.rb:13:inperform_action’
15.
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in
cache' 16. /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.2/lib/active_record/query_cache.rb:8:incache’
17.
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/caching/sql_cache.rb:12:in
perform_action' 18. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:529:insend’
19.
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:529:in
process_without_filters' 20. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/filters.rb:568:inprocess_without_session_management_support’
21.
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/session_management.rb:130:in
process' 22. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:389:inprocess’
23.
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:149:in
handle_request' 24. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:107:indispatch’
25.
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:in
synchronize' 26. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:104:indispatch’
27.
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:120:in
dispatch_cgi' 28. /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/dispatcher.rb:35:indispatch’

Thank you for any help you can provide, and I am more than happy to give
any additional information required.


#2

“count_includes” is likely a method provided by AS. I’d post this
error on their support forum.

On Nov 13, 7:34 pm, Caps L. removed_email_address@domain.invalid