Hi, was wandering why in this book validation is done using a long way instead of the short one. What I mean is, Why using? @validates :title, :description, :image_url, :presence => true@ instead of: @validates_presence_of :title, :description, :image_url@
I’ve just started using Rails and doesn’t know that much about it. However by googling seems no one but this book is not using @validates_presence_of@ which is a bit strange!