jnaqsh/nerdnews

View on GitHub
app/controllers/votes_controller.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method create has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def create
    begin
      @rating         = Rating.find(votes_params[:rating_id])
      @user           = current_user
      @vote           = Vote.new()
Severity: Minor
Found in app/controllers/votes_controller.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status