Class: Wallaby::DefaultModelsExcluder
- Inherits:
-
Object
- Object
- Wallaby::DefaultModelsExcluder
- Defined in:
- lib/services/wallaby/default_models_excluder.rb
Overview
Class Method Summary collapse
-
.execute ⇒ ClassArray
Wallaby excludes the following model classes by default.
Class Method Details
.execute ⇒ ClassArray
Wallaby excludes the following model classes by default.
-
ActiveRecord::SchemaMigration
-
ActiveRecord::InternalMetadata
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 |