module ActiveRecord::DynamicMatchers

def respond_to_missing?(name, _)

def respond_to_missing?(name, _)
  if self == Base
    super
  else
    match = Method.match(self, name)
    match && match.valid? || super
  end
end