On 26 June 2012 09:28, Timen E. <[email protected]> wrote: > Heya, > > I've been toying around a little more with rails and getting the hang of > it. Nonetheless the, most likely, easiest thing for you i can't achieve > somehow. I'm trying to add some comments to my post(complaint)(Same way > the starter tutorial does > it(http://guides.rubyonrails.org/getting_started.htm)) but i can't seem > to get it to work. It goes to complaints/3/comments and gives me a blank > page. There is a record being created in my database, but except for the > complaint_id it's empty and the create function doesn't redirect me back > to the complaint it should be redirecting to. Could you guys take a look > at my code?
Have a look at the Rails Guide on Debugging, that will show you techniques that you can use to debug the code and work out what is going on. 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.

