Erik A. Hanson's Weblog

Archive for February, 2006

A Bold Prompt in Bash

Posted: Sunday, February 12th, 2006    Tags: Howto

I wanted my Bash prompt to be bold and red so I could find my one line of input amongst the million lines of output in my terminal. I’m no Unix nerd, so I don’t really know offhand where to look for this info. After a bunch of Googling, I found something that works for me.

Join Tables with Attributes in Rails

Posted: Sunday, February 12th, 2006    Tags: Howto, Ruby on Rails

I had a little trouble today with join tables that contain attributes.