Preload with elixir and phoenix
<p>I'm running into this error when I'm trying to create a session with a user from the database. My user schema has_many projects So when I try to create the session I get this error</p>

<p><code>projects: #Ecto.Association.NotLoaded&lt;association :projects is not loaded&gt;</code></p>

<p>I think I understand what it is saying but I don't know where to preload the data so that the page will render here is the full error that I receive. </p>

<pre><code>defmodule PerriAir.Router do
 use PerriAir.Web, :router
 use Honeybadger.Plug
 use ExAdmin.Route    

 pipeline :browser do



protocol Enumerable not implemented for %PerriAir.User{__meta__: #Ecto.Schema.Metadata&lt;:loaded, "users"&gt;, id: 8, inserted_at: #Ecto.DateTime&lt;2016-12-23 15:38:38&gt;, password: nil, password_hash: "$2b$12$NxLaK3ZUVPLE23E1L.64GOjm7FtTLemXPUXsp6gSAP346is8e6d5e", projects: #Ecto.Association.NotLoaded&lt;association :projects is not loaded&gt;, updated_at: #Ecto.DateTime&lt;2016-12-23 15:38:38&gt;}
</code></pre>

<p>I'm new to elixir and phoenix so any help with this error would be appreciated!</p>