For our first hackathon, a few of us decided to build a “crushing it” meter - basically a simple web service that could grab business data and apply some marketing knowledge to output a single metric to a physical meter (powered by arduino).
Sinatra seemed like an obvious choice for the simple web app. Turned out getting sinatra to play nicely with ActiveRecord was a little trickier than originally thought and required some digging around. I’ve now put up an example app to hopefully help others out.