zeisler/active_record_schema_scrapper

View on GitHub
lib/active_record_schema_scrapper/associations.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method each has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def each
      return [] if abstract_class
      @each ||= types.each do |type|
        model.reflect_on_all_associations(type).each do |a|
          begin
Severity: Minor
Found in lib/active_record_schema_scrapper/associations.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status