Rails3: replace deprecated 'validate' method at CustomField model.
Authored by: tmaruyama 2011-08-31
Parent: [r6911]
Child: [r6913]