yiisoft/yii2 — pull request #2958 by githubjeka (2014-04-02 09:01:29+00:00)
Title: Refactor ActiveQuery instead ActiveRecordInterface

Not work autocomplete for

```
class Sector extends \yii\db\ActiveRecord {
public function getLengthPairings()
{
return $this
->hasMany(Piping::className(), ['sector_id' => 'id'])
->sum('length'); //here sum not autocomplete
}
}
```