validating relationship exists

Validates_associated will check the referenced object exists (ie a director with that id is in the Directors table). Validated_presence_of will make sure a value has been specified when you are creating a movie (you can't pass a null/nil value when creating a new movie). Between the two you should have what you need, but to be sure you could implement a before_create filter in the Movie model if you need to do fancy stuff.