Re: how to save HABTM data

2006-07-26 Thread bkuhns || (crash)
Well i figured out why cake was trying to query from a table that doesn't exist. But it's unrelated to my HABTM issue. The query debugging info now looks like this: 2 queries took 0 ms Nr Query Error AffectedNum. rows Took (ms) 1 SELECT id FROM comments ORDER BY id DESC

how to save HABTM data

2006-07-26 Thread bkuhns || (crash)
I've searched around looking for HABTM saving solutions, but for the last few days I can't seem to get this working... For my blog, I already had "Posts" and "Comments" set up with controller logic and model associations for "Posts has many comments". I wanted to make it so one "comments" table c

Re: hasMany + save()

2006-06-26 Thread bkuhns || (crash)
I'm no authority on this, but I do recall seeing this question in the IRC chatroom and I believe qwoo said you have to do the multiple save() approach. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" grou

Re: Cake Sheet

2006-06-23 Thread bkuhns || (crash)
Amazing! I, for one, am absolutely thrilled to see this. This will definitely become my first go-to before the API. Keep up the good work! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to

Re: fundamental dispatcher strategy flawed?

2006-05-31 Thread bkuhns || (crash)
Kace wrote: "A textbook hello-world app does not work when the action name was called "list", but works with another name "lists". Whose fault? Perhaps PHP" If you've been using PHP long enough to develop a few sites/apps *without* cakePHP, you should have come across the lovely list() [ http://p