On Dec 15, 2005, at 10:36 PM, Naroor Rathish wrote:
> Hello Friends,
>
> def new
>
> @invoiceitems = Invoiceitems.new
> @oldinvoiceitems = Invoiceitems.find(:all, :conditions
> =>[''invoice_id = :invoiceid'', { :invoiceid =>
params[:id] } ]
>
> end
> Error is being shown in the line number with ''end''.
> This is for initialising a new invoiceItems object and also finding
> and
> storing all the invoice items for a particular invoice id .I will be
> having a page ''new'' where all the previous invoice items
can be
> stored
> (displayed) and new ones can be added .
>
> Thanking you,
> Naroor Rathish
>
> --
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
It seems you are missing an end paren ) at the end of the
oldinvoiceitems statement.
Cheers-
-Ezra Zygmuntowicz
WebMaster
Yakima Herald-Republic Newspaper
ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org
509-577-7732