title: Is there a way to make a before_save conditional?
body: <p>I am trying to make a before_save in a rails app conditional, but it doesn't seem to be working.</p>
  
  <pre><code>before_save method_call_to_run if self.related_model.some_method_that_returns_t_or_f?
  </code></pre>
  
  <p>If the 'some_method_that_returns_t_or_f' returns true, I want it to run the method before it saves the object otherwise I just want it to ignore the before_save.</p>