title: Elixir "no match of right hand side value" in controller Phoenix
body: <p>I'm using the framework Phoenix with Ecto Mongo and I'm trying to get all Groups(My model) and loop this in view.</p>
  
  <pre><code>@groups = Group |&gt; GlobalDocs.Repo.all
  </code></pre>
  
  <p>And I'm getting this message error:</p>
  
  <pre><code>no match of right hand side value: [%Group{__meta__: #Ecto.Schema.Metadata&lt;:loaded&gt;, avatar_url: nil, description: "", group_id: 123, id: "585ea2ce6e8dee0a6c04ecf6", name: "TryGroup", slug: "try_group"}]
  </code></pre>
  
  <p>Why this? If I run this in IEx, this code works.</p>
  
  <p>Thanks for this.</p>