# Copy a record and its has\_many associated objects

**URL:** <https://www.ruby-forum.com/t/copy-a-record-and-its-has-many-associated-objects/103202>\
**Category:** Rails\
**Created:** [May 2, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/copy-a-record-and-its-has-many-associated-objects/103202 "2007-05-02T22:01:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 2, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/copy-a-record-and-its-has-many-associated-objects/103202/1 "2007-05-02T22:01:12Z")

</div>

Is there a simple, built-in way to create a copy of a record with  
copies of all the original record’s associated has\_many objects?
