A validation for the foreign key field on a belongs_to relationship
Located in /activerecord/lib/ActiveRecord/Association/BelongsTo.php (line 9)
ActiveRecord_Validation | --ActiveRecord_Association_BelongsToKeyValidation
Inherited from ActiveRecord_Validation
ActiveRecord_Validation::$condition
ActiveRecord_Validation::$type
Constructor
Validate the object provided. If the object is invalid, it is the responsibility of this method to add any errors appropriate to the object's error collection.
Inherited From ActiveRecord_Validation
ActiveRecord_Validation::__construct()
ActiveRecord_Validation::should_validate()
ActiveRecord_Validation::validate()
Inherited from ActiveRecord_Validation
ActiveRecord_Validation::ON_CREATE
ActiveRecord_Validation::ON_SAVE
ActiveRecord_Validation::ON_UPDATE
Documentation generated on Wed, 25 Apr 2012 09:46:41 -0700 by phpDocumentor 1.4.3