Maru:
I ran into this problem once.
Have you populated your table with data? You need to have at least one row
of data in the table.
Rasheq
On 9/5/05, Maru <mulugetamaru-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> Hello all,
>
> I was reading the first part of the above two parts article. I was
> following the
> examples and trying them out as I go through the article. Everything
> worked
> until I changed (as suggested by the author) the recipe_controller.rb to
> add an
> edit method and created an edit.rhtml. I am getting the following error
> message:
>
> ActiveRecord::RecordNotFound in Recipe#update
>
> Couldn''t find Recipe without an ID
>
> script/server:49
>
>
> Note: I have updated the database to add category_id in the recipes table
> i.e
> each recipe has one category associated with it.
>
>
> Your help is very much appreciated.
>
> Regards,
>
> Maru
>
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails