# |
Sep 13th 2009, 19:35 |
markstory |
alunde: yeah, I don't know if the scaffolding fix was moved into 1.3 yet |
# |
Sep 13th 2009, 19:35 |
ionas |
(from your controller's action) |
# |
Sep 13th 2009, 19:35 |
ionas |
just a guess |
# |
Sep 13th 2009, 19:35 |
ionas |
iammisc, I am not sure if it works but try $this->log($this->render(...), 'debug'); and look in debug.log if it returned stuff to there as well |
# |
Sep 13th 2009, 19:34 |
harpoon1 |
Brain Teaser: I have an employees table which belongs to an employee_groups table. I also have a schedule_items table which will hold dates on which employees must attend an event. Is is ok if my employees table AND my employee_groups table both HABTM schedule_items table. So in my schedule_items table, I would have an employee_id AND an employee_groups_id field??? |
# |
Sep 13th 2009, 19:34 |
alunde |
As outlined in the 1.3 migration notes. |
# |
Sep 13th 2009, 19:34 |
alunde |
I was trying to follow the approved new methodology. |
# |
Sep 13th 2009, 19:34 |
iammisc |
how do i render a template and have the result returned to me as a string? |
# |
Sep 13th 2009, 19:33 |
ionas |
just include jquery via javascript helper and start |
# |
Sep 13th 2009, 19:33 |
ionas |
alunde, if its not ajax you do not need cake support at all |
# |
Sep 13th 2009, 19:33 |
alunde |
I reported it as a bug and was directed to GIT the latest. |
# |
Sep 13th 2009, 19:33 |
alunde |
But I found a problem with scaffolding. |
# |
Sep 13th 2009, 19:32 |
markstory |
the tar is broken, console has some problems. |
# |
Sep 13th 2009, 19:32 |
markstory |
yes |
# |
Sep 13th 2009, 19:32 |
alunde |
I had downloaded the 1.3-dev tar because I wanted to get my code using the new JQuery engine stuff. |
# |
Sep 13th 2009, 19:32 |
ionas |
1.3 will be mostly 1.2 compatible right? |
# |
Sep 13th 2009, 19:32 |
loceur |
thanks |
# |
Sep 13th 2009, 19:32 |
markstory |
that way 1.3 branch stays mostly stable. |
# |
Sep 13th 2009, 19:32 |
loceur |
ionas; k, yeah, jquery is easy enough |
# |
Sep 13th 2009, 19:32 |
markstory |
alunde: so once the topic branches are done they get merged into the 1.3 branch. |
# |
Sep 13th 2009, 19:32 |
ionas |
loceur, I recommend jQuery |
# |
Sep 13th 2009, 19:32 |
alunde |
Got ya. |
# |
Sep 13th 2009, 19:31 |
loceur |
markstory; :P |
# |
Sep 13th 2009, 19:31 |
markstory |
you use javascript. |
# |
Sep 13th 2009, 19:31 |
markstory |
loceur: you don't. |
# |
Sep 13th 2009, 19:31 |
markstory |
but in all the various other branches. |
# |
Sep 13th 2009, 19:31 |
loceur |
this should be a simple q: How to do an onmouseover that changes the image in cake? |
# |
Sep 13th 2009, 19:31 |
markstory |
we do most of the work not on directly on the 1.3 branch |
# |
Sep 13th 2009, 19:31 |
markstory |
1.3 is the latest merged state of 1.3 |
# |
Sep 13th 2009, 19:31 |
markstory |
yes and no. |
# |
Sep 13th 2009, 19:31 |
alunde |
So if I follow your wisdom, I should get the 1.3 branch. Is that the lastest of the 1.x line? |
# |
Sep 13th 2009, 19:30 |
alunde |
Sorry, I was poking around in my shell. |
# |
Sep 13th 2009, 19:29 |
markstory |
so the biggest difference with git is that when you clone you get a whole repo, not one version. |
# |
Sep 13th 2009, 19:28 |
markstory |
you can setup your gitconfig to make it tracking. |
# |
Sep 13th 2009, 19:28 |
alunde |
Hmmm |
# |
Sep 13th 2009, 19:28 |
markstory |
will checkout a local non-tracking branch of origin/1.3 |
# |
Sep 13th 2009, 19:28 |
markstory |
git checkout -b 1.3 origin/1.3 |
# |
Sep 13th 2009, 19:28 |
markstory |
will show all the available branches. |
# |
Sep 13th 2009, 19:28 |
markstory |
git branch -a |
# |
Sep 13th 2009, 19:28 |
markstory |
yes because you haven't made any local branches yet |
# |
Sep 13th 2009, 19:27 |
markstory |
you have the entire history and all the branches. |