How to get client ip?

Added by Steven Wong over 5 years ago

I used redmine 2.0.3, and recently, I want to write a plugin to get client ip on mypage? how could I do? Thanks.

Replies (1)

RE: How to get client ip? - Added by Steven Wong over 5 years ago

ok, I found it in rails.

request.remote_ip

(1-1/1)