I\'m trying to do an order query that finds records nearest to the current_user.
I know the distance between the two points is: current_location.euclidean_distance
current_location.euclidean_distance
To wrap this up, with everyone's help I've got it working how I wanted:
order("ST_Distance(items.position, ST_GeomFromText('POINT (#{current_location.y} #{current_location.x})', #{SRID}))")