On 23 Sep., 12:02, Colin Law <clan...@googlemail.com> wrote: > On 23 September 2010 10:52, Sven Wildermann <sven_wilderm...@yahoo.de> wrote: > > > > > > > On 23 Sep., 11:26, Colin Law <clan...@googlemail.com> wrote: > >> On 23 September 2010 09:42, Sven Wildermann <sven_wilderm...@yahoo.de> > >> wrote: > > >> > On 23 Sep., 10:36, Colin Law <clan...@googlemail.com> wrote: > >> >> On 23 September 2010 09:25, Sven Wildermann <sven_wilderm...@yahoo.de> > >> >> wrote: > > >> >> > On 23 Sep., 10:00, Colin Law <clan...@googlemail.com> wrote: > >> >> >> On 23 September 2010 08:32, Sven Wildermann > >> >> >> <sven_wilderm...@yahoo.de> wrote: > > >> >> >> > On 22 Sep., 15:53, radhames brito <rbri...@gmail.com> 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) > >> >> andhttp://railstutorial.org/isgood. > > >> >> Colin > > >> > Thanks for that advice. But i really want to finish this chapter of > >> > the tutorial - > >> > So could you (or someone else) tell me, why this error message appears > >> > and what i need to do to go on? > > >> As I said I think it is likely that you should have setup a > >> relationship between the models. You may have missed something in the > >> tutorial (or the tutorial is missing details). > > >> Colin > > > .. The tutorial is missind details - F***! > > > Maybe you could explain to me how to setup a relationship between the > > models? Otherwise i will google or do an other tutorial... > > Thank you so far > > That is what I suggested in the first place, to quote myself: > > >> >> I would start by looking at the Rails Guides (google it) > >> >> andhttp://railstutorial.org/is good. > > I would suggest that you use Rails 3 if you are not already doing so > as it is now the current version, though it is still very new, so > those who will try to help you are still learning themselves. > There is a Rails Guide specifically on ActiveRecord Relationships but > I would start with Getting Started. > > Colin
I dont use Rail 3, but 1.8.6 - because the Autor of the Tutorial used that Version, too. Would you recommend to use the 2. or the 3. Version? -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.