Log message #110202

# At Username Text
# Aug 7th 2008, 16:32 renan_saddam jaredhoyt: yeah, of course
# Aug 7th 2008, 16:32 renan_saddam jaredhoyt: if I do $this->Model->save(array('id' => 1, 'created' => '2008-02-02', 'key' => 'value'));
# Aug 7th 2008, 16:32 pgcd_away please please: anybody using lightbox and had a problem with the CSS in cake?
# Aug 7th 2008, 16:32 jaredhoyt are you talking about the 'created' and 'modified' columns?
# Aug 7th 2008, 16:32 teknoid beatzombies: yeah, that's fine
# Aug 7th 2008, 16:32 beatzombies teknoid: i guess its kind of like storing the state of the contribution
# Aug 7th 2008, 16:31 jaredhoyt renan_saddam: i'm not sure what that question means :D
# Aug 7th 2008, 16:31 beatzombies teknoid: does that make sense?
# Aug 7th 2008, 16:31 teknoid beatzombies: ok
# Aug 7th 2008, 16:31 renan_saddam jaredhoyt: when manipuling model data, without interference of view or controller... will cake generate another value for created field or use m definition?
# Aug 7th 2008, 16:31 beatzombies teknoid: when they have actually performed the action of contributing the item, i need to store this
# Aug 7th 2008, 16:31 beatzombies teknoid: not exactly, the relationship in the join table indicates that the contributor has pledged to contribute the item at a future date
# Aug 7th 2008, 16:30 jaredhoyt or ['url'] if you're using GET
# Aug 7th 2008, 16:30 teknoid beatzombies: isn't that the purpose of join table? ... no relation = no contribution?
# Aug 7th 2008, 16:30 jaredhoyt renan_saddam: you mean, what happens to the data for a form field create w/o formhelper? it's posted to $this->params['form']
# Aug 7th 2008, 16:30 beatzombies teknoid: prior to contributing the item, they have just pledged to contributed said item
# Aug 7th 2008, 16:30 beatzombies teknoid: it means that a contributor has actually contributed the item
# Aug 7th 2008, 16:29 teknoid beatzombies: i understand, but what does that field mean?
# Aug 7th 2008, 16:29 renan_saddam what happens if I fill field created by myself?
# Aug 7th 2008, 16:29 beatzombies teknoid: the action I have defined is in the Contributors controller
# Aug 7th 2008, 16:28 beatzombies teknoid: ContributorsItems is a join table that relates Contributors and Items
# Aug 7th 2008, 16:28 beatzombies teknoid: the contributed field is just a boolean i want to update in the ContributorsItems table
# Aug 7th 2008, 16:27 beatzombies http://bin.cakephp.org/view/141751750 (here is my action)
# Aug 7th 2008, 16:27 teknoid beatzombies: sure... i'm not following the meaning of the contributed field...
# Aug 7th 2008, 16:26 beatzombies can i post my controller so that its correctness can be verified?
# Aug 7th 2008, 16:25 beatzombies pgcd_away: yes it is
# Aug 7th 2008, 16:24 beatzombies teknoid: There is a field in ContributorsItem, contributed, that I would like to check
# Aug 7th 2008, 16:24 pgcd_away beatzombies: is your echo on line 77 outputting the correct value?
# Aug 7th 2008, 16:24 jaredhoyt would that come out Session->read('var_name') or read('varName')
# Aug 7th 2008, 16:24 teknoid beatzombies: so what do you need to 'check'?
# Aug 7th 2008, 16:24 beatzombies teknoid: in $params I set the Contributor.id
# Aug 7th 2008, 16:23 jaredhoyt anyone know offhand if Inflector::variable() is used on Session->write('var_name') ?
# Aug 7th 2008, 16:23 beatzombies teknoid: the query retrieves all the correct information
# Aug 7th 2008, 16:23 beatzombies teknoid: Contributor is related to Items by ContributorsItem
# Aug 7th 2008, 16:23 beatzombies teknoid: I have done the following: $this->data = $this->Contributor->find("first",$params);
# Aug 7th 2008, 16:22 teknoid beatzombies: did you set $this->data in your controller?
# Aug 7th 2008, 16:21 beatzombies TommyO: do you know of a way to check this?
# Aug 7th 2008, 16:21 beatzombies TommyO: as far as i know the model.field i am supplying are correct, but i am not sure
# Aug 7th 2008, 16:21 beatzombies TommyO: yes, the checkbox expects a field name and optional html attirbutes
# Aug 7th 2008, 16:19 TommyO beatzombies: have you looked at the API to see exactly what it does and what it expects?
# Aug 7th 2008, 16:19 beatzombies pgcd_away: yes it is a tinyint(1) in the db