Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Are class types enforced on ActiveTriples properties?
class MyDatastream < ActiveFedora::RDFDatastream
property :foo, predicate:''), class_name: 'Foo'
my_ds =
# I would expect this to whine.. but it doesn. = "this is definitely not a Foo"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment