Posts Tagged “rails”
2017-07-03 Authoring a Private Gem with Gemfury
RubyGems are a great way to share code, but not all code is for the general public. This article illustrates a (semi-automatic) way and some workflow self-discipline to streamline private Gem authoring using the Gem hosting solution »Gemfury«.
2016-07-21 Dynamically proxy images via HTTPS using Camo
Loading insecure images from within an HTTPS page causes mixed-content warnings. camo is a secure image proxy that lets you get around that. This article explains how to tie camo into your Redcarpet and html-pipeline markdown parsing to rewrite your img tags.
2013-09-04 6 Things About Rails.vim I Didn't Know
I've been using the incredible Rails.vim plugin for almost three years. Looking into how to extend it with a particular feature, I found out that vim-rails 5.0 already had it. That and so much more I've been oblivious about…
2011-04-20 assert_select from String
Rails provides assert_select to check for specific contents in a rendered view. We can leverage the logic to make it work out of a rendered view context.
2011-04-01 HAProxy, X-HTTP-Forwarded-For and exposed exceptions
Having an application service instance on the same node as the HAproxy instance may expose critical data about your app's setup (e.g. filenames, libraries used). This article briefly describes how to avoid that.