From: John Griffiths Date: 2007-09-07T08:31:31+09:00 Subject: Re: adding items to a list? doofus!!!!! bad dobby! bad bad bad!!!! ---->>> @post.comments.create(params[:comment]) urgh!!! and i was doing... ---->>> @list.items.create(params[:body]) very wrong!!! why because the param we want to send over isn't the actual field but the object!!! so... @list.items.create(params[:item]) works fine now, urgh!!!!!!!!!!!!! at least i learnt something more about ruby and made it use fancy ajax, but god does it really show this guy needs some sleep!!! ...off to slam head into nearest wall ;-) -- Posted via http://www.ruby-forum.com/.