That data array shows that Cake is not trying to pull data from the
Author model as there should be at the very least an empty [0][Author]
array.  This means cake is not seeing your association for some
reason.

However, this is a very simple association, which it appears you have
defined correctly following all naming conventions, so I'm baffled as
to what is happening.

What happens if you try running the following in your BooksController?

echo debug($this->Book->Author->find('all'));

This is forcing the Book model to try and talk with the Author model
and should throw some error if Cake does not have them associated.

Paul

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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