depot from rails class