Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

record_cache doesn't work with AR associations #1

Open
ninjudd opened this issue Jun 24, 2010 · 0 comments
Open

record_cache doesn't work with AR associations #1

ninjudd opened this issue Jun 24, 2010 · 0 comments

Comments

@ninjudd
Copy link
Owner

ninjudd commented Jun 24, 2010

This is being passed in the keys to find_by_field:
{:select=>nil, :include=>nil, :conditions=>nil, :readonly=>nil}

NoMethodError: undefined method <<' for nil:NilClass from vendor/record_cache/lib/record_cache/index.rb:280:inget_records'
from vendor/record_cache/lib/record_cache/index.rb:277:in each' from vendor/record_cache/lib/record_cache/index.rb:277:inget_records'
from vendor/record_cache/lib/record_cache/index.rb:270:in each_slice' from vendor/record_cache/lib/record_cache/index.rb:270:inget_records'
from vendor/memcache/lib/memcache.rb:264:in get_some' from vendor/record_cache/lib/record_cache/index.rb:262:inget_records'
from vendor/memcache/lib/memcache.rb:101:in in_namespace' from vendor/record_cache/lib/record_cache/index.rb:256:inget_records'
from vendor/record_cache/lib/record_cache/index.rb:105:in find_by_field' from vendor/record_cache/lib/record_cache.rb:218:infind_by_facebook_uid'
from vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb:49:in send' from vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb:49:infind_targ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant