------ art_22885_33506399.1148710647703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > > What does view|source on the resulting Web page show you? > > I'm betting key is an object with no useful default to_s. > Good Call .. <li>#<Invoice:0xb76e54d8> -> 1</li> Ok so why is the key getting set to this. @invoice = Invoice.find(params[:id]) @payment.add_invoice(@invoice) are the lines that get the "key" params[:id] is just the id number from a row in result set. Or more accuratly its just this from the url... http://xxx.xxx.xxx.xxx:3000/selection/add_invoice/4 This is my very first attempt at rails and ruby is pretty new to me as well. but shouldn't params[:id] = '4' Paul ------ art_22885_33506399.1148710647703--