Back-end (Ruby on Rails) for Teevy application