Use Rails factories from your frontend