lib/solis/model.rb in solis-0.64.0 vs lib/solis/model.rb in solis-0.65.0
- old
+ new
@@ -406,10 +406,11 @@
d = build_ttl_objekt2(graph, d, hierarchy, internal_resolve)
elsif self.class.graph.shape_as_model(d.name.to_s) && hierarchy.select{|s| s =~ /^#{d.name.to_s}/}.size == 0
internal_resolve = false
d = build_ttl_objekt2(graph, d, hierarchy, internal_resolve)
else
- d = "#{klass.class.graph_name}#{attribute.tableize}/#{d.id}"
+ #d = "#{klass.class.graph_name}#{attribute.tableize}/#{d.id}"
+ d = "#{klass.class.graph_name}#{d.name.tableize}/#{d.id}"
end
end
if d.is_a?(Array) && d.length == 1
d = d.first
\ No newline at end of file