Google Maps Server-Side Clustering with Ruby on Rails (RoR)
While working on google maps in the past I have always ran into the same problems time and time again. One of those problems is the issue of clustering. Maps with simple markers and GManagers work great until you start working with a lot more information (10′s of thousands of markers). One could wonder “How is it possible to accurately show thousands of points while maintaining a quick application?”.
Finding the Biggest Group
An interesting undocumented piece of ActiveRecord I bumped into today is “count_all”. You can use this inside ActiveRecord count calls to do sorts and limits based on the count when you’re doing GROUP BY. I came across this because I was having a bit of trouble recently finding the Rails way to find the biggest [...]



Download our best practice guides on social media and student engagement.