lib/ddr/models/metadata/metadata.rb in ddr-models-3.0.0.beta.12 vs lib/ddr/models/metadata/metadata.rb in ddr-models-3.0.0.beta.13
- old
+ new
@@ -5,10 +5,10 @@
ADMIN_METADATA = 'admin_metadata'.freeze
DESC_METADATA = 'desc_metadata'.freeze
included do
def self.property_term(term)
- property_terms[term]
+ property_terms[term.to_sym]
end
end
def values(term)
self.send(term)