collectiveidea/hourglass

View on GitHub
app/interactors/generate_report.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method call has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def call
    context.users = load_users

    context.users.each do |user|
      if (days = user.days.where(date: context.range).to_a).any?
Severity: Minor
Found in app/interactors/generate_report.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status