Topic: Finding out what's invalid
I'm having a problem with an isvalid? unit test that is failing. How do I find out the reason that it's invalid.
I've tried doing:
assert d.errors.invalid?('task')where task is the thing I think is causing the problem, but no matter what I put instead of task I can't seem to find out what is invalid.