title: Skip callbacks on Factory Girl and Rspec
body: <p>I'm testing a model with an after create callback that I'd like to run only on some occasions while testing. How can I skip/run callbacks from a factory?</p>
  
  <pre><code>class User &lt; ActiveRecord::Base
    after_create :run_something
    ...
  end
  </code></pre>
  
  <p>Factory:</p>
  
  <pre><code>FactoryGirl.define do
    factory :user do
      first_name "Luiz"
      last_name "Branco"
      ...
      # skip callback
  
      factory :with_run_something do
        # run callback
    end
  end
  </code></pre>