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

wrap the except and only options in an array #102

Closed ristovskiv closed 5 years ago

ristovskiv commented 5 years ago

Continuation from the PR https://github.com/moiristo/deep_cloneable/pull/101 I have simulated the Array.wrap from Rails as you mentioned. There are some tests also.

moiristo commented 5 years ago

Thanks!

ristovskiv commented 5 years ago

@moiristo thank you for accepting it :smile: