Build out Rails for favorites resource