サクサク読めて、アプリ限定の機能も多数!
ホスト名:ポート名 で取得する場合は request.host_with_port を使う
kjirouu のブックマーク 2013/11/20 17:20
Get hostname from Rails controller[rails] ホスト名:ポート名 で取得する場合は request.host_with_port を使う2013/11/20 17:20
このブックマークにはスターがありません。 最初のスターをつけてみよう!
stackoverflow.com2012/03/10
I am trying to get the hostname of the machine which a rails application is running on from the controller. What would be the best way to do this taking into account it should work on both windows ...
2 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /
ホスト名:ポート名 で取得する場合は request.host_with_port を使う
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Get hostname from Rails controller
I am trying to get the hostname of the machine which a rails application is running on from the controller. What would be the best way to do this taking into account it should work on both windows ...
2 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /