dictionary - integrating GEOIP checker in ruby on rails project -


i building application registration. however, there requirement needs check location of person initiates registration. have downloaded csv database maxmind lite geoip database. need check 1 particular country's ip address.

i have extracted geoname_id, country_id , network address, current idea store these location in class dictionary, each time before user register can load dictionary , check geo ip.

however, have no idea how store or create dictionary , load it. can provide simple guide how should proceed? or there simple example.

thanks.


Comments

Popular posts from this blog

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

ruby - unknown property method: 'wait' on EC2 windows server Instance -