... and what do you do with the honey?
< halfgaar> Anyone can help me with a problem I have assigning a collection to a has_many relation?
< jacqui> halfgaar what's the problem?
< halfgaar> consider a beehive which has_many bees
< jacqui> this should be good.
< don-o> halfgaar: considered.
* don-o pops some popcorn
< halfgaar> in the update view, when I go by each bee and save! it, and then assign it to the beehive, all the bees have an ID.
< halfgaar> update action sorry
< jacqui> lol
< AnakinKain> so what do you do in the case of honey?
< halfgaar> ...
< pluesch0r> no money, no honey.
< AnakinKain> because honey belongs to the bees, as well as the beehive.
< don-o> halfgaar: is there a point to this story?
< halfgaar> the problem is, that when the transaction fails when I can't save the beehive, the bees still have this ID in an invisible field, which make any subsequent attempt to save, error
< AnakinKain> As well as the owner of the hive.
< jacqui> hilarity
Jun 7th