environment_domain_constraint.rb 113 Bytes Edit Raw Blame History 1 2 3 4 5 class EnvironmentDomainConstraint def matches?(request) !Domain.hosting_profile_at(request.host) end end