| Class | MetaSearch::Builder |
| In: |
lib/meta_search/builder.rb
|
| Parent: | Object |
Builder is the workhorse of MetaSearch — it is the class that handles dynamically generating methods based on a supplied model, and is what gets instantiated when you call your model‘s search method. Builder doesn‘t generate any methods until they‘re needed, using method_missing to compare requested method names against your model‘s attributes, associations, and the configured Where list.