since 1999

WGET to Keep New Rails Site in Memory

Atlanta Code Retreat on July 28th

mod_deflate: Dramatic website speed increase with Apache compression on Ubuntu Linux

How to supercharge your mobile visitor's experience with mod_deflate, which tends to provide a 62% to 72% savings on bandwidth required to deliver each page.

[Rails] Good Random Positive Integer

Rails: Point DNS to 127.0.0.1 to Test Wildcard Subdomains on WEBrick

Rails: Gmail Reply-To on Contact Form Email

Rails: TypeError: nil can't be coerced into Float

In Rails, whinny nil exceptions are a real pain. I like to use to_f when computing float values because nil.to_f is 0.0.

Integrate Blog Content with your Rails 3 Website with Pure Ruby Code and RSS

How to automate copyright notice updates in Ruby on Rails

Conditionally Including Resources on SSL or non-SSL to Avoid Mixed Content Security Warnings in Ruby on Rails

When building content that can be delivered on an encrypted HTTPS connection it is necessary to reference all of the embedded resources, 3rd party badge images, embedded YouTube videos, etc, from an HTTPS url. Otherwise a mixed content error will imply to your users that the website is not safe, ouch!