geokit / geokit-rails

Official Geokit plugin for Rails/ActiveRecord. Provides location-based goodness for your Rails app. Requires the Geokit gem.
MIT License
1.57k stars 245 forks source link

Using :joins creates multiple INNER JOIN statements - error #11

Closed xpepermint closed 3 years ago

xpepermint commented 14 years ago

Example: @markers = Marker.find_within(@distance, :origin => @origin, :include => [:tags], :joins => [:user, :point], :conditions => ['markers.xy=? AND tags.tag=?', 'xxx', 'yyy'], :order => 'distance')

ryankopf commented 3 years ago

I am closing all issues that are more than 6 years old now, as the gem has had significant updates and is likely people with these old issues are no longer having the issues. If you are currently still experiencing this issue or need help feel free to submit a new issue, thank you.