Class: Ransack::Adapters::ActiveRecordAdapter

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

Instance Method Summary collapse

Instance Method Details

#require_adapterObject


23
24
25
26
# File 'lib/ransack/adapters.rb', line 23

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

#require_constantsObject


19
20
21
# File 'lib/ransack/adapters.rb', line 19

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

#require_contextObject


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

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

#require_nodesObject


32
33
34
# File 'lib/ransack/adapters.rb', line 32

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

#require_searchObject


36
37
38
# File 'lib/ransack/adapters.rb', line 36

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