Rake task: validate all objects in database