I have a table that amongst other things includes two columns,
“start_ip” and “end_ip”. Combined they express a range of IPs, say
Does anyoone know i use find to match an ip to a certain range?
Something along the lines of:
ip = “127.0.0.3”
ips = SwedishIp.find_by_something(ip)
Any help is most appreciated. Thanks!