Class: Ransack::Adapters::ActiveRecordAdapter

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

Instance Method Summary collapse

Instance Method Details

#require_adapterObject


21
22
23
24
# File 'lib/ransack/adapters.rb', line 21

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

#require_constantsObject


17
18
19
# File 'lib/ransack/adapters.rb', line 17

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

#require_contextObject


26
27
28
# File 'lib/ransack/adapters.rb', line 26

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

#require_nodesObject


30
31
32
# File 'lib/ransack/adapters.rb', line 30

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

#require_searchObject


34
35
36
# File 'lib/ransack/adapters.rb', line 34

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