Only problem is that "ip_address" field. I've tried to get the ip_address 90,000 different ways and NONE of them work.

I was finally able to capture the ip_address in the user.edit form by doing:

<%= f.text_field :ip_address, :value => request.remote_ip %></div>

Now of course the problem is I want the ip address to automatically be saved in the user field whenever the user logs in or whenever a new user is created. to that end I have tried EVERYTHING and nothing has worked. I've tried: