Written content to help you along your web development journey, without forgetting to have some fun along the way.
It's nice and easy to reverse a ruby array. See how to easily convert a hash as well.
How to maintain HMT behavior on a polymorphic association.
Sometimes metadata isn't available. Other times you don't want to rely on it. Here's a method for finding related content using term frequency / inverse document frequency.
You can add JavaScript and CSS files to your master page if you want to overwrite some default styles or add some functionality via a new script.
When you can't use a JavaScript or CSS concatenater, this method can be useful for adding scripts and styles to your site on the fly.
Although I'm no expert, I've outlined the things I think you need to know to get started using Git.
How to extract post tags and make them into links while in The Loop.
Sometimes email is a good form of communication, and sometimes it's not.
It's not that hard, but I keep forgetting how to do it, so I wrote it down.