Autoloading ip_addr since it is not automatically loaded in rails 3