RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jOBrian
Just kidding super awesome tutorial.... Great work
I'm actually interested in the nearby function. So what I want is that when a user(x) logs in his/her location (lat/long) is calculated and the updated in the database. If another user(y) logs in the nearby function should be able to check if user x is in a 50 mile radius or not. If yes then show it on the main page.... How do I do that please help.