davidcelis / goodbre.ws

:beers: An example implementation of Recommendable. Unfortunately now defunct.
https://github.com/goodbrews
GNU General Public License v3.0
59 stars 11 forks source link

Filter recommendations by location #9

Open davidcelis opened 12 years ago

davidcelis commented 12 years ago

Now that Recommendable returns ActiveRecord::Relation objects, this should actually be pretty easy. Using geokit with a chained where() statement to filter based on country should be very doable.