socialforge/app/models/quality_analysis.rb

8 lines
242 B
Ruby

class QualityAnalysis < ActiveRecord::Base
attr_accessible :author_login, :project_id, :rep_identifier, :sonar_version, :branch, :path, :rep_identifier, :language
def user_rep_name
self.author_login+":"+self.rep_identifier
end
end