class AddressRecord < Record
  validates :content, presence: true
end

require "resolv"

class AddressRecord < Record
  validates :content, presence: true, format: {with: Resolv::IPv4::Regex}
end

Make sure addresses are valid IPs
Make sure addresses are valid IPs
