search for: metered_usag

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

Did you mean: metered_usage
2010 Apr 20
13
why is ActiveRecord tying to select nonex ID column?
I''ve loaded (and updated) thousands of these MeteredUsage records. In the middle of a run, I suddenly get: ActiveRecord::StatementInvalid: Mysql::Error: Unknown column ''id'' in ''where clause'': UPDATE `metered_usages` SET `cost` = 12603.46 WHERE `id` = NULL I can''t see anything that''s different about this particular record compared to its brethren. (Note that I''m invoking this at the console -- this is not a question about views or controllers.) So the schema and the model: =====...