We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
acts_as_mappable :default_units => :miles, :default_formula => :sphere, :distance_field_name => :distance, :lat_column_name => :o_lat, :lng_column_name => :o_lng
@journeys = Journey.find(:all, :origin=>[g.lat,g.lng]:conditions => [all_conditions, arguments],:order=>'distance')
I am getting unknown column distance
The text was updated successfully, but these errors were encountered:
I was also running into this problem on Rails 3.0.10. Here's what worked for me:
WeatherStation.find(:all, :origin => self.address) # old/broken WeatherStation.geo_scope(:origin => self.address) # new/working
Sorry, something went wrong.
No branches or pull requests
acts_as_mappable :default_units => :miles,
:default_formula => :sphere,
:distance_field_name => :distance,
:lat_column_name => :o_lat,
:lng_column_name => :o_lng
@journeys = Journey.find(:all, :origin=>[g.lat,g.lng]:conditions => [all_conditions, arguments],:order=>'distance')
I am getting unknown column distance
The text was updated successfully, but these errors were encountered: