I have two models, Job and Document.
Job has_one :document
I perform this:
which successfully removes all the appopriate DB records.
However, if I attempt to do:
@current_job.document = nil
I get a TypeError: can’t modify frozen hash exception.
Why can’t I reassign nil to the associated document for my job?