I have a form migrated from couchrest 0.34 which edit some CastedModel records, the old CastedModel did not define the method to_key, so it call the to_key method from active model which returns the id wrapped in an array, but now Embeddable module define the to_key method and returns id as is, this break the form.
I understand that active model is expecting and array from to_key method.
Hello all.
I have a form migrated from couchrest 0.34 which edit some CastedModel records, the old CastedModel did not define the method to_key, so it call the to_key method from active model which returns the id wrapped in an array, but now Embeddable module define the to_key method and returns id as is, this break the form.
I understand that active model is expecting and array from to_key method.
any one has saw this issue?