Class: Ransack::Adapters::Mongoid::Base::Connection
- Inherits:
-
Object
- Object
- Ransack::Adapters::Mongoid::Base::Connection
- Defined in:
- lib/ransack/adapters/mongoid/base.rb
Instance Method Summary collapse
-
#initialize(model) ⇒ Connection
constructor
A new instance of Connection.
- #quote_column_name(name) ⇒ Object
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 |