Change deprecated validates_presence_of to new

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