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

undefined method `[]' for nil:NilClass #226

Closed
dblock opened this issue Mar 11, 2015 · 0 comments
Closed

undefined method `[]' for nil:NilClass #226

dblock opened this issue Mar 11, 2015 · 0 comments

Comments

@dblock
Copy link
Member

dblock commented Mar 11, 2015

/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-swagger-0.10.0/lib/grape-swagger.rb:342:in `block (2 levels) in parse_entity_models'
/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-swagger-0.10.0/lib/grape-swagger.rb:333:in `each'
/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-swagger-0.10.0/lib/grape-swagger.rb:333:in `block in parse_entity_models'
/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-swagger-0.10.0/lib/grape-swagger.rb:323:in `each'
/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-swagger-0.10.0/lib/grape-swagger.rb:323:in `parse_entity_models'
/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-swagger-0.10.0/lib/grape-swagger.rb:620:in `block in setup'
/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-0.11.0/lib/grape/endpoint.rb:47:in `call'
/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-0.11.0/lib/grape/endpoint.rb:47:in `block in generate_api_method'
/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-0.11.0/lib/grape/endpoint.rb:247:in `call'
/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-0.11.0/lib/grape/endpoint.rb:247:in `run'
/Users/dblock/.rvm/gems/ruby-2.0.0-p598/gems/grape-0.11.0/lib/grape/endpoint.rb:195:in `block in call!'

I have nested :dimensions do ... in a presenter that is documented as an entity.

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

1 participant