moiristo / deep_cloneable

This gem gives every ActiveRecord::Base object the possibility to do a deep clone that includes user specified associations.
MIT License
785 stars 89 forks source link

Use inverse_of if it's defined for finding reverse migration #71

Closed ares closed 7 years ago

ares commented 7 years ago

using only key name can detect wrong association when cloning

moiristo commented 7 years ago

Thanks so much! I was already planning on adding something like that to resolve #67. Looks good to me!

ares commented 7 years ago

Thank you very much for quick merge @moiristo, is there a chance to have a new version release soon? This issue blocks me in patch for the Foreman project.

moiristo commented 7 years ago

Yes, I just released this in 2.2.2.

ares commented 7 years ago

Thank you very much!