fix is_soft_deletable for rails 4.1