Module: Mongoid::Haystack::Denormalization
- Defined in:
- lib/mongoid-haystack/search.rb
Defined Under Namespace
Classes: Results
Instance Method Summary collapse
Instance Method Details
#_denormalized ⇒ Object
199 200 201 |
# File 'lib/mongoid-haystack/search.rb', line 199 def _denormalized @_denormalized ||= (is_a?(Mongoid::Criteria) ? ::Mongoid::Haystack.denormalize(self) : self) end |