moiristo / deep_cloneable

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

wrong number of arguments ... #9

Closed LeFnord closed 13 years ago

LeFnord commented 13 years ago

by using clone with :include for a rails 3.1 app

moiristo commented 13 years ago

Hi,

Are you using version 1.3?

LeFnord commented 13 years ago

yes, and I co branch rails31

moiristo commented 13 years ago

Have you seen that the implementation/documentation for the rails31 branch is different and that you should use 'dup' instead of 'clone'?

LeFnord commented 13 years ago

oh ... that was ist, thanks

moiristo commented 13 years ago

you're welcome :)