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 address nil error #155

Merged
merged 2 commits into from
Jan 28, 2016
Merged

Conversation

swanandp
Copy link
Contributor

When gd$street or gd$formattedAddress are empty, then the parser throws up NoMethodError and fails to parse the contacts.

A simple fix is to just check if params are nil.

rubytastic added a commit that referenced this pull request Jan 28, 2016
@rubytastic rubytastic merged commit 240029c into Diego81:master Jan 28, 2016
@swanandp swanandp deleted the fix-address-nil-error branch November 23, 2016 10:34
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