Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
ActionView::TemplateError (Connection reset by peer - SSL_connect) on line #9 of app/views/layouts/loggedin_layout.rhtml: 6: <div class="placement"> 7: <div id="logo"> 8: <h1> 9: <% if logged_in? and current_user.logo.exists? %> 10: <%= link_to image_tag(current_user.logo.url(:banner)), :controller => 'home' %> 11: <% else %> 12: <%= link_to image_tag("logo_small.png", :alt => "Pixily"), :controller => 'home' %> /opt/local/lib/ruby/1.8/net/http.rb:586:in `connect' /opt/local/lib/ruby/1.8/net/http.rb:586:in `connect' /opt/local/lib/ruby/1.8/net/http.rb:553:in `do_start' /opt/local/lib/ruby/1.8/net/http.rb:548:in `start' /opt/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/connection.rb:49:in `request' /opt/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/base.rb:69:in `request' /opt/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/base.rb:88:in `head' /opt/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/object.rb:203:in `about' /opt/local/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/object.rb:213:in `exists?' /opt/local/lib/ruby/gems/1.8/gems/paperclip-2.3.1.1/lib/paperclip/storage.rb:178:in `exists?' app/views/layouts/loggedin_layout.rhtml:9
This paste will be private.
From the Design Piracy series on my blog: