# Questions about copying parameters

**URL:** <https://www.ruby-forum.com/t/questions-about-copying-parameters/133404>\
**Category:** Rails\
**Created:** [March 31, 2008, 10:46am UTC](https://www.ruby-forum.com/t/questions-about-copying-parameters/133404 "2008-03-31T10:46:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fries88](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/6bbea6/32.png) [@fries88](https://www.ruby-forum.com/u/fries88)\
**Post date:** [March 31, 2008, 10:46am UTC](https://www.ruby-forum.com/t/questions-about-copying-parameters/133404/1 "2008-03-31T10:46:13Z")

</div>

Hi,

What I am doing is:

```
         Category 1
             |
       ______|_________
      | |
 Category 2 Category ?
  ____|____ |
 | | Topic ?

```

Topic 1 Topic 2

What I want to achieve is to copy Category 1(grandparent) and save as a  
new record. When I copy Category 1, Category 2(parent), Topic 1 and  
Topic 2 (children) will be copied as well.

Thanks.
