Help with acts as paranoid

Hello,

I am using acts as paranoid which works great. But I have the following
problem. I have table a which has a has_many :tableb, :dependent =>
false relationship with table b. If I delete something in a and then try
to edit a field in table b I get an error because it says the data does
not exist so it doesn’t allow the update. I understand of course why
this happens but I can’t figure out a solution. I think I need to allow
tableB to see the deleted_at data from table a. Basically what I want to
do is that even though an item may have been deleted it only means that
it can not be used in the future but I still want to know where and when
it was used in the past.
I hope I was clear enough and thanks for the help.

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