method

match

match(method)
public

No documentation available.

# File activerecord/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