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