Class: Flex::Template::SlimSearch

Inherits:
Search show all
Defined in:
lib/flex/template/slim_search.rb

Instance Attribute Summary

Attributes inherited from Flex::Template

#method, #path

Attributes included from Common

#data, #name, #partials, #tags

Class Method Summary collapse

Methods inherited from Search

#initialize, #to_a, #to_msearch

Methods inherited from Flex::Template

#initialize, #render, #to_a, #to_source

Methods included from Common

#interpolate_partials, #setup

Methods included from Logger

#caller_line

Constructor Details

This class inherits a constructor from Flex::Template::Search

Class Method Details

.variablesObject

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