Elementary "OR" question

Hi --

David A. Black wrote:

Any thoughts?

model.errors will return an Errors object, even if it's empty. So it will always be true in the 'if' clause context. You'd probably want to do model.errors.empty?

Thank you so much! I didn't realize that. Works like a charm now.