This is the code from RailsGirls Sofia 2014