make rich_cms compatible for rails 4 with assets