Showing 208 of 208 total issues
Favor modifier if
usage when having a single-line body. Another good alternative is the usage of control flow &&
/||
. Open
if params[:search]
- Read upRead up
- Exclude checks
Favor modifier if
usage when having a single-line body. Another good alternative is the usage of control flow &&
/||
. Open
if custom_image.filename.present? && errors[:custom_image].empty?
- Read upRead up
- Exclude checks
Favor modifier if
usage when having a single-line body. Another good alternative is the usage of control flow &&
/||
. Open
if participant2.agreement_letter_for_event?(self)
- Read upRead up
- Exclude checks
Favor modifier if
usage when having a single-line body. Another good alternative is the usage of control flow &&
/||
. Open
if params[:create].present? || params[:update_and_publish].present?
- Read upRead up
- Exclude checks
Standard property 'transform' should come after vendor-prefixed property '-ms-transform'. Open
-ms-transform: rotate(-5deg);
- Exclude checks
Favor modifier unless
usage when having a single-line body. Another good alternative is the usage of control flow &&
/||
. Open
unless status_change_allowed?
- Read upRead up
- Exclude checks
Favor modifier unless
usage when having a single-line body. Another good alternative is the usage of control flow &&
/||
. Open
unless File.exist?(file_full_path)
- Read upRead up
- Exclude checks
%i
-literals should be delimited by [
and ]
. Open
before_action :set_event, only: %i(show edit update destroy participants participants_pdf print_applications print_applications_eating_habits badges print_badges)
- Read upRead up
- Exclude checks