niko's corny joke machine - RoR implementation