No function clause matching in Ecto.Changeset.cast

You are also using Phoenix 1.2, You should upgrade and use phx generator instead of phoenix generator.