Rails implementation of the decorator pattern