validates :k, :presence => true
def self.match(address, options = {})
acls = Acl.where("address >>= ?", address)
validates :k, :presence => true
def self.match(address, options = {})
acls = Acl.where("address >>= ?", address)
acls = acls.or(Acl.where(:mx => options[:mx])) if options[:mx]
acls
end
def self.no_account_creation(address, options = {})
acls = acls.or(Acl.where(:mx => options[:mx])) if options[:mx]
acls
end
def self.no_account_creation(address, options = {})