fix bug where JSON.generate(["foo"], nil) raises NoMethodError: undefine... #106

Merged
merged 1 commit into from Sep 12, 2012

Conversation

Projects
None yet
2 participants
@f1sherman
Contributor

f1sherman commented Aug 3, 2012

...d method "has_key?" for nil:NilClass

This error is not generated with the vanilla JSON implementation

brianmario added a commit that referenced this pull request Sep 12, 2012

Merge pull request #106 from f1sherman/fix-generate-nil-opts-error
fix bug where JSON.generate(["foo"], nil) raises NoMethodError: undefine...

@brianmario brianmario merged commit 5d90659 into brianmario:master Sep 12, 2012

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