ochko/prudge

View on GitHub
app/models/solution.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Class Solution has 25 methods (exceeds 20 allowed). Consider refactoring.
Open

class Solution < ActiveRecord::Base
  belongs_to :contest
  belongs_to :problem, :counter_cache => 'tried_count'
  belongs_to :user, :counter_cache => true
  has_many :results, :order => 'hidden ASC, matched DESC', :dependent => :destroy
Severity: Minor
Found in app/models/solution.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status