Class: Flex::Template::SlimSearch
- Inherits:
-
Search
- Object
- Flex::Template
- Search
- Flex::Template::SlimSearch
- Defined in:
- lib/flex/template/slim_search.rb
Instance Attribute Summary
Attributes inherited from Flex::Template
Attributes included from Common
#data, #name, #partials, #tags
Class Method Summary collapse
-
.variables ⇒ Object
removes the fields param (no _source returned) the result.loaded_collection, will load the records from the db.
Methods inherited from Search
#initialize, #to_a, #to_msearch
Methods inherited from Flex::Template
#initialize, #render, #to_a, #to_source
Methods included from Common
Methods included from Logger
Constructor Details
This class inherits a constructor from Flex::Template::Search
Class Method Details
.variables ⇒ Object
removes the fields param (no _source returned) the result.loaded_collection, will load the records from the db
7 8 9 |
# File 'lib/flex/template/slim_search.rb', line 7 def self.variables super.deep_merge!(:params => {:fields => ''}) end |