Skip to content
Trey Terrell edited this page Aug 20, 2015 · 3 revisions

Re-Fetch

i = Image.find("oregondigital:3f462578h")
p = i.institution.first
p.fetch
p.rdf_label # => [whatyouwant]
p.persist!
i.save

You'll have to reindex

Assert Own Label

i = Image.find("oregondigital:3f462578h")
p = i.institution.first
p << [p.rdf_subject, RDF::SKOS.hiddenLabel, RDF::Literal.new("Oregon State University", :language => :en)]
p.persist!