Method: MongoMapper::Associations::ManyDocumentsProxy#method_missing

Defined in:
lib/mongo_mapper/associations/many_documents_proxy.rb

#method_missing(method, *args) ⇒ Object



89
90
91
92
93
94
95
96
97
# File 'lib/mongo_mapper/associations/many_documents_proxy.rb', line 89

def method_missing(method, *args)
  finder = DynamicFinder.new(method)
  
  if finder.found?
    dynamic_find(finder, args)
  else
    super
  end
end