validates_associated not honoring :if
- by James Ferguson
I'm totally blocked on this.
See this pastie for sample code: http://pastie.org/990040
The first test will fail.
The user model validates an associated address model, but is only supposed to do it if a flag is true. In practice it does it all the time.
What is going on?