Topic: Insert new record to sqlserver db problem(ruby 1.8.6, Rails 1.2.3)
I have a model name called 'Address' with 4
Here i declared in Model.rb
and map these code to others table(association) and id is serial not primary key.
now i am not able to create new record for address table (giving input for
code, details, active).
i am getting below error
code is not null..
Code value is will not taken and cann't insert value to table.
Any help would be appreciated..
Thanks & Regards,