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

Fix exception when passing a nil value for a hash param required in a hash #185

Merged
merged 1 commit into from
Jan 25, 2014

Conversation

mtparet
Copy link
Contributor

@mtparet mtparet commented Jan 21, 2014

Previously the error raised was:

undefined method `has_key?' for nil:NilClass

https://github.com/Pajk/apipie-rails/blob/master/lib/apipie/validator.rb#L237

@iNecas
Copy link
Member

iNecas commented Jan 25, 2014

Nice! Merging now

@iNecas iNecas merged commit d7cbdf3 into Apipie:master Jan 25, 2014
@nlenepveu nlenepveu deleted the fix_nil branch January 27, 2014 10:51
@iNecas
Copy link
Member

iNecas commented Mar 3, 2014

Released in 0.1.0. Thank you for your help!

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

Successfully merging this pull request may close these issues.

2 participants