Method: Mongoid::Threaded#selection
- Defined in:
- lib/mongoid/threaded.rb
#selection ⇒ Hash
Get the field selection options from the current thread.
186 187 188 |
# File 'lib/mongoid/threaded.rb', line 186 def selection Thread.current[:"[mongoid]:selection"] end |