chef/supermarket

View on GitHub
src/supermarket/app/models/universe.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method generate has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def generate(opts = {})
    #
    # So yeah, why are we using SQL here instead of our friend ActiveRecord?
    # Turns out, when you're retrieving a lot of objects at once, and joining
    # objects on foreign keys, AR is really slow - prohibitively slow for what
Severity: Minor
Found in src/supermarket/app/models/universe.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status