Thanks all,
so I was right. I was missing something fundamental :)
Kevin
On Sep 7, 2:04 pm, "Conrad Taylor" <[EMAIL PROTECTED]> wrote:
> Hi, there's no magic happening. You're simply invoking save on the wrong
> instance. Just because one invokes save on a parent instance it doesn't
> automat
Hi, there's no magic happening. You're simply invoking save on the wrong
instance. Just because one invokes save on a parent instance it doesn't
automatically invoke save on its children. In most cases, this would be
very inefficient. I would recommend learning/understanding more about
ActiveRe
When you do this code
> wf = WeeklyFixture(6) # where 6 is an id in the table so the wf is
> found!
> wf.football_fixtures[0].name = "value"
> wf.save!
the wf has not been changed in any way.
It point in the same football_fixtures item by its foreign key.
The football_fixtures has changed and yo
3 matches
Mail list logo