On 23 September 2010 09:25, Sven Wildermann <[email protected]> wrote: > > > On 23 Sep., 10:00, Colin Law <[email protected]> wrote: >> On 23 September 2010 08:32, Sven Wildermann <[email protected]> wrote: >> >> >> >> > On 22 Sep., 15:53, radhames brito <[email protected]> wrote: >> >> ooooh wait , is a one to one relation chip, do you have >> >> >> belond_to and has one in your models? >> >> > No - i even did not change anything in my model files, because of >> > exactly acting like the "video2brain"-tutorial .. >> >> Is there a table called forms? >> Is there a 'detail' field in the forms table? >> >> Colin > > There is a datebase called "formulare. > This database has a table called "forms" and a table called "details" > - but there is no detail field in the "forms"-table. > > So i need to create this field, correct?
No, I think it is more likely that you need to setup a relationship between the tables so that form has_many details. This should all be in the tutorial however. I think you might be much better finding a tutorial for the version of rails you are using however. If it is out of date you will forever be coming up against problems. I would start by looking at the Rails Guides (google it) and http://railstutorial.org/ is good. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

