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