Hi Dave,

Please show the code, not just write it again, but copy and paste it
into the post, so there are no possibilities of typos!
1) Show the controllers code (copy/paste it), how you are "pulling"
the Post information.
2) Show the model associations (copy/paste it).
Enjoy,
   John

On May 8, 1:54 am, "Dave Maharaj :: WidePixels.com"
<[email protected]> wrote:
> I am trying to pull a Post and the note associated to it from a Bookmark
> table but nothing is coming.
>
> POST hasMany
> 'Bookmark' => array(
>    'className' => 'Bookmark',
>    'foreignKey' => 'post_key',
>    'dependent' => true
>   ),
>
> BOOKMARK belngsTo
> 'Post' => array('className' => 'Post',
>            'foreignKey' => 'post_key',
>            ));
>
> BOOKMARK TABLE
> id
> user_id
> post_key
> note
>
> What is wrong with my associations?
> I tried contain but shows up empty inthe array, recursive 2 still the same,
> added dummy notes into the db for the particular post, but noting in the
> array
>
> Suggestions?
>
> Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to