Has IP Address Has IP Address is a helper to use IP addresses for model attributes in Ruby on Rails. Install gem install 'has_ip_address' or in your Gemfile gem 'has_ip_address' and then bundle Usage class Event < ActiveRecord::Base has_ip_address end