I initial had some trouble implementing this together with Mongoid. It turned out that the problem was in the mongoid.yml configuration file. When I changed
host: localhost
to
host: 0.0.0.0
Everything worked properly. I guess this is because having a proxy server messes with the meaning of localhost.
I initial had some trouble implementing this together with Mongoid. It turned out that the problem was in the
mongoid.yml
configuration file. When I changedto
Everything worked properly. I guess this is because having a proxy server messes with the meaning of
localhost
.Does this setup with pow and nginx interfere with mongoid?
I get a routing error with "uninitialized constant Model::Mongoid" when I use a Mongoid model.
The only thing I can think of is that the proxy some how gets in the way.
Has any one else experienced this?