# Create entry using another entry

**URL:** <https://www.ruby-forum.com/t/create-entry-using-another-entry/164503>\
**Category:** Rails\
**Created:** [April 2, 2009, 12:27am UTC](https://www.ruby-forum.com/t/create-entry-using-another-entry/164503 "2009-04-02T00:27:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/977dab/32.png) [@mikec](https://www.ruby-forum.com/u/mikec)\
**Post date:** [April 2, 2009, 12:27am UTC](https://www.ruby-forum.com/t/create-entry-using-another-entry/164503/1 "2009-04-02T00:27:54Z")

</div>

I’m wondering what the best practice way to do this is. Basically, I  
have a Snippet model containing a text field of type text and a Story  
model also with a text field of type text. At some point, I want to  
make a story entry using a snippet entry’s text.

Passing this using new\_story\_path(:snippet =\> @snippet.text) is  
troublesome since it passes it through the URL and also is limited to  
a certain number of characters. I thought of using another post method  
but that seems to go against RESTful practices since new should be a  
get action. I also thought of creating a method in the Story model to  
take a Snippet object and create the new entry by extracting the  
information through the snippet entry. Are there any better ways of  
doing this?
