How to get client ip address?

Is there a Rails equivalent of request.remote_ip?

Think this should be it:

request.ip