 <p><strong>new_record?()</strong> public<br> Returns true if this object hasn’t been saved yet — that is, a record for the object doesn’t exist yet; otherwise, returns false.<br> This method is deprecated on the latest stable version of Rails. </p> <p><strong>Edit:</strong><br> Oops, looks like the link was broken. Fixed. <a href="http://apidock.com/rails/ActiveRecord/Base/new_record%3F" rel="nofollow">new_record?</a></p>