# File lib/active_record/dynamic_scope_match.rb, line 3 def self.match(method) ds_match = self.new(method) ds_match.scope ? ds_match : nil end