Change deprecated validates_presence_of

In Validations section the example contained "validates_presence_of" which is deprecated. It should be "validates :name, presence: true"