On May 22, 10:07 am, RubyonRails_newbie <[email protected]> wrote: > > the values in the database are: > id > body > blogpost_id > user_id > > ALl these values EXCEPT the body get populated. > > Using my code above, can anyone see why the body isn't being stored? > (it just gets set as NULL)
You've writtten comments.create :id => params[:body] which I assume isn't what you wanted. Fred -- 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.

