add rails backend