# File lib/active_record/dynamic_scope_match.rb, line 10 def self.match(method) return unless method.to_s =~ /^scoped_by_([_a-zA-Z]\w*)$/ new(true, $1 && $1.split('_and_')) end