Class: Ransack::Adapters::MongoidAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/ransack/adapters.rb

Instance Method Summary collapse

Instance Method Details

#require_adapterObject


44
45
46
47
# File 'lib/ransack/adapters.rb', line 44

def require_adapter
  require 'ransack/adapters/mongoid/ransack/translate'
  require 'ransack/adapters/mongoid'
end

#require_constantsObject


40
41
42
# File 'lib/ransack/adapters.rb', line 40

def require_constants
  require 'ransack/adapters/mongoid/ransack/constants'
end

#require_contextObject


49
50
51
# File 'lib/ransack/adapters.rb', line 49

def require_context
  require 'ransack/adapters/mongoid/ransack/visitor'
end

#require_nodesObject


53
54
55
# File 'lib/ransack/adapters.rb', line 53

def require_nodes
  require 'ransack/adapters/mongoid/ransack/nodes/condition'
end

#require_searchObject


57
58
59
# File 'lib/ransack/adapters.rb', line 57

def require_search
  require 'ransack/adapters/mongoid/ransack/context'
end