I have errors in the model as opposed to the model fields, so they are added to the [: base] errors. In my simple form code, I use:
<%= f.error_notification %>
This shows common errors, but not basic errors. How to view basic erros?
Just add
<%= f.error :base %>
which will show the basic errors at the top of the form.
error_notification accepts the message parameter if you want to override it using any basic error messages.
error_notification
message
<%= f.error_notification message: f.object.errors[:base].to_sentence %>