method
previously_new_record?
v6.1.7.7 -
Show latest stable
- Class:
ActiveRecord::Persistence
previously_new_record?()public
Returns true if this object was just created – that is, prior to the last save, the object didn’t exist in the database and new_record? would have returned true.