vendor/plugins/searchgasm-1.0.2/lib/searchgasm/search/base.rb
# Used in the ActiveRecord methods to determine if Searchgasm should get involved or not.
# This keeps Searchgasm out of the way unless it is needed.
Used in the ActiveRecord methods to determine if Searchgasm should get involved or not.
This keeps Searchgasm out of the way unless it is needed.
Used in the ActiveRecord methods to determine if Searchgasm should get involved or not . This keeps Searchgasm out of the way unless it is needed .
def needed?(model_class, options)
          SPECIAL_FIND_OPTIONS.each do |option|
            return true if options.symbolize_keys.keys.include?(option)
          end
          Searchgasm::Conditions::Base.needed?(model_class, options[:conditions])
        end
def needed? ( model_class , options ) SPECIAL_FIND_OPTIONS . each do | option | return true if options . symbolize_keys . keys . include? ( option ) end Searchgasm :: Conditions :: Base . needed? ( model_class , options [ :conditions ] ) end
Used in the ActiveRecord methods to determine if Searchgasm should get involved or not.
Used in the ActiveRecord methods to determine if Searchgasm should get involved or not .
model_class
options