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

NoMethodError: undefined method `with_indifferent_access' for #<Rack::Request:0x1060b304> #28

Closed
impythonista opened this issue Aug 3, 2013 · 1 comment

Comments

@impythonista
Copy link

Getting this error when going to run rspec.

Failure/Error: post resend_confirmation_path, :user => {:email => @user2.email}
NoMethodError:
undefined method `with_indifferent_access' for #Rack::Request:0x1060b304

Not sure why this is occurring, it was working before. pls suggest me on this asap.

@ktheory
Copy link
Collaborator

ktheory commented Aug 3, 2013

It seems like you're expecting a hash when you really have a Rack::Request object. Perhaps call with_indifferent_access on req.env instead of on req itself.

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

No branches or pull requests

3 participants