You should look at the request
object that's available from the controller. There are a bunch of methods like
request.remote_ip
you can read more about the Request object on the Rails API site
Scott
2009-05-12 02:46:34