method

match

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: Method
match(model, name) 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_matchers.rb, line 31
        def match(model, name)
          klass = matchers.find { |k| name =~ k.pattern }
          klass.new(model, name) if klass
        end
Register or log in to add new notes.