lib/ivy/serializers/documents/document.rb in ivy-serializers-0.3.0 vs lib/ivy/serializers/documents/document.rb in ivy-serializers-0.4.0

- old
+ new

@@ -26,10 +26,10 @@ def generate_included(generator) generator.included(self) unless @included_resources.empty? end def generate_included_resources(generator) - @included_resources.each_pair { |klass, resources| generator.included_resources(klass, resources) } + generator.included_resources(@included_resources) end def generate_relationships(generator, resource) @serializer.relationships(generator, resource) end