Class: Wallaby::DefaultModelsExcluder

Inherits:
Object
  • Object
show all
Defined in:
lib/services/wallaby/default_models_excluder.rb

Overview

Class Method Summary collapse

Class Method Details

.executeClassArray

Wallaby excludes the following model classes by default.

  • ActiveRecord::SchemaMigration

  • ActiveRecord::InternalMetadata

Returns:



12
13
14
15
16
17
18
19
# File 'lib/services/wallaby/default_models_excluder.rb', line 12

def execute
  ClassArray.new(
    [].tap do |list|
      list << active_record_schema_migration_class
      list << 
    end.compact
  )
end