validate?() public

Returns whether or not the association should be validated as part of the parent’s validation.

Unless you explicitly disable validation with :validate => false, validation will take place when:

  • you explicitly enable validation; :validate => true
  • you use autosave; :autosave => true
  • the association is a has_many association
Show source
Register or log in to add new notes.