On Fri, Nov 20, 2009 at 09:51:27AM -0800, Darian Shimy wrote:

> Did you look at validates_associated

Yes, didn't you see it included in the original post? Of course, that
doesn't mean it's being used correctly, or that the bug isn't somewhere
else. Even when calling save!, all I get is a terse message saying that
the user can't be validated.

Is there a way to force the test to be more verbose when evaluating
validations, especially those which take place in other models? I'm at a
bit of a loss to understand why a simple 'validates_associated :user'
doesn't work, but I'll bet a more detailed trace would shine a light on
it.

-- 
"Oh, look: rocks!"
        -- Doctor Who, "Destiny of the Daleks"

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=.


Reply via email to