Flowdock
method

match

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::DynamicScopeMatch
match(method) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.