Module Sequel::Plugins::ClassTableInheritance::InstanceMethods
In: lib/sequel/plugins/class_table_inheritance.rb

Methods

delete  

Public Instance methods

Delete the row from all backing tables, starting from the most recent table and going through all superclasses.

[Source]

     # File lib/sequel/plugins/class_table_inheritance.rb, line 304
304:         def delete
305:           raise Sequel::Error, "can't delete frozen object" if frozen?
306:           model.cti_models.reverse_each do |m|
307:             cti_this(m).delete
308:           end
309:           self
310:         end

[Validate]