diff --git a/lib/ontologies_linked_data/models/base.rb b/lib/ontologies_linked_data/models/base.rb index 9ed5d2e1..e0bf725c 100644 --- a/lib/ontologies_linked_data/models/base.rb +++ b/lib/ontologies_linked_data/models/base.rb @@ -46,7 +46,7 @@ def self.goo_attrs_to_load(attributes = [], level = 0) if attributes.first == :all (self.attributes + self.hypermedia_settings[:serialize_default]).uniq else - attributes + attributes - self.hypermedia_settings[:serialize_never] end elsif self.hypermedia_settings[:serialize_default].empty? self.attributes