title: Rails delayed_job in development environment
body: <p>Say you have a mailer with an action in Rails, being called from some model using <code>delay</code>, for example:</p>
  
  <pre><code>class ReportMailer &lt; ActionMailer::Base
  
    default from: "hello@shopstar.co.za"
  
    def order_received(order)
      @order = order
      mail(:to =&gt; @order.shop.email, :subject  =&gt; "You have a new order on Shopstar")
    end
  end
  </code></pre>
  
  <p>order.rb:</p>
  
  <pre><code>      if self.shop.email_preference.on_order?
         ReportMailer.delay.order_received(self) unless self.source == "pos"
        end
  </code></pre>
  
  <p>Will this send the mail from a development environment?</p>
  
  <p>and</p>
  
  <p>Will this send the mail in the production version?</p>