Ruby On Rails Add Element To Python