Method: Mongoid::Atomic#atomic_path
- Defined in:
- lib/mongoid/atomic.rb
#atomic_path ⇒ String
Return the path to this Document
in JSON notation, used for atomic updates via $set in MongoDB.
140 141 142 |
# File 'lib/mongoid/atomic.rb', line 140 def atomic_path atomic_paths.path end |