Module: Ransack::Adapters

Defined in:
lib/ransack/adapters.rb,
lib/ransack/adapters/active_record/base.rb,
lib/ransack/adapters/active_record/context.rb

Defined Under Namespace

Modules: ActiveRecord Classes: ActiveRecordAdapter

Class Method Summary collapse

Class Method Details

.object_mapperObject


4
5
6
# File 'lib/ransack/adapters.rb', line 4

def self.object_mapper
  @object_mapper ||= ActiveRecordAdapter.new
end