Consistent hash syntax in media_resource model