def to_a
      generate_builders

      if template_cache_configured? && Rabl.configuration.use_read_multi
        map_engines_to_builders
        read_cache_results
        replace_engines_with_cache_results
      end

      result = @builders.map(&:to_hash)
      result = result.map(&:presence).compact if Rabl.configuration.exclude_empty_values_in_collections
      result
    end
def to_a
      generate_builders

      if template_cache_configured? && Rabl.configuration.use_read_multi
        map_engines_to_builders
        read_cache_results
        replace_engines_with_cache_results
      end

      result = @builders.map(&:to_hash)
      result = result.map(&:presence).compact if Rabl.configuration.exclude_empty_values_in_collections
      result
    end
Constructs a new MultiBuilder given the data and options.
 The options will be re-used for all Rabl::Builders.
 Rabl::MultiBuilder.new([#<User ...>, #<User ...>, ...], { :format => 'json', :child_root => true })
 Returns the result of all of the builders as an array