Re: Update attributes

Mike Garey
Fri, 16 Feb 2007 19:01:49 -0000

On 2/16/07, namwob <ebowman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
> I am a bit confused as to why I am getting an error updating an
> object.
>
> This is the ERROR:  Couldn''t find User without an ID

before you start getting to the strange SQL call, try and find out why
an ID isn''t being passed.  At what line do you receive this error? At
the User.find(params[:id]) ? If so, find out why you''re not getting a
value for an id here, then try to figure out the next part.

Mike