Module: SearchQd::SingletonMethods

Defined in:
lib/search_qd.rb

Instance Method Summary collapse

Instance Method Details

#search_qd(query, fields = nil) ⇒ Object

search method which provides possibility to define search columns (fields) if default columns should not be used



28
29
30
# File 'lib/search_qd.rb', line 28

def search_qd(query, fields=nil)
  where(search_qd_conditions(query, fields))
end