Clearing string attribute

I am missing something very basic. I have a string attribute which I
need to clear before saving the record.

model.attribute = nil is not working. It works fine for another
attribute which is a number

The string attribute is nullable and was created via migration

Thanks,
Deepak

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