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

Venues controller now breaks on multiple Venue#create calls due to model validations #8

Open
dpritchett opened this issue Jul 2, 2015 · 0 comments

Comments

@dpritchett
Copy link
Contributor

We can replace most of those :create / :destroy cycles by just using a Geocoder library method. I actually tried to fix this myself and submit a PR but I went down a rabbit hole pretty quickly when I realized I didn't know what/if the fliter_venues_near_by method was doing.

> Geocoder.coordinates("90210")
Geocoder: HTTP request being made for http://maps.googleapis.com/maps/api/geocode/json?address=90210&language=en&sensor=false
=> [34.1030032, -118.4104684]
@dpritchett dpritchett changed the title Venues controller now breaks on multiple :create calls due to validations Venues controller now breaks on multiple Venue#create calls due to model validations Jul 2, 2015
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

No branches or pull requests

1 participant