def associations_hash
      hash = {}
      @scope.associations.each do |association, options|
        hash.merge!(render_association(association, options))
      end
      hash
    end
def associations_hash
      hash = {}
      @scope.associations.each do |association, options|
        hash.merge!(render_association(association, options))
      end
      hash
    end
Collects associations for serialization.
 Associations can be overwritten in the serializer.

 @return [Hash]