public Method

AbstractRequest.host_with_port

Returns a host:port string for this request, such as example.com or example.com:8080.

Source Code

# File action_controller/request.rb, line 179
def host_with_port
  @host_with_port ||= host + port_string
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.