Small Ad Server in Rails