Displaying 1 result from an estimated 1 matches for "last_ip".
Did you mean:
last_io
2008 Feb 24
1
Problems with request.remote_ip
Hello everyone,
I am trying to use request.remote_ip in my application to log a user''s
IP address because I have been having a lot of abuse issues. basically
when a user logs I simply call user.update_attribute(:last_ip,
request.remote_ip). The problem is that for some reason a lot of people
that have recently logged in still have NULL listed as their last_ip in
the database, even though it properly updates mine when I log in. Why
would request.remote_ip be null, and is there a way that I can at least
get some s...