# |
Aug 8th 2008, 15:41 |
teknoid |
lqdice____: oh... does ArchivesGroup have containable attached? |
# |
Aug 8th 2008, 15:40 |
rose |
guys... need some of your experts opinion on this one: wht kind of db structure would u suggets when u need to attach a comment to multiple objects like users, images, messeges, etc |
# |
Aug 8th 2008, 15:40 |
teknoid |
lqdice____: which line am i looking at? |
# |
Aug 8th 2008, 15:39 |
lqdice____ |
teknoid: http://bin.cakephp.org/view/404172267 |
# |
Aug 8th 2008, 15:37 |
teknoid |
beatzombies: np. you're welcome |
# |
Aug 8th 2008, 15:37 |
beatzombies |
teknoid: thanks, good catch |
# |
Aug 8th 2008, 15:35 |
teknoid |
lqdice____: can you show the code? |
# |
Aug 8th 2008, 15:35 |
lqdice____ |
lol |
# |
Aug 8th 2008, 15:35 |
lqdice____ |
if i do one way it ignores the condition i pass to GroupsNode.. if i do the other it ignores the condition i pass to Node |
# |
Aug 8th 2008, 15:35 |
lqdice____ |
teknoid: i actually still havent fully figured out this problem |
# |
Aug 8th 2008, 15:33 |
beatzombies |
teknoid: nice call |
# |
Aug 8th 2008, 15:33 |
beatzombies |
ooh |
# |
Aug 8th 2008, 15:32 |
teknoid |
beatzombies: should be Collection in the data array (i.e. same as model name) |
# |
Aug 8th 2008, 15:30 |
beatzombies |
here is my controller and data: http://bin.cakephp.org/view/1208887425 |
# |
Aug 8th 2008, 15:30 |
beatzombies |
i have some data that i am trying to insert into database. the insert statement that is getting generated is not actually inserting any field information, just the default "created" field. |
# |
Aug 8th 2008, 15:19 |
teknoid |
jaredhoyt: well, it's 5 hours ahead of ya... so probably in the middle of atlantic somewhere :) |
# |
Aug 8th 2008, 15:18 |
digor |
Z = utc |
# |
Aug 8th 2008, 15:18 |
jaredhoyt |
it's 3:30pm here |
# |
Aug 8th 2008, 15:18 |
jaredhoyt |
kansas city, mo |
# |
Aug 8th 2008, 15:18 |
teknoid |
jaredhoyt: where are you? |
# |
Aug 8th 2008, 15:18 |
jaredhoyt |
what time zone is that though?? i just did that order and it's saying 20:23:33?? |
# |
Aug 8th 2008, 15:17 |
teknoid |
jaredhoyt: yeah, i wonder it if it would just get inserted as is |
# |
Aug 8th 2008, 15:17 |
jaredhoyt |
yeah, it is :) |
# |
Aug 8th 2008, 15:16 |
jaredhoyt |
then it's standard mysql datetime timestamp? |
# |
Aug 8th 2008, 15:16 |
teknoid |
<space> |
# |
Aug 8th 2008, 15:16 |
teknoid |
jaredhoyt: guess the easiest would be to replace with a ' ' |
# |
Aug 8th 2008, 15:16 |
jaredhoyt |
from what i've received so far |
# |
Aug 8th 2008, 15:15 |
teknoid |
jaredhoyt: is it always T and Z ? |
# |
Aug 8th 2008, 15:14 |
digor |
fixed http://bin.cakephp.org/saved/35901, looks like Sanitize::stripWhitespace() dont strip windows newlines from textareas |
# |
Aug 8th 2008, 15:14 |
jaredhoyt |
it's from a paypal api response |
# |
Aug 8th 2008, 15:14 |
jaredhoyt |
anyone know what kind of format this is and how to turn it into a datetime? 2008-08-08T20:23:33Z |
# |
Aug 8th 2008, 14:56 |
teknoid |
digor: still i don't think it's a good idea to rely on parent's return |
# |
Aug 8th 2008, 14:55 |
digor |
actually now that i think about it i've run into this before and had to use the character code chr(13) or something |
# |
Aug 8th 2008, 14:54 |
jaredhoyt |
nvm, just my cache :D |
# |
Aug 8th 2008, 14:54 |
digor |
teknoid: well yeah the parent, in this case Model returns true by default |
# |
Aug 8th 2008, 14:54 |
teknoid |
np |
# |
Aug 8th 2008, 14:54 |
lqdice____ |
yeah this changed it a bit.. still not getting desired result but closer.. thanks |
# |
Aug 8th 2008, 14:53 |
teknoid |
lqdice____: if you mean it's not bound, then yeah it's not |
# |
Aug 8th 2008, 14:53 |
teknoid |
lqdice____: but you can certainly define the bind in the file |
# |
Aug 8th 2008, 14:53 |
lqdice____ |
teknoid: apparently not properly though |
# |
Aug 8th 2008, 14:53 |
jaredhoyt |
mari00sh: you could always do a pr($this->data) to see what you've got ;) |