Showing 218 of 218 total issues
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
require "codeclimate-test-reporter"
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Use the new Ruby 1.9 hash syntax. Open
:password_confirmation => 'secretpass')
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
assert_equal bootstrap_class_for("notice"), "alert-info"
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
assert_equal bootstrap_class_for("other"), "other"
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem pry-byebug
should appear before pry-rails
. Open
gem 'pry-byebug'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
assert_equal user.role.name, "registered"
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [110/80] Open
patch :update, id: @stream, stream: { mount: @stream.mount, server: @stream.server, title: @stream.title }
- Create a ticketCreate a ticket
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
assert_select "#error_explanation ul li", 2
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem coffee-rails
should appear before uglifier
. Open
gem 'coffee-rails', '~> 4.1.0'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Put empty method definitions on a single line. Open
def edit end
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [94/80] Open
flash[:notice] = I18n.t "devise.omniauth_callbacks.success", :kind => "Wordpress Hosted"
- Create a ticketCreate a ticket
- Exclude checks
Use nested module/class definitions instead of compact style. Open
class ActiveSupport::TestCase
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Put empty method definitions on a single line. Open
def show end
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Missing top-level class documentation comment. Open
class ApplicationController < ActionController::Base
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
server: "http://newserver.com/",
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
assert_equal bootstrap_class_for("notice"), "alert-info"
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [110/80] Open
patch :update, id: @stream, stream: { mount: @stream.mount, server: @stream.server, title: @stream.title }
- Create a ticketCreate a ticket
- Exclude checks
Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem dotenv-rails
should appear before rails
. Open
gem 'dotenv-rails', require: 'dotenv/rails-now'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [91/80] Open
format.html { redirect_to streams_url, notice: 'Stream was successfully destroyed.' }
- Create a ticketCreate a ticket
- Exclude checks
Missing top-level class documentation comment. Open
class StreamsController < ApplicationController
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks