Log message #106543

# At Username Text
# 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
# Aug 6th 2008, 14:25 teknoid Noise98: it is :)
# Aug 6th 2008, 14:20 _psychic_ Noise98: i'd try it - it'll do it all up for you
# Aug 6th 2008, 14:20 Jonah it says cake is not
# Aug 6th 2008, 14:20 Jonah get the Yslow extension for firefox. it tells you what is gziped
# Aug 6th 2008, 14:20 teknoid Jonah: there's also mod_deflate, but i haven't tried it
# Aug 6th 2008, 14:20 _psychic_ try it
# Aug 6th 2008, 14:19 Noise98 nope
# Aug 6th 2008, 14:19 _psychic_ Noise98: did you use Bake?
# Aug 6th 2008, 14:19 teknoid jaredhoyt: i think that extension is enabled by default in apache
# Aug 6th 2008, 14:19 Jonah http://debuggable.com/posts/a-miracle-called-gzip:480f4dd5-696c-48c4-8d7c-444ccbdd56cb