Created
May 17, 2011 16:19
-
-
Save kidpollo/976778 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# When searching, you need to provide a latitude and longitude | |
# in the query so that | |
# these variables are accessible on the server. | |
Restaurant.search_tank("tasty", | |
:var0 => 47.689948, | |
:var1 => -122.363684, | |
# And we'll return all results sorted by distance | |
:function => 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment