IP address - integer conversion, activemodel and activerecord support for ip address attributes stored as integer