yiisoft/yii2 — pull request #2025 by samdark (2014-01-17 18:07:53+00:00)
Title: Fixes #2016: removed ability to declare scopes in ActiveRecord leaving it to ActiveQuery

This pull request is for fixing #2016.

- Removed ability to declare scopes in ActiveRecord leaving it to ActiveQuery
- Changed documentation accordingly.