Habtamable behavior

The basic idea behind this behavior is that you (well, once in a while) need to save two HABTM models

Read more

More pondering about HABTM (let's save new tags with a post)

There is a number of examples (some you can find even on this blog) on how to save a Post

Read more

How to validate HABTM data…

Update: Since writing of this article the ‘rule’ => ‘multiple’ has been implemented in cake core. It is much more

Read more

Saving extra fields in the join table (for HABTM models)

An interesting question came up on IRC today, which essentially boils down to: “How to save extra fields in the

Read more

HABTM and JOIN trickery with CakePHP

Update (10/7/2009)… this functionality has been rolled into Habtamable behavior An interesting question came up on IRC today… If I

Read more

Notes on CakePHP HABTM (Part 2, saving data)

If you haven’t read part 1, where I cover some HABTM basics, you should probably take a look at that

Read more
%d bloggers like this: