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

0.2.4 breaks rails cache #53

Closed
espen opened this issue May 6, 2013 · 6 comments
Closed

0.2.4 breaks rails cache #53

espen opened this issue May 6, 2013 · 6 comments

Comments

@espen
Copy link

espen commented May 6, 2013

meta_request-0.2.4/lib/meta_request/log_interceptor.rb:7:in `block (2 levels) in module:LogInterceptor': wrong number of arguments (0 for 1) (ArgumentError)

Any call to Rails.cache

@dejan
Copy link
Owner

dejan commented May 6, 2013

What version of Rails? What cache store? What Ruby version? Thanks.

@espen
Copy link
Author

espen commented May 6, 2013

ruby '2.0.0'
gem 'rails', '3.2.13'
gem 'dalli', '2.6.2'

Sorry haven't done much research for this but pinning meta_request to 0.2.3 works and 0.2.4 breaks in my app.

@thisisadam
Copy link

I was able to recreate the (or a similar) issue. Seems like it's failing if you try to pass a block to the Rails logger.

If I include the 'meta_request' gem and run "Rails.logger.debug { 'Test' }" I get the ArgumentError from above. Same gems and versions as espen.

@thedanbob
Copy link

Same issue on rails 4.0.0.rc1, this line in the Dalli gem dies: Dalli.logger.debug { "Dalli::Server#connect #{hostname}:#{port}" }

dejan added a commit that referenced this issue May 8, 2013
@dejan
Copy link
Owner

dejan commented May 8, 2013

Fixed. Please upgrade meta_request gem.

@dejan dejan closed this as completed May 8, 2013
@Bodacious
Copy link

updating meta_request worked for me

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

5 participants