I figured it out.
def set_current_ip
if params[:organization] && params[:host]
@getip = Getip.new
@getip.organization = params[:organization]
@getip.host = params[:host]
@getip.dyn_ip = request.env['REMOTE_ADDR']
I've seen several examples online about people wanting to record the
visitors remote IP Address for their own reasons. In my case I want to
record the IP address from a remote computer that uses a dynamic IP
address. I need this information saved without user interaction. Right
now I have a simple
2 matches
Mail list logo