Market place exercise for Rails API