On Mar 4, 2006, at 10:59 AM, James Edward Gray II wrote: > I'm not 100% sure what the intended behavior is, but would changing > the unless as follows be better? > > unless content_type() == "/" > # ... > end That should have been: if content_type == "/" # ... end However, looking into it further, I now suspect the intended behavior was: unless main_type() # ... end James Edward Gray II