app/models/note.rb
Class Note
has 29 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Note < ActiveRecord::Base
include Mentionable
attr_accessible :note, :noteable, :noteable_id, :noteable_type, :project_id,
:attachment, :line_code, :commit_id
Method create_status_change_note
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.create_status_change_note(noteable, project, author, status, source)