Class: Ransack::Adapters::Mongoid::Base::Connection

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

Instance Method Summary collapse

Constructor Details

#initialize(model) ⇒ Connection

Returns a new instance of Connection.



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

def initialize model
  @model = model
end

Instance Method Details

#quote_column_name(name) ⇒ Object



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

def quote_column_name name
  name
end