Hello!

Sometimes, especially on CI, some model is invalid and I get output like 
this:

Failure/Error:
  create(:invalid_user)

ActiveRecord::RecordInvalid:
  Record invalid

Now, I know I can access the error's `record` object and inspect it's 
errors, but obviously a remote test run does not offer such interactivity.

Why not print the validation errors in error message?
That way we'd get something like 'email: ["Taken"]' instead of the 
redundant "Record invalid".

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to