aidamanna/appetype

View on GitHub
app/models/menu.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method set_default_values has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def set_default_values
    self.state ||= 'draft'
    self.daily_menus ||= {
      monday: {
        side_dish: '',
Severity: Minor
Found in app/models/menu.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status