rails validates multiple presence true code example
Example: ruby on rails validates presence of multiple fields
validates_presence_of :first_name, :last_name, :birthday, :sex, :home
validates_presence_of :first_name, :last_name, :birthday, :sex, :home