Method: Mongoid::Document#new_record
- Defined in:
- lib/mongoid/document.rb
#new_record ⇒ Object (readonly)
Returns the value of attribute new_record.
31 32 33 |
# File 'lib/mongoid/document.rb', line 31 def new_record @new_record end |