reworking craigslist challenge in rails