class ActiveFedora::ConstraintError
b.title = b.title
# which prevents us from doing:
b.title # Raises ConstraintError
b.resource.title = [‘foo’, ‘bar’]
b = Book.new
end
property :title, predicate: RDF::Vocab::DC.title, multiple: false
class Book < ActiveFedora::Base
This helps to prevent overwriting multiple values with a single value when round tripping:
Raised when the data has more than one statement for a predicate, but our constraints say it’s singular