阅读背景:

如何更改rails中测试的默认“www.example.com”域?

来源:互联网 

I have a rails application which acts differently depending on what domain it's accessed at (for example www.myapp.com will invoke differently to user.myapp.com). In production use this all works fine but my test code always sees a hostname of "www.example.com".I have a rails application which acts different




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: