destroying.rb revision d48ad500ac13e587c1d0d9b278ac9d86cde873ef
21a34373b314f1976661a3d9f5eae75af558f09aEugen Kuksa before_destroy :mark_as_destroying, prepend: true
214b17ce5309c42f31fa6df96778cc9c85ae927dEugen Kuksa self.class.instance_variable_get(:@destroying).include?(self.id)
b14a891a1197d90bc37cc54016eb2c411a558238hardik #{Settings.OMS.with_indefinite_article} that is imported by another repository."
214b17ce5309c42f31fa6df96778cc9c85ae927dEugen Kuksa self.class.instance_variable_get(:@destroying) << self.id if self.id
214b17ce5309c42f31fa6df96778cc9c85ae927dEugen Kuksa def unmark_as_destroying
214b17ce5309c42f31fa6df96778cc9c85ae927dEugen Kuksa self.class.instance_variable_get(:@destroying).delete(self.id) if self.id