clone is going to provide you with a copy of the object, which is actually not the way you want - you just want to duplicate the entry in db, right? The way I did this with DM in the past looks like this:
new_attributes = item.attributes new_attributes.delete(:id) Item.create(new_attributes)
You can also do this in one line:
Item.create(item.attributes.merge(:id => nil))
source share