title: How to know whether a model is new or not?
body: <pre><code>class Post &lt; ActiveRecord::Base
  end
  
  post = Post.new
  </code></pre>
  
  <p>How do I judge whether the 'post' is a new model which is not pulled from the database? </p>