title: Rails 3.2 Prevent Object from being Saved using Errors
body: <p>I have an ActiveRecord object and I would like to prevent it from being saved, without having permanent validations on the model. You used to be able to do something like this using <code>errors.add</code> but it doesn't look like it works anymore. </p>
  
  <pre><code>user = User.last
  user.errors.add :name, "name doesn't rhyme with orange"
  user.valid? # =&gt; true
  user.save   # =&gt; true
  </code></pre>
  
  <p>or</p>
  
  <pre><code>user = User.last
  user.errors.add :base, "my unique error"
  user.valid? # =&gt; true
  user.save   # =&gt; true
  </code></pre>
  
  <p>How can I prevent the user object from getting saved in Rails 3.2 without modifying it's model? </p>