Make content_o_matic work in rails 3 with no warnings.