Move validates_each into HasAttachedFile class