Phoenix v1.3.4 mix phoenix.gen.model still uses web/?

In Phoenix v1.3.4 if I run mix phoenix.gen.model SomeModel some_models, it makes web/models/some_models.ex. But Phoenix v1.3.4 uses the lib/${app} and lib/${app}_web form of namespacing web concerns.

Am I missing something? Why is phoenix.gen.model still in v1.3.4 docs with pre-1.3.4 behavior without any note of this fact?

1 Like

They put the updated generators in a new namespace. You should use mix phx.gen.* In this particular case they even renamed the “model” generator to “schema”