lib/mimoco_base.rb in mimoco-1.0.1 vs lib/mimoco_base.rb in mimoco-1.0.2

- old
+ new

@@ -38,9 +38,10 @@ # cls -= %i[attribute_type_decorations defined_enums] methods = @klass.send(which, false).sort methods.delete_if { |x| /^_/ =~ x } methods.delete_if { |x| /^(after|before|find_by)_/ =~ x } methods.delete_if { |x| /.*_associated_records_.*/ =~ x } + methods.delete_if { |x| /.*_association_names/ =~ x } methods2 = @klass.superclass.send(which, false).sort methods - methods2 - @ignore - ignore2 end end end