From: Chris Gallagher Date: 2006-11-22T00:49:27+09:00 Subject: Re: Active Record out of rails: still assumes id? unknown wrote: > Hi -- > > On Tue, 21 Nov 2006, Chris Gallagher wrote: > >> ': Mysql::Error: Unknown column 'id' in 'where clause': UPDATE results >> the case? >> Is there a work around for this problem or am I missing the problem >> completely here? > > The id field is automatically created when you use ActiveRecord > Migrations. Otherwise, you have to create it yourself. > > > David I solved this by just throwing in the id field. Wasnt really a big thing to do. -- Posted via http://www.ruby-forum.com/.