Add validator to ActiveReocrd.