For has_one:
validates_presence_of :child_record validates_associated :child_record
For n children:
You should be able to use a validation on the model
validate :number_of_children
def number_of_children errors.add_to_base "Can only have n children" if children.length > n end