search for: iso639_eng

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

2005 Jun 29
3
Setting the value of a primary key field
...#39;'t work because I don''t know why).) Now, when I assign a value to alpha3t, it doesn''t end up in the insert statements. The unit test tells me: ActiveRecord::StatementInvalid: ERROR: null value in column "alpha3t" violates not-null constraint : INSERT INTO i18n.iso639_eng ("name", "alpha2", "alpha3b", "name_id") VALUES(''G angsta'', ''ho'', ''dog'', NULL) I totally agree! I don''t want any NULL values in my alpha3t column, so is Active Record simply ignoring this field b...