Add rails backend