This is strange, given that `request.remote_ip.class` returns String. What if you use `request.remote_ip.to_s` instead of `request.remote_ip` everywhere?
If this does not fix it, than it looks like a bug to me. I also have an application where i store IP addresses, but i didn't try yet to find by ip, and the IP returned by `request.remote_ip` looked like a string to me. I would be interested to understand what's the difference. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

