Skip to content

Commit

Permalink
Merge pull request #151 from richessler/patch-1
Browse files Browse the repository at this point in the history
Docs for `find_closest` on model is incorrect
  • Loading branch information
ryankopf authored Jan 21, 2023
2 parents 3b024ef + 17a283a commit fa16769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ Just has you can pass an IP address directly into an ActiveRecord finder
as the origin, you can also pass a physical address as the origin:

```ruby
Location.find_closest(:origin => '100 Spear st, San Francisco, CA')
Location.closest(:origin => '100 Spear st, San Francisco, CA')
```

where the physical address would be geocoded to a location and then the
Expand Down

0 comments on commit fa16769

Please sign in to comment.