There are some question that repeat again and again…
The one I remember the most is why $model->save() not working
I hear it at the chat or forum every day…
Maybe you list here the most common question you meat here at the forum… and I can create wiki section with those questions with answers…
So from what I can remember:
-
why $model->save() not working
-
how to connect to database in controller
-
how to change site/action?id=123 to site/action/id
-
Call to a member function getAttributes() on a non-object …
-
why ActiveForm not doing ajax validation
-
how to use find / findByAttributes etc.
-
how to encrement decrement counter via query builder