Doing Analytics in Ruby.