Skip to content

Ensure result before trying to use it as a Hash#2

Open
arvida wants to merge 1 commit intoearbits:masterfrom
arvida:ensure-result
Open

Ensure result before trying to use it as a Hash#2
arvida wants to merge 1 commit intoearbits:masterfrom
arvida:ensure-result

Conversation

@arvida
Copy link

@arvida arvida commented Jan 19, 2012

Was getting NoMethodError: undefined method[]' for nil:NilClass` when there was no more jobs to process, this ensures that the result object is not nil. 💃

cheers

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.

1 participant