3 files inspected, 13 offenses detected

app/controllers/application_controller.rb - 1 offense

Line #1convention: Missing top-level class documentation comment.
class ApplicationController < ActionController::Base

app/controllers/books_controller.rb - 8 offenses

Line #1convention: Missing top-level class documentation comment.
class BooksController < ApplicationController
Line #31convention: Line is too long. [83/80]
        format.html { redirect_to @book, notice: 'Book was successfully created.' }
Line #45convention: Line is too long. [83/80]
        format.html { redirect_to @book, notice: 'Book was successfully updated.' }
Line #59convention: Line is too long. [87/80]
      format.html { redirect_to books_url, notice: 'Book was successfully destroyed.' }
Line #64convention: Keep a blank line before and after private.
  private
Line #66convention: Inconsistent indentation detected.
    def set_book
Line #70convention: Line is too long. [88/80]
    # Never trust parameters from the scary internet, only allow the white list through.
Line #71convention: Inconsistent indentation detected.
    def book_params

app/models/book.rb - 4 offenses

Line #1convention: Missing top-level class documentation comment.
class Book < ActiveRecord::Base
Line #2convention: Use snake_case for method names.
  def someMethod
Line #3warning: Useless assignment to variable - foo.
    foo = bar = baz
Line #3warning: Useless assignment to variable - bar.
    foo = bar = baz