Method: Mongoid::Atomic#atomic_attribute_name
- Defined in:
- lib/mongoid/atomic.rb
#atomic_attribute_name(name) ⇒ String
Returns path of the attribute for modification
65 66 67 |
# File 'lib/mongoid/atomic.rb', line 65 def atomic_attribute_name(name) ? "#{atomic_position}.#{name}" : name end |