lorenzo / linkable

Linkable behavior is the intelligent friend of Containable behavior. It will re-setup your associations on the fly when you require to join more than one association in the same query
26 stars 9 forks source link

Fixed example in readme #2

Closed davidyell closed 11 years ago

davidyell commented 11 years ago

So having had a good opportunity to test using the example in the docs, I believe the example in the docs to be incorrect. So I've fixed it.

I have a paste here, http://bin.cakephp.org/saved/103260 of the behaviour.

lorenzo commented 11 years ago

I'm going to merge it anyway, but the other example is also valid. But this one could actually make some stuff a bit more clear.