Showing 218 of 218 total issues
Extra empty line detected at class body end. Open
end
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Do not prefix reader method names with get_
. Open
def get_url_status
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Use def with parentheses when there are parameters. Open
def get_current_song doc
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Redundant self
detected. Open
URI.join(self.server, self.mount).to_s
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Do not use when x;
. Use when x then
instead. Open
when :alert; 'alert-warning'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [82/80] Open
format.json { render json: @stream.errors, status: :unprocessable_entity }
- Create a ticketCreate a ticket
- Exclude checks
Use the new Ruby 1.9 hash syntax. Open
:omniauthable, :omniauth_providers => [:wordpress_hosted]
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Use def with parentheses when there are parameters. Open
def bootstrap_class_for flash_type
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Do not use when x;
. Use when x then
instead. Open
when :success; 'alert-success'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [87/80] Open
format.html { redirect_to @stream, notice: 'Stream was successfully created.' }
- Create a ticketCreate a ticket
- Exclude checks
Do not use when x;
. Use when x then
instead. Open
when :notice; 'alert-info'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Line is too long. [92/80] Open
redirect_to root_path, alert: 'Access Denied' unless current_user && current_user.admin?
- 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
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Redis.new.publish "songs", m
- 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
session["devise.wordpress_hosted_data"] = request.env["omniauth.auth"]
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Use %i
or %I
for an array of symbols. Open
only: [:show, :edit, :update, :destroy, :playlist, :current_song]
- 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("success"), "alert-success"
- 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 foreman
should appear before puma
. Open
gem 'foreman'
- 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 sidekiq-scheduler
should appear before sinatra
. Open
gem 'sidekiq-scheduler'
- 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 devise-async
should appear before sidekiq-scheduler
. Open
gem 'devise-async'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks