Opinions about designing, programming and using software

Category Archives: Web Development

How to Render a Rails View in a Rake Task

We recently took over maintenance of a Rails 2 project for a new client. The application had a view in CSV (comma separated value) format to allow exporting of data.  The client wanted to automate the export of the data, so I started looking for the easiest way to accomplish that.  Since there was already […]

.htaccess causes “500 Internal Server Error” with apache 2.2

I was adding 301 redirect rules to an .htaccess file for a client.  I had converted a site from static HTML to PHP, and wanted to make sure that external links were not broken.  After uploading the changes to the server and testing, I got the following error: Internal Server Error The server encountered an […]

How a Web Design Goes Straight to Hell

This is a brilliant comic from The Oatmeal.  Highly recommended.  It applies not only to web design, but to application and database development, and probably every other craft on the face of the planet.

IE8 Child Selector Weirdness

I wrote a few CSS rules for a page today and used the child selector “>”.  It wasn’t absolutely necessary, but I like to be precise when I can to avoid unexpected side effects.  It worked fine in Firefox, Safari and Chrome.  When I went to test IE8, it failed; the attributes were not applied.  […]