class ActiveFedora::Associations::CollectionProxy

def create!(attributes = {}, &block)

# => ActiveFedora::RecordInvalid: Validation failed: Name can't be blank
person.pets.create!(name: nil)

end
validates :name, presence: true
class Pet

end
has_many :pets
class Person

Like +create+, except that if the record is invalid, raises an exception.
def create!(attributes = {}, &block)
  @association.create!(attributes, &block)
end