fixes #6432 - attributes missing :presence => true