search for: reason_

Displaying 1 result from an estimated 1 matches for "reason_".

Did you mean: reason
2006 Jul 26
7
Delete_all causes a deadlock on MSSQL database ???
...ransaction but not committed it. Here''s the funnier rub though, if i replace the delete_all with a destroy_all, i don''t have any problems!!! Anyone know whats going on? Here''s the code def save # scan through the params, looking for any starting with ''reason_'' to save params.each {|key,reason| if ''reason_'' == key[0,7] pc,what = key[7,99].split ''_'' if '''' == reason # delete this one MissingEntriesReason.destroy_all \ "profit_centr...