- acls = Acl.where("address >>= ?", address)
- .and(Acl.where(:k => "allow_account_creation"))
- acls = acls.and(Acl.where(:domain => options[:domain])) if options[:domain]
- acls = acls.and(Acl.where(:mx => options[:mx])) if options[:mx]
-
- !acls.empty?