daily pastebin goal
14%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 213 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. ThinkingSphinx::Search.search('keywords',
  2.   :geo => [
  3.     degrees_to_radians(params[:lat].to_f),
  4.     degrees_to_radians(params[:lon].to_f)
  5.   ],
  6.   :latitude_attr  => "latitude",
  7.   :longitude_attr => "longitude"
  8. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top