Hey I'm a bit new to the whole ORM thing. I have it working for the most part.
I have:
1 snippet related to 2 tags
When I search for the snippet, I want it to pull both tags...right now I'm only getting 1 of the tags.
Here is my code:
Snippet Model - http://pastecode.com/gw
Tag Model - http://pastecode.com/gx
Test controller to show tags - http://pastecode.com/gy
Any help would be appreciated.
Thanks.
Are you on 1.1-rc1? There's a known bug in there which has been fixed on Github in the 1.1-dev branch. It causes the relations to only return 1 result.