RailsCasts Pro episodes are now free!

Learn more or hide this

baruchlubinsky's Profile

GitHub User: baruchlubinsky

Comments by

Avatar

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.

Avatar

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?