How to get visitor details

Hi guys,

I've tried to find a way to get the IP of a visitor to my site (rails app) but with no luck. Does anyone know how to get this?

Cheers, Paul

Hi Paul : request.remote_ip