Marnen Laibow-Koser wrote in post #978225: > David G. wrote in post #978220: >> Sure and thanks! You are probably right, since this is a new >> UserComment. I am attaching the two controllers - the other files are >> included above. > > Well, there's your problem! Look at the UserComment#new method.
Er, sorry, I meant the UserCommentsController#new method. > You're > setting @usercomment in the controller, then trying to read > @user_comment in the view. > > BTW, I would suggest changing the name of the class to Comment. > UserComment is probably redundant. > > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > [email protected] -- Posted via http://www.ruby-forum.com/. -- 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.

