def brainstem_present_object(objects, options = {})
      options.merge!(:params => params, :apply_default_filters => false)

      if objects.is_a?(ActiveRecord::Relation) || objects.is_a?(Array)
        raise ActiveRecord::RecordNotFound if objects.empty?
        klass = objects.first.class
        ids = objects.map(&:id)
      else
        klass = objects.class
        ids = objects.id
        options[:params][:only] = ids.to_s
      end

      if options[:key_map]
        raise "brainstem_present_object no longer accepts a :key_map.  Use brainstem_key annotations on your presenters instead."
      end

      brainstem_present(klass, options) { klass.where(:id => ids) }
    end
def brainstem_present_object(objects, options = {})
      options.merge!(:params => params, :apply_default_filters => false)

      if objects.is_a?(ActiveRecord::Relation) || objects.is_a?(Array)
        raise ActiveRecord::RecordNotFound if objects.empty?
        klass = objects.first.class
        ids = objects.map(&:id)
      else
        klass = objects.class
        ids = objects.id
        options[:params][:only] = ids.to_s
      end

      if options[:key_map]
        raise "brainstem_present_object no longer accepts a :key_map.  Use brainstem_key annotations on your presenters instead."
      end

      brainstem_present(klass, options) { klass.where(:id => ids) }
    end
Similar to ControllerMethods#brainstem_present, but always returns all of the given objects, not just those that
 match any provided filters.
 @option options [String] :namespace ("none") the namespace to be presented from
 @option options [Hash]   :key_map a Hash from Class name to json key name, if desired.
                           e.g., map 'SystemWidgets' objects to the 'widgets' key in the JSON.  This is
                           only required if the name cannot be inferred.
 @return (see PresenterCollection#presenting)