I think I found problem for ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR: relation "polls" does not exist
When load_config
is evaluated on database creation, it overrides migrations_paths
So this is what is happening when we try to evaluate db:create
and db:migrate
at the same time:
However, if we run them separately, paths are fine:
I think we got two options here:
- Change guides and recommend to use two commands separately
- Monkey patch and use
||=
What do you think?