# Newbiw - How do I concate?

**URL:** <https://www.ruby-forum.com/t/newbiw-how-do-i-concate/144805>\
**Category:** Rails\
**Created:** [August 2, 2008, 11:17am UTC](https://www.ruby-forum.com/t/newbiw-how-do-i-concate/144805 "2008-08-02T11:17:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jalopy55](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ed8c4c/32.png) [@jalopy55](https://www.ruby-forum.com/u/jalopy55)\
**Post date:** [August 2, 2008, 11:17am UTC](https://www.ruby-forum.com/t/newbiw-how-do-i-concate/144805/1 "2008-08-02T11:17:18Z")

</div>

I’ve found this nifty rFacebook tutorial and I’m so excited about  
learning to use Ruby on Rails.  
[http://www.liverail.net/articles/2007/6/29/tutorial-on-developing-a-facebook-platform-application-with-ruby-on-rails](http://www.liverail.net/articles/2007/6/29/tutorial-on-developing-a-facebook-platform-application-with-ruby-on-rails)

However, I am stuck.

For the experienced, this may seem waaay simple. If it does seem obvious  
to you, please reply with help!

THis is what the tutorial says:

create some models. We are keeping this application very simple for demo  
purposes so just a recipe and a comment model needed. (you will need to  
concate these lines properly)

ruby script/generate model Recipe (This went smoothly)  
title:string summary:text ingredients:text instructions:text \<\<\<\<\<this  
is my prob!  
cooking\_time:string created\_at:datetime updated\_at:datetime\<\<\<\<\<\< my  
problem prob!

ruby script/generate model Comment  
recipe\_id:integer body:text created\_at:datetime updated\_at:datetime\<\< No  
idea…

I know the “title:string” parts are part of the parameters for storing  
recipe info.

WHERE DO I ENTER THIS INFO???  
Is this another line I have to enter into Putty?  
If I need to edit a file to enter these parameters, where do I do this?  
I’m a little lost on how to concat in Ruby.

---

<div class="post-metadata">

**Author:** ![jalopy55](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ed8c4c/32.png) [@jalopy55](https://www.ruby-forum.com/u/jalopy55)\
**Post date:** [August 2, 2008, 11:58am UTC](https://www.ruby-forum.com/t/newbiw-how-do-i-concate/144805/2 "2008-08-02T11:58:30Z")

</div>

On 2 Aug 2008, at 10:17, Jurgis L. wrote:

> THis is what the tutorial says:
> 
> create some models. We are keeping this application very simple for  
> demo  
> purposes so just a recipe and a comment model needed. (you will need  
> to  
> concate these lines properly)

I think you’re overcomplicating things 🙂 The tutorial is just saying  
that you need to enter

ruby script/generate model Recipe title:string summary:text  
ingredients:text instructions:text cooking\_time:string  
created\_at:datetime updated\_at:datetime  
on one line in the console, even they’ve displayed it with linebreaks  
(so that the webpage formats ok).  
Fred

---

<div class="post-metadata">

**Author:** ![jalopy55](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ed8c4c/32.png) [@jalopy55](https://www.ruby-forum.com/u/jalopy55)\
**Post date:** [August 4, 2008, 8:36am UTC](https://www.ruby-forum.com/t/newbiw-how-do-i-concate/144805/3 "2008-08-04T08:36:29Z")

</div>

Frederick C. wrote:

> I think you’re overcomplicating things 🙂 The tutorial is just saying  
> that you need to enter
> 
> ruby script/generate model Recipe title:string summary:text  
> ingredients:text instructions:text cooking\_time:string  
> created\_at:datetime updated\_at:datetime  
> on one line in the console, even they’ve displayed it with linebreaks  
> (so that the webpage formats ok).  
> Fred

whew OK! fixed that! awesome! i kinda thought i was overanalyzing  
things, and that really helped a lot!
