CompanyBook / massive_record

HBase ruby client
130 stars 39 forks source link

Have been reported some issues with callbacks on embedded records #76

Closed thhermansen closed 13 years ago

thhermansen commented 13 years ago

..and I think it kinda makes sense; have not been taken it into account when I did the how-to-save-embedded-records code, so I think it might be the case that some hooks might be called twice on embedded records during save in some situations.

thhermansen commented 13 years ago

Related branch which illustrates the problem https://github.com/CompanyBook/massive_record/tree/feature/embedded_records_and_callbacks. Embedded does not pass callbacks test as Table does.

thhermansen commented 13 years ago

Think this has been fixed (at least improved) in develop. Please reopen if some situations still gets us in to trouble.