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.
169 170 171 |
# File 'lib/mongoid/atomic.rb', line 169 def atomic_path atomic_paths.path end |