diff --git a/src/ActiveRecord.php b/src/ActiveRecord.php index c5bc38f..90c28ba 100644 --- a/src/ActiveRecord.php +++ b/src/ActiveRecord.php @@ -119,20 +119,6 @@ public function attributes() return array_values($attributes); } - /** - * @return string the name of the index this record is stored in - */ - public static function index() - { - // return Inflector::pluralize(Inflector::camel2id(StringHelper::basename(get_called_class()), '-')); - return mb_strtolower(StringHelper::basename(get_called_class()) . 's'); - } - - public static function joinIndex() - { - return static::index(); - } - /** * Creates an active record instance. *