Log message #106553

# At Username Text
# Aug 6th 2008, 14:45 Raphael I still have the same schema : Posts - PostsTags - Tags
# Aug 6th 2008, 14:45 Maniaman i think you can change it
# Aug 6th 2008, 14:44 lqdice____ Maniaman: swf has 100mb cap i believe
# Aug 6th 2008, 14:44 Maniaman lqdice____: swfupload is the only thing i know of
# Aug 6th 2008, 14:44 thestaff should i use ajax ?
# Aug 6th 2008, 14:43 thestaff whta is the easiest way to do that ?
# Aug 6th 2008, 14:43 teknoid jaredhoyt: i also got an f, for not using a cdn ... no sh*t :)
# Aug 6th 2008, 14:43 thestaff cuz category is just a tilte
# Aug 6th 2008, 14:43 Noise98 lqdice: depends on your web server
# Aug 6th 2008, 14:43 thestaff and in the add view of this model I wanna be able to pop up for a new category
# Aug 6th 2008, 14:43 thestaff basically I have a model that has a foreign key to categories
# Aug 6th 2008, 14:42 thestaff I was wondering what is the method to create a small add pop up
# Aug 6th 2008, 14:42 lqdice____ anyone know any upload components that allow file uploads up to 2gb and let you do multiple file upload ?
# Aug 6th 2008, 14:42 thestaff hey there
# Aug 6th 2008, 14:42 jaredhoyt heh, using yslow -- jquery is heavy :)
# Aug 6th 2008, 14:40 ADmad Noise98: yes so in ur case task is saved and you get its id.. but it doesnt save attachment and hence no id for association
# Aug 6th 2008, 14:37 Noise98 ADmad: seem to have a little mistake inside saveMulti, or i'm doing something wrong with my data being sent to save
# Aug 6th 2008, 14:37 Noise98 ADmad: the saveMulti is being call after the Master record being save and the id is being pass to it, so it supposed to work
# Aug 6th 2008, 14:35 ADmad Noise98: currently i don't think you cant set a habtm assoc between 2 new records... you need to first save one of them and then in a second call to 'save' save the other record and associate the two by passing proper data array..
# Aug 6th 2008, 14:35 Noise98 oh ok sorry
# Aug 6th 2008, 14:35 teknoid Noise98: i didn't say there was a patch, i was saying that if you were to make one to make it work, that ticket would get a faster attention
# Aug 6th 2008, 14:34 Noise98 teknoid: that's not a patch, and it got nothing to do with my problem... but thanks
# Aug 6th 2008, 14:33 Jonah check out my trophies : http://book.cakephp.org/changes/user:poppitypop.rss
# Aug 6th 2008, 14:31 teknoid Noise98: yeah, but you can't (shouldn't) use it... at any rate it does not work right now, the patch would probably help to speed things up
# Aug 6th 2008, 14:30 Noise98 teknoid: __saveMulti is the function inside model.php that save the joined Model
# Aug 6th 2008, 14:29 Jonah i'll go ahead and to it then
# Aug 6th 2008, 14:29 teknoid Jonah: you are welcome to submit editions if you think it's missing somewhere
# Aug 6th 2008, 14:29 Jonah it does I guess in the blog example app
# Aug 6th 2008, 14:29 Jonah not that I can find...
# Aug 6th 2008, 14:28 teknoid Jonah: it is. in a few places
# Aug 6th 2008, 14:28 Raphael hi
# Aug 6th 2008, 14:28 Jonah this should be documented in the manual
# Aug 6th 2008, 14:28 teknoid Noise98: what is saveMulti?
# Aug 6th 2008, 14:28 Jonah I realized the other day that save() will do an sql UPDATE if you define an id
# Aug 6th 2008, 14:27 teknoid Noise98: https://trac.cakephp.org/ticket/4389
# Aug 6th 2008, 14:27 Jonah oh good
# Aug 6th 2008, 14:27 Noise98 Jonah: no
# Aug 6th 2008, 14:26 Jonah model::save is depreciated ??
# Aug 6th 2008, 14:26 Noise98 the saveMulti function in model.php got code for saving and updating habtm
# Aug 6th 2008, 14:25 Noise98 and early in 1.2
# Aug 6th 2008, 14:25 Noise98 but I don't get it, the habtm saving was working in 1.1