Fix for format -> content_type. Gem upgrade