Skip to content

Instantly share code, notes, and snippets.

@ql
Created May 28, 2010 05:07
Show Gist options
  • Save ql/416785 to your computer and use it in GitHub Desktop.
Save ql/416785 to your computer and use it in GitHub Desktop.
NoMethodError: undefined method `call' for nil:NilClass
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/named_scope.rb:97:in `with_categories'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_collection.rb:380:in `send'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_collection.rb:380:in `method_missing_without_paginate'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/base.rb:2143:in `with_scope'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:206:in `send'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:206:in `with_scope'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_collection.rb:376:in `method_missing_without_paginate'
[PROJECT_ROOT]/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:167:in `method_missing'
[GEM_ROOT]/gems/thinking-sphinx-1.3.16/lib/thinking_sphinx/active_record/has_many_association.rb:19:in `method_missing'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:145:in `send'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:145:in `send'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/named_scope.rb:178:in `method_missing'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/base.rb:2143:in `with_scope'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:206:in `send'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:206:in `with_scope'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/named_scope.rb:113:in `__send__'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/named_scope.rb:113:in `with_scope'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/named_scope.rb:177:in `method_missing'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/base.rb:2143:in `with_scope'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:206:in `send'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/associations/association_proxy.rb:206:in `with_scope'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/named_scope.rb:113:in `__send__'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/named_scope.rb:113:in `with_scope'
[GEM_ROOT]/gems/activerecord-2.3.4/lib/active_record/named_scope.rb:174:in `method_missing'
[PROJECT_ROOT]/app/controllers/clans/posts_controller.rb:37:in `golden'
[GEM_ROOT]/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in `send'
[GEM_ROOT]/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment