Thursday, January 29, 2009

Re: Latest Cake Release breaks HABTM pagination

Hi,

first, sorry: I'm not a guru.

take a look to this Bakery post by Nate:

http://bakery.cakephp.org/articles/view/quick-tip-doing-ad-hoc-joins-in-model-find

it completely changed my view about the pagination issue when combined
with the custom finds beacause you can force joins on habtm
assocciations with no "hacks".

See this by Rafael Bandeira for pagination with custom finds:

http://rafaelbandeira3.wordpress.com/tag/pagination/

specially considering this alternative approach:

http://rafaelbandeira3.wordpress.com/2008/08/28/the-new-way-to-define-find-methods/
http://cakebaker.42dh.com/2008/09/23/an-alternative-way-to-define-custom-find-types/

El 29/01/2009, a las 1:31, aron escribió:

> the sql statement no longer does a join, when we replace the cake
> folder with the rc4 cake folder it works fine again. Any insight from
> any cake gurus?

--
Fran Iglesias
frankie@buabua.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: