alexreisner/geocoder — pull request #471 by eabraham (2013-06-20 16:33:44+00:00)
Title: Return ActiveRecord::Relation instead of nil

When an ActiveRecord::Base fails to be geocoded and methods like nearbys are called, the returned value is nil. Often this nil would break logic when chained with additional scopes and I would need to write extra code to check for nil. By returning an empty ActiveRecord::Relation this removes the need for that extra check.