private function getModelNameFromClass($model_class)
    {
        if (($pos = strrpos($model_class, '\\')) !== false) {
            return Inflector::pluralize(Inflector::tableize(substr($model_class, $pos + 1)));
        } else {
            return Inflector::pluralize(Inflector::tableize($model_class));
        }
    }