Corrected documentation regarding validation errors

The calls to `ActiveRecord::Base#errors` in the guide seem to return a collection. The method actually returns a `ActiveModel::Errors` object.

I replaced the calls with `errors.messages` which returns the correct result.