ForageWeb.ForageView.forage_as_html

You're seeing just the function forage_as_html, go back to ForageWeb.ForageView module for more information.
Link to this function

forage_as_html(resource)

Displays a resource as HTML. The resource must implement support the ForageWeb.Display protocol.

This function works when the result is nil (it returns the empty string) and when the resource is an association that hasn't been loaded.