Alex
Alex
@githubjeka :+1:
In this case there is need to use the validator string instead of safe
@cebe, not in plain Model, an instance of the class ActiveDataProvider I just checked and I have everything working perfectly ``` php ```
@cebe  ``` php class UserSearch extends Model { // ... public $email; public function rules() { return [ // ... [['email'], 'string'], ]; } public function search($params) { $query...
@lynicidn I think you better create a new issue
@Faryshta, Scenarios only need to edit data, and search nothing should be written, that it is proposed to inherit the Search model from the parent class, and Model. Thus the...
@Faryshta, I understand you about this [login form](https://github.com/yiisoft/yii2-app-advanced/blob/master/common/models/LoginForm.php) is now trying to tell, but there are no scenarios.
@Faryshta SCENARIO is a good tool for small tasks. But we are talking about [Composite pattern](https://en.wikipedia.org/wiki/Composite_pattern)
Also interested in this question
For php7, this library no longer makes sense https://github.com/tony2001/php-judy/pull/3#issuecomment-193511739