app/models/solution.rb
Class Solution
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
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