since 1999

The Rietta Blog

01/24/2012

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

Read More »

01/18/2012

Rails: Gmail Reply-To on Contact Form Email

Read More »

01/17/2012

Wikipedia *blackout* tomorrow in protest to SOPA/PIPA

Read More »

01/14/2012

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.

Read More »

01/09/2012

OpenSSL: Encrypt a File with a Password from the Command Line

Read More »

01/02/2012

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

Read More »

12/26/2011

How to automate copyright notice updates in Ruby on Rails

Read More »

12/21/2011

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!

Read More »

12/19/2011

Adding RANDOM alias to RAND in MySQL without Changing Ruby on Rails Code

Read More »

12/23/2009

iPhone + Mobile Camp Birmingham

Read More »