Ruby on Rails Issues, Blog, Discussions
Discussions related to web development using Ruby on Rails
Wednesday, August 4, 2010
How to get the logged in user ip address in rails
ip_address = request.env['REMOTE_ADDR']
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment