   end
 end)
 |> Enum.map(&Task.await/1)
+
+from(u in User, offset: 2, limit: 48)
+|> Repo.all
+|> Enum.map(&Task.async fn ->
+  example_user
+  |> build_assoc(:active_relationships)
+  |> Relationship.changeset(%{followed_id: &1.id})
+  |> Repo.insert!
+end)
+|> Enum.map(&Task.await/1)
+
+from(u in User, offset: 3, limit: 37)
+|> Repo.all
+|> Enum.map(&Task.async fn ->
+  example_user
+  |> build_assoc(:passive_relationships)
+  |> Relationship.changeset(%{follower_id: &1.id})
+  |> Repo.insert!
+end)
+|> Enum.map(&Task.await/1)


Faker.start

Helper.insert_user!("Example User", "example@railstutorial.org", "foobar", true)

1..99
|> Enum.map(&Task.async(Helper, :insert_user!, [Faker.Name.name, "example-#{&1}@railstutorial.org", "password"]))

alias PhMicroblog.{User, Micropost, Relationship, Repo}

import Ecto
import Ecto.Query
