search for: new_quote_item

Displaying 1 result from an estimated 1 matches for "new_quote_item".

2006 Apr 18
9
SQL Syntax Errors
...ty. I imagine this is probably a problem with my specific project. Basically I am trying to create a sub-record (quote_item) from the super page. I am using the video with the blog example as a model. I''m creating my record thusly: Quote.find(params[:id]).quote_items.create(params[:new_quote_item]) and I know that the record is being sent: (from the error page) Parameters: {"commit"=>"Add Item", "new_quote_item"=>{"name"=>"j", "body"=>"jkl;"}, "id"=>"1"} What could I be doing wrong?...