Ruby on Rails ANalytics Code Sample