What’s going on here? The reference to pc and cc.parent are also not
equal (before reloading even) but I guess that’s just how AR works.
I’m used to Hibernate returning the same reference.
What’s going on here? The reference to pc and cc.parent are also not
equal (before reloading even) but I guess that’s just how AR works.
I’m used to Hibernate returning the same reference.
Any suggestions or explanations?
TIA,
Sean
there must be a problem with your variations method. doublecheck that
area.
Are you sure its not just that the reference to parent is out-dated?
Maybe this is just a feature of ActiveRecord? If belongs_to type
relationships are just copies of what’s in the database at the time
that would explain it. It would also explain why re-retrieving the
record produces the expected result.
Are you sure its not just that the reference to parent is out-dated?
Maybe this is just a feature of ActiveRecord? If belongs_to type
relationships are just copies of what’s in the database at the time
that would explain it. It would also explain why re-retrieving the
record produces the expected result.