Get all the documents in the relation that are loaded into memory.
Get the in memory documents.
relation.in_memory
Returns:
The documents in memory.
Since:
2.1.0
17 18 19
# File 'lib/mongoid/relations/one.rb', line 17 def in_memory [ target ] end