Alexander Makarov

Results 1744 comments of Alexander Makarov

No, it's correct place. I've asked because I want to understand your use case to get a better recipe.

In general, you need to create a model for that junction table and use it via relations.

http://yiiframework.ru/forum/viewtopic.php?f=4&t=7486

@Webkadabra tried debugging it? Any idea why it happens? Does actual table schema/model code matters? Could it be reproduced with data-less model with only a few fields and Gii-generated code?...

Having a context is OK but I'd not name it _POST since it is not.