That's just the way it's designed to work. If you want to make sure it's not 
null, you'll need to also use validates_presence_of or validates :presence 
=> true

On Thursday, August 25, 2011 1:33:07 PM UTC-4, sreid wrote:
>
> Also, is there some reason why validates_associated does not throw an 
> exception on nil ? 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/QC0xq9zfciAJ.
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=en.

Reply via email to