Displaying 2 results from an estimated 2 matches for "legacy_id".
Did you mean:
legacy_uid
2006 Mar 01
7
Oracle Sequence & Rails
the compiler tell me it:
invalid column name: INSERT INTO ago.prova_stats (cognome, nome, id,
telefono) VALUES(''Medda'', ''Ivan'', :id, 70565611)
where ago.prova_stats is the table used by me and that have only the
columns ''cognome'',''nome'' and ''telefono''.
My table hasn''t the column
2006 May 17
8
Why can''t I change value of the primary key?
One should be able to change the value of a primary key, right? But it''s
not working for me. If I do this:
@drug = Drug.find(tid1)
@drug.id = tid2
@drug.category = ''Test2''
if @drug.save
savedok = ''Saved successfully''
else
savedok = ''Not saved''
end
I get ''Saved successfully''