%h3 Using Rails

%p
  = link_to "Ruby on Rails", "http://rubyonrails.org"
  is an open-source web framework that's optimized for programmer
  happiness and sustainable productivity.
%p
  Depending on whether you want to send emails via Cuttlefish in your development or production environment either edit <code>config/environments/development.rb</code> or <code>config/environments/production.rb</code> and add the following:

%p
  :coderay
    #!ruby

    # Send #{app.name} mails to Cuttlefish (see http://cuttlefish.io)
    config.action_mailer.delivery_method = :smtp
    config.action_mailer.smtp_settings = {
      :address => "#{Rails.configuration.cuttlefish_domain}",
      :port => #{Rails.configuration.cuttlefish_smtp_port},
      :user_name => "#{app.smtp_username}",
      :password => "#{app.smtp_password}",
      :authentication => :plain
     }

%h3 Using Rails

%p
  = link_to "Ruby on Rails", "http://rubyonrails.org"
  is an open-source web framework that's optimized for programmer
  happiness and sustainable productivity.
%p
  Depending on whether you want to send emails via Cuttlefish in your development or production environment either edit <code>config/environments/development.rb</code> or <code>config/environments/production.rb</code> and add the following:

:coderay
  #!ruby

  # Send #{app.name} mails to Cuttlefish (see http://cuttlefish.io)
  config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = {
    :address => "#{Rails.configuration.cuttlefish_domain}",
    :port => #{Rails.configuration.cuttlefish_smtp_port},
    :user_name => "#{app.smtp_username}",
    :password => "#{app.smtp_password}",
    :authentication => :plain
   }

Make HTML valid - <pre> tags are not permitted in <p> tags
Make HTML valid - <pre> tags are not permitted in <p> tags
