10 files inspected, 24 offenses detected

lib/matrack/base_model.rb - 22 offenses

Line #4convention: Extra empty line detected at method body beginning.
Line #7convention: Omit the parentheses in defs when the method doesn't accept any arguments.
    def self.find()
Line #8convention: Extra empty line detected at method body beginning.
Line #11convention: Omit the parentheses in defs when the method doesn't accept any arguments.
    def self.find_by()
Line #12convention: Extra empty line detected at method body beginning.
Line #15convention: Omit the parentheses in defs when the method doesn't accept any arguments.
    def self.where()
Line #16convention: Extra empty line detected at method body beginning.
Line #19convention: Omit the parentheses in defs when the method doesn't accept any arguments.
    def self.limit()
Line #20convention: Extra empty line detected at method body beginning.
Line #23convention: Omit the parentheses in defs when the method doesn't accept any arguments.
    def self.offset()
Line #24convention: Extra empty line detected at method body beginning.
Line #27convention: Omit the parentheses in defs when the method doesn't accept any arguments.
    def self.join()
Line #28convention: Extra empty line detected at method body beginning.
Line #31convention: Omit the parentheses in defs when the method doesn't accept any arguments.
    def self.select()
Line #32convention: Extra empty line detected at method body beginning.
Line #35convention: Omit the parentheses in defs when the method doesn't accept any arguments.
    def self.unique()
Line #36convention: Extra empty line detected at method body beginning.
Line #40convention: Extra empty line detected at method body beginning.
Line #44convention: Extra empty line detected at method body beginning.
Line #48convention: Extra empty line detected at method body beginning.
Line #51convention: Rename has_many to has_many?.
    def self.has_many
Line #52convention: Extra empty line detected at method body beginning.

lib/matrack/dependencies.rb - 1 offense

Line #1convention: Use nested module/class definitions instead of compact style.
class ::Object

lib/matrack/utility.rb - 1 offense

Line #1convention: Use nested module/class definitions instead of compact style.
class ::String