gjb83

Results 3 comments of gjb83

Removing the `:select` would stop the query from returning the `distance` and `bearing` columns, but it would still be possible to [filter by radius](https://github.com/alexreisner/geocoder/blob/master/lib/geocoder/stores/active_record.rb#L123) and [sort by distance](https://github.com/alexreisner/geocoder/blob/master/lib/geocoder/stores/active_record.rb#L118). The scope...

Ideally, it would retain compatibility by requiring no argument and would read the origin location from the `near` scope. I'm not sure whether it is possible to access the scope...

I've just had a quick play, and it seems to be possible: ``` ruby class Item < ActiveRecord::Base scope :test, where(:name => 'Test') end ``` ``` ruby > items =...