Archive for the 'Quick Tips' Category

Installing the MySQL Ruby Gem on CentOS5

Monday, March 2nd, 2009

Pretty easy

yum install mysql-devel
gem install mysql — –with-mysql-config=/usr/bin/mysql_config –with-mysql-lib=/usr/lib/mysql

Controlling Whitespace with HAML

Thursday, July 31st, 2008

When displaying certain elements as inline, the whitespace between tags does matter in your layout.
When trying to display some LI tags as inline, I really needed to spit out the tags with no whitespace in between. Unfortunately HAMLs handy-dandy tag indenting was wrecking me. It was so bad, that I resorted to calling a helper [...]