class Acl < ActiveRecord::Base
def self.match(address, domain = nil)
if domain
class Acl < ActiveRecord::Base
def self.match(address, domain = nil)
if domain
def self.no_trace_download(address, domain = nil)
self.match(address, domain).where(:k => "no_trace_download").exists?
end
def self.no_trace_download(address, domain = nil)
self.match(address, domain).where(:k => "no_trace_download").exists?
end