jeudi 16 avril 2015

How to get host name in rails 3

I am facing an issue with the host name in rails 3.


I need to access host in `config/initializers/file.rb but without socket gem and any gem.


host like app url



www.app.com


Could you please let me know that how it would be possible for me.


Thanks in advance.


Aucun commentaire:

Enregistrer un commentaire