[Deprecated] DMZ 1.5.4 (DataMapper OverZealous Edition) |
[eluser]teddy3[/eluser]
http://www.overzealous.com/dmz/pages/adv...tions.html hello, I followed Multiple Relationships to the Same Model on the link above, but one thing is not working. after I set relationship between user and post as creator and editer, this method shows error. Code: $post= new Post(); if I run $this->creator->get(), it shows an error that join table does not have 'user_id' column. of course there is no user_id, there are only 'creator_id', 'editor_id'. Code: $post = new Post(); this one works perfect though ![]() please let me know if i am wrong. thanks |
Welcome Guest, Not a member yet? Register Sign In |