Saving to a table with computed fields

Hi i just tried to save a record to a SQL Server that has a computed
column and i get this error:

DBI::DatabaseError: 37000 (271) [unixODBC][FreeTDS][SQL Server]Column
‘DLX_DTMF’ cannot be modified because it is a computed column.: INSERT
INTO DLXVOIPUSER ([DLXFILTER], [DLXLANG], [DLXPASS],
[DLXBLOCK_CALLER_ID], [DLXMAX_VM], [EXCHANCEPASS], [EXCHANGEUSERID],
[DLXFIRST_NAME], [DLXLAST_NAME], [DLXVALIDAT_DEL], [DLXEMAIL],
[DLXDISPLAY_NAME], [DLXVM_TYPE], [DLXMAX_DISK_SPC],
[DLXSKIP_READVM_PIN], [DLXWATCH_BY_DOM], [VOICEMAILPASS], [DLXAUTHMODE],
[DLXTRUNCK_TO_TRUNCK_CALL], [DLXTYPE]) VALUES(‘dialplan_sitios_lpz’,
NULL, ‘32011a’, 0, 50, NULL, NULL, NULL, ‘a11023’, ‘a11023’, 1, NULL,
NULL, 0, 5000, 1, 0, NULL, 1, 1, ‘U’)

How can i do not to write the DLX_DTMF column

Thanks

I just found this: http://dev.rubyonrails.org/ticket/2944

Looks like this is a known issue. Sorry for not having a workaround
handy…

Jan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs