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

Improve #137 with explicitly nil keys #155

Merged
merged 1 commit into from
Mar 24, 2014

Conversation

maxlinc
Copy link
Contributor

@maxlinc maxlinc commented Mar 19, 2014

Trying to see how sporkmonger's comment could be addressed:

I could go either way on that, though I think I would lean toward {"page"=>nil, "per_page"=>"20"} being the more correct return value.

I don't know if this is the best fix... I didn't spend too much time trying to grok the code. It's a one-line change that passes all the tests, though.

@sporkmonger
Copy link
Owner

This fails in REE. Looks like maybe an ordered Hash issue maybe? Not 100% sure. Code looks fine, I think it's just the test needs fixing.

sporkmonger added a commit that referenced this pull request Mar 24, 2014
Improve #137 with explicitly nil keys
@sporkmonger sporkmonger merged commit c0dd303 into sporkmonger:master Mar 24, 2014
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