I'm new to RoR, and I followed and implemented the beginner Ruby On Rails Tutorial (2nd Edition) code, and its working great. For those who are unfamiliar, this creates a site that acts much like Twitter.
If someone enter the hex value for a color (say #ff0000 for red), I would like for ROR to convert that to an HTML color box representation in the post that is created. Any ideas on how to accomplish this?