reviewdog [rubocop] report
reported by reviewdog 🐶
Findings (0)
Filtered Findings (214)
app/controllers/application_controller.rb|59 col 26| Use ENV.fetch("MAPBOX_ACCESS_TOKEN")
or ENV.fetch("MAPBOX_ACCESS_TOKEN", nil)
instead of ENV["MAPBOX_ACCESS_TOKEN"]
.
app/controllers/application_controller.rb|194 col 12| Use except(*ASSUMED_IDENTITY_SESSION_LOGGING_OMIT_HEADERS)
instead.
app/controllers/graphiql_controller.rb|3 col 3| Put the end
of empty method definitions on the next line.
app/controllers/liquid_docs_controller.rb|3 col 3| Put the end
of empty method definitions on the next line.
app/controllers/registrations_controller.rb|25 col 35| Move locale texts to the locale files in the config/locales
directory.
app/controllers/reports_controller.rb|9 col 3| Put the end
of empty method definitions on the next line.
app/controllers/stripe_webhooks_controller.rb|7 col 31| Use ENV.fetch('STRIPE_ACCOUNT_ENDPOINT_SECRET')
or ENV.fetch('STRIPE_ACCOUNT_ENDPOINT_SECRET', nil)
instead of ENV['STRIPE_ACCOUNT_ENDPOINT_SECRET']
.
app/controllers/stripe_webhooks_controller.rb|26 col 31| Use ENV.fetch('STRIPE_CONNECT_ENDPOINT_SECRET')
or ENV.fetch('STRIPE_CONNECT_ENDPOINT_SECRET', nil)
instead of ENV['STRIPE_CONNECT_ENDPOINT_SECRET']
.
app/controllers/user_con_profiles_controller.rb|43 col 13| Move locale texts to the locale files in the config/locales
directory.
app/controllers/user_con_profiles_controller.rb|55 col 5| Use safe navigation (&.
) instead of checking if an object exists before calling the method.
app/graphql/concerns/cms_content_group_mutation.rb|14 col 33| Use :"#{content_type.tableize}="
instead of "#{content_type.tableize}="
.
app/graphql/mutations/base_mutation.rb|33 col 60| Use :"#{action}?"
instead of "#{action}?"
.
app/graphql/mutations/delete_form_section.rb|16 col 42| Prefer pluck('description')
over map { |standard_item| standard_item['description'] }
.
app/graphql/mutations/withdraw_all_user_con_profile_signups.rb|18 col 8| Use find_each
instead of each
.
app/graphql/sources/form_items.rb|5 col 5| Use map
instead of each
to map elements into an array.
app/graphql/sources/form_items.rb|6 col 121| Line is too long. [145/120]
app/graphql/types/base_field.rb|15 col 26| Use :"#{action}?"
instead of "#{action}?"
.
app/graphql/types/permission_input_type.rb|25 col 50| Prefer pluck(id_field)
over map { |input| input[id_field] }
.
app/graphql/types/user_con_profile_type.rb|6 col 44| Use shorthand syntax ...
for arguments forwarding.
app/graphql/types/user_con_profile_type.rb|7 col 23| Use shorthand syntax ...
for arguments forwarding.
app/jobs/deliver_sms_job.rb|12 col 13| Use ENV.fetch('TWILIO_SMS_NUMBER')
or ENV.fetch('TWILIO_SMS_NUMBER', nil)
instead of ENV['TWILIO_SMS_NUMBER']
.
app/jobs/deliver_sms_job.rb|30 col 49| Use ENV.fetch('TWILIO_ACCOUNT_SID')
or ENV.fetch('TWILIO_ACCOUNT_SID', nil)
instead of ENV['TWILIO_ACCOUNT_SID']
.
app/jobs/deliver_sms_job.rb|30 col 76| Use ENV.fetch('TWILIO_AUTH_TOKEN')
or ENV.fetch('TWILIO_AUTH_TOKEN', nil)
instead of ENV['TWILIO_AUTH_TOKEN']
.
app/models/cms_content_set.rb|29 col 43| Use safe_load_file(metadata_path)
instead.
app/models/cms_layout.rb|27 col 3| Specify an :inverse_of
option.
app/models/cms_partial.rb|29 col 3| Specify an :inverse_of
option.
app/models/concerns/exclusive_arc.rb|19 col 21| Use :"#{name}="
instead of "#{name}="
.
app/models/concerns/exclusive_arc.rb|48 col 61| Use :"#{association_name(model_class)}="
instead of "#{association_name(model_class)}="
.
app/models/concerns/exclusive_arc.rb|55 col 26| Use :"#{value_association}="
instead of "#{value_association}="
.
app/models/concerns/form_response.rb|5 col 14| Specify an :inverse_of
option.
app/models/convention.rb|83 col 3| Specify an :inverse_of
option.
app/models/convention.rb|84 col 3| Specify an :inverse_of
option.
app/models/convention.rb|85 col 3| Specify an :inverse_of
option.
app/models/convention.rb|86 col 3| Specify an :inverse_of
option.
app/models/convention.rb|87 col 3| Specify an :inverse_of
option.
app/models/convention.rb|88 col 3| Specify an :inverse_of
option.
app/models/convention.rb|89 col 3| Specify an :inverse_of
option.
app/models/convention.rb|90 col 3| Specify an :inverse_of
option.
app/models/coupon_application.rb|30 col 66| Move locale texts to the locale files in the config/locales
directory.
app/models/coupon_application.rb|32 col 3| Assignment Branch Condition size for discount is too high. [<2, 30, 8> 31.11/30]
app/models/event.rb|156 col 3| Specify an :inverse_of
option.
app/models/event_category.rb|54 col 19| Use :"#{scheduling_ui}?"
instead of "#{scheduling_ui}?"
.
app/models/order_entry.rb|43 col 21| Remove explicit presence validation for order
.
app/models/order_entry.rb|44 col 23| Remove explicit presence validation for product
.
app/models/order_entry.rb|55 col 11| Don't use parentheses around a logical expression.
app/models/page.rb|40 col 3| Specify an :inverse_of
option.
app/models/pay_what_you_want_value.rb|11 col 24| Move locale texts to the locale files in the config/locales
directory.
app/models/pay_what_you_want_value.rb|17 col 24| Move locale texts to the locale files in the config/locales
directory.
app/models/permission.rb|53 col 39| Prefer pluck('permission')
over map { |permission_config| permission_config['permission'] }
.
app/models/signup.rb|53 col 19| Use :"#{state_name}?"
instead of "#{state_name}?"
.
app/models/team_member.rb|37 col 32| Remove explicit presence validation for user_con_profile
.
app/models/team_member.rb|42 col 21| Remove explicit presence validation for event
.
app/models/ticket.rb|41 col 46| Remove explicit presence validation for user_con_profile
/ticket_type
.
app/models/ticket_type.rb|48 col 5| Don't use parentheses around a logical expression.
app/models/user_activity_alert.rb|32 col 3| Specify an :inverse_of
option.
app/models/user_activity_alert.rb|59 col 5| Return false
instead of nil
in predicate methods.
app/models/user_activity_alert.rb|67 col 5| Return false
instead of nil
in predicate methods.
app/models/user_con_profile.rb|123 col 7| Don't use parentheses around a logical expression.
app/notifiers/notifier.rb|115 col 5| Don't use parentheses around a logical expression.
app/policies/concerns/cms_content_policy.rb|55 col 15| Use :Scope
instead of 'Scope'
.
app/policies/concerns/cms_content_policy.rb|56 col 15| Use :ManageScope
instead of 'ManageScope'
.
app/policies/event_proposal_policy.rb|79 col 9| Don't use parentheses around a logical expression.
app/policies/queries/disjunctive_where.rb|5 col 5| Use yield
instead of block.call
.
app/policies/queries/permissions_query_manager.rb|36 col 19| Use :"#{association_name.pluralize}_with_permission"
instead of "#{association_name.pluralize}_with_permission"
.
app/policies/queries/permissions_query_manager.rb|73 col 19| Use :"#{association_name}_permissions"
instead of "#{association_name}_permissions"
.
app/policies/queries/permissions_query_manager.rb|77 col 19| Use :"has_#{association_name}_permission_in_convention?"
instead of "has_#{association_name}_permission_in_convention?"
.
app/policies/queries/permissions_query_manager.rb|85 col 19| Use :"has_#{association_name}_permission?"
instead of "has_#{association_name}_permission?"
.
app/policies/user_con_profile_policy.rb|103 col 9| Don't use parentheses around a logical expression.
app/policies/user_con_profile_policy.rb|119 col 9| Don't use parentheses around a logical expression.
app/presenters/convention_reports_presenter.rb|21 col 121| Line is too long. [139/120]
app/presenters/convention_reports_presenter.rb|28 col 121| Line is too long. [141/120]
app/presenters/convention_reports_presenter.rb|55 col 121| Line is too long. [139/120]
app/presenters/markdown_presenter.rb|92 col 25| Don't use parentheses around an expression.
app/presenters/markdown_presenter.rb|93 col 17| Don't use parentheses around an expression.
app/presenters/markdown_presenter.rb|94 col 23| Don't use parentheses around an expression.
app/services/autoscale_servers_service.rb|65 col 7| Convert if
nested inside else
to elsif
.
app/services/autoscale_servers_service.rb|94 col 5| Use Comparable#clamp
instead.
app/services/event_change_registration_policy_service.rb|205 col 7| Don't use parentheses around a logical expression.
app/services/event_vacancy_fill_service.rb|97 col 5| Don't use parentheses around a logical expression.
app/services/refresh_ssl_certificate_service.rb|148 col 59| Prefer pluck("hostname")
over map { |domain| domain["hostname"] }
.
config.ru|3 col 9| Remove redundant ::
.
config/cloudwatch_schedule.rb|25 col 27| Use ENV.fetch("HEROKU_API_TOKEN")
or ENV.fetch("HEROKU_API_TOKEN", nil)
instead of ENV["HEROKU_API_TOKEN"]
.
config/cloudwatch_schedule.rb|26 col 26| Use ENV.fetch("HEROKU_APP_NAME")
or ENV.fetch("HEROKU_APP_NAME", nil)
instead of ENV["HEROKU_APP_NAME"]
.
config/cloudwatch_schedule.rb|27 col 22| Use ENV.fetch("INTERCODE_HOST")
or ENV.fetch("INTERCODE_HOST", nil)
instead of ENV["INTERCODE_HOST"]
.
config/cloudwatch_schedule.rb|29 col 81| Argument " " is redundant because it is implied by default.
config/cloudwatch_schedule.rb|30 col 67| Argument " " is redundant because it is implied by default.
config/cloudwatch_schedule.rb|31 col 20| Use ENV.fetch("INTERCODE_CERTS_STAGING")
or ENV.fetch("INTERCODE_CERTS_STAGING", nil)
instead of ENV["INTERCODE_CERTS_STAGING"]
.
config/environments/production.rb|68 col 19| Use ENV.fetch("MEMCACHEDCLOUD_USERNAME")
or ENV.fetch("MEMCACHEDCLOUD_USERNAME", nil)
instead of ENV["MEMCACHEDCLOUD_USERNAME"]
.
config/environments/production.rb|68 col 61| Use ENV.fetch("MEMCACHEDCLOUD_PASSWORD")
or ENV.fetch("MEMCACHEDCLOUD_PASSWORD", nil)
instead of ENV["MEMCACHEDCLOUD_PASSWORD"]
.
config/environments/production.rb|108 col 26| Remove redundant ::
.
config/environments/stage.rb|78 col 26| Remove redundant ::
.
config/initializers/gc_auto_compact.rb|3 col 1| Use $stderr
instead of STDERR
.
config/initializers/gc_auto_compact.rb|3 col 1| Use warn
instead of STDERR.puts
to allow such output to be disabled.
config/initializers/new_framework_defaults_7_1.rb|161 col 73| Unknown environment local
.
config/initializers/recaptcha.rb|2 col 3| Don't use parentheses around a logical expression.
config/initializers/stripe.rb|2 col 20| Use ENV.fetch('STRIPE_PUBLISHABLE_KEY')
or ENV.fetch('STRIPE_PUBLISHABLE_KEY', nil)
instead of ENV['STRIPE_PUBLISHABLE_KEY']
.
config/initializers/stripe.rb|3 col 15| Use ENV.fetch('STRIPE_SECRET_KEY')
or ENV.fetch('STRIPE_SECRET_KEY', nil)
instead of ENV['STRIPE_SECRET_KEY']
.
db/migrate/20120604131744_create_events.rb|9 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20120604131744_create_events.rb|12 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20120604143822_devise_create_users.rb|22 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20120604200523_create_cons.rb|8 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20120604200523_create_cons.rb|9 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20140112205637_create_team_members.rb|7 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20140112205637_create_team_members.rb|8 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20140112205637_create_team_members.rb|9 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20140112205637_create_team_members.rb|10 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20161112203319_add_counted_to_signups.rb|3 col 5| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20170526163733_add_show_nickname_in_bio_to_user_con_profiles.rb|3 col 5| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20170724165907_create_event_proposals.rb|14 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20171014183340_add_default_status_for_events.rb|7 col 5| change_column is not reversible.
db/migrate/20180213195724_add_visible_to_staff_positions.rb|3 col 5| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20180305002945_create_products.rb|5 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20190821144208_migrate_mail_privs_to_staff_positions.rb|20 col 70| Use :"#{priv_name}?"
instead of "#{priv_name}?"
.
db/migrate/20200124155649_add_mobile_phone_to_user_con_profiles.rb|31 col 55| Use string "()"
as argument instead of regexp /\(\)/
.
db/migrate/20200124155649_add_mobile_phone_to_user_con_profiles.rb|53 col 5| Redundant return
detected.
db/migrate/20200218010110_create_signup_changes.rb|12 col 7| Boolean columns should always have a default value and a NOT NULL
constraint.
db/migrate/20211227171633_fix_nil_string_in_layout_types.rb|10 col 3| Put the end
of empty method definitions on the next line.
db/migrate/20220418161949_add_hold_expired_notification_template.rb|14 col 67| Use find_each
instead of each
.
db/migrate/20220503164309_add_primary_keys_on_join_tables.rb|51 col 5| Use each_key
instead of each
and remove the unused _columns
block argument.
lib/intercode/import/illyan/password_migration.rb|24 col 5| Don't use parentheses around a logical expression.
lib/intercode/import/illyan/tables/people.rb|25 col 25| Don't use parentheses around a logical expression.
lib/intercode/import/illyan/tables/people.rb|26 col 24| Don't use parentheses around a logical expression.
lib/intercode/import/intercode1/html_content.rb|68 col 29| Redundant escape of " inside string literal.
lib/intercode/import/intercode1/html_content.rb|68 col 58| Redundant escape of " inside string literal.
lib/intercode/import/intercode1/html_content.rb|69 col 11| Redundant escape of " inside string literal.
lib/intercode/import/intercode1/html_content.rb|69 col 36| Redundant escape of " inside string literal.
lib/intercode/import/intercode1/tables/away.rb|5 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/bid_info.rb|3 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/bid_times.rb|48 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/bids.rb|122 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/bios.rb|3 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/events.rb|5 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/gms.rb|5 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/pre_con_events.rb|3 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/pre_con_runs.rb|5 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/rooms.rb|21 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/runs.rb|5 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/signup.rb|5 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/store_items.rb|5 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/store_order_entries.rb|5 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/store_orders.rb|5 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/users.rb|72 col 5| Use parentheses for super
with arguments.
lib/intercode/import/intercode1/tables/users.rb|110 col 53| Use :"#{key}="
instead of "#{key}="
.
lib/intercode/import/intercode1/upload_file.rb|3 col 65| Don't use parentheses around a variable.
lib/intercode/import/procon/tables/attendances.rb|22 col 5| Use parentheses for super
with arguments.
lib/intercode/import/procon/tables/convention_staff_attendances.rb|5 col 5| Use parentheses for super
with arguments.
lib/intercode/import/procon/tables/conventions.rb|49 col 5| Use parentheses for super
with arguments.
lib/intercode/import/procon/tables/events.rb|28 col 5| Use parentheses for super
with arguments.
lib/intercode/import/procon/tables/people.rb|33 col 25| Don't use parentheses around a logical expression.
lib/intercode/import/procon/tables/people.rb|34 col 24| Don't use parentheses around a logical expression.
lib/intercode/import/procon/tables/proposed_events.rb|6 col 5| Use parentheses for super
with arguments.
lib/intercode/liquid/filters.rb|184 col 35| Don't use parentheses around a logical expression.
lib/intercode/liquid/tags/assign_graphql_result.rb|73 col 107| Use string ".["
as argument instead of regexp /\.\[/
.
lib/tasks/import/illyan.rake|2 col 11| Use ENV.fetch(name)
or ENV.fetch(name, nil)
instead of ENV[name]
.
lib/tasks/import/intercode1.rake|2 col 11| Use ENV.fetch(name)
or ENV.fetch(name, nil)
instead of ENV[name]
.
lib/tasks/import/intercode1.rake|19 col 7| Use ENV.fetch('CON_DOMAIN')
or ENV.fetch('CON_DOMAIN', nil)
instead of ENV['CON_DOMAIN']
.
lib/tasks/import/intercode1.rake|34 col 7| Use ENV.fetch('CON_DOMAIN')
or ENV.fetch('CON_DOMAIN', nil)
instead of ENV['CON_DOMAIN']
.
lib/tasks/import/intercode1.rake|36 col 47| Use ENV.fetch('CON_DOMAIN')
or ENV.fetch('CON_DOMAIN', nil)
instead of ENV['CON_DOMAIN']
.
lib/tasks/import/procon.rake|2 col 11| Use ENV.fetch(name)
or ENV.fetch(name, nil)
instead of ENV[name]
.
lib/tasks/refresh_certs.rake|5 col 23| Use ENV.fetch('HEROKU_API_TOKEN')
or ENV.fetch('HEROKU_API_TOKEN', nil)
instead of ENV['HEROKU_API_TOKEN']
.
lib/tasks/refresh_certs.rake|6 col 22| Use ENV.fetch('HEROKU_APP_NAME')
or ENV.fetch('HEROKU_APP_NAME', nil)
instead of ENV['HEROKU_APP_NAME']
.
lib/tasks/refresh_certs.rake|7 col 18| Use ENV.fetch('INTERCODE_HOST')
or ENV.fetch('INTERCODE_HOST', nil)
instead of ENV['INTERCODE_HOST']
.
lib/tasks/refresh_certs.rake|9 col 77| Argument ' ' is redundant because it is implied by default.
lib/tasks/refresh_certs.rake|10 col 63| Argument ' ' is redundant because it is implied by default.
lib/tasks/refresh_certs.rake|11 col 16| Use ENV.fetch('INTERCODE_CERTS_STAGING')
or ENV.fetch('INTERCODE_CERTS_STAGING', nil)
instead of ENV['INTERCODE_CERTS_STAGING']
.
lib/tasks/release.rake|11 col 30| Use ENV.fetch('ROLLBAR_ACCESS_TOKEN')
or ENV.fetch('ROLLBAR_ACCESS_TOKEN', nil)
instead of ENV['ROLLBAR_ACCESS_TOKEN']
.
lib/tasks/release.rake|11 col 72| Use ENV.fetch('RAILS_ENV')
or ENV.fetch('RAILS_ENV', nil)
instead of ENV['RAILS_ENV']
.
lib/tasks/release.rake|11 col 100| Use ENV.fetch('REVISION')
or ENV.fetch('REVISION', nil)
instead of ENV['REVISION']
.
lib/tasks/release.rake|14 col 20| Remove redundant ::
.
test/controllers/graphql_controller_test.rb|28 col 12| Prefer response.parsed_body
to JSON.parse(response.body)
.
test/controllers/registrations_controller_test.rb|3 col 37| Use ActionDispatch::IntegrationTest
instead.
test/graphql/intercode_schema_test.rb|6 col 18| Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the /
if it should be a division.
test/liquid_drops/ticket_drop_test.rb|19 col 76| Use :"ticket_type_#{field}"
instead of "ticket_type_#{field}"
.
test/policies/convention_permissions_test_helper.rb|69 col 21| Use :"create_user_with_#{permission}_in_cms_content_group"
instead of "create_user_with_#{permission}_in_cms_content_group"
.
test/policies/convention_permissions_test_helper.rb|77 col 21| Use :"create_user_with_#{permission}_in_event_category"
instead of "create_user_with_#{permission}_in_event_category"
.
test/policies/convention_permissions_test_helper.rb|85 col 21| Use :"create_user_with_#{permission}_in_convention"
instead of "create_user_with_#{permission}_in_convention"
.
test/policies/convention_policy_test.rb|23 col 68| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|45 col 86| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|49 col 68| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|66 col 71| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|73 col 98| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|78 col 86| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|82 col 68| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|99 col 71| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|106 col 98| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|111 col 86| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|115 col 68| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/convention_policy_test.rb|176 col 84| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/event_policy_test.rb|165 col 86| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/event_rating_policy_test.rb|11 col 60| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/event_rating_policy_test.rb|15 col 91| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/event_rating_policy_test.rb|23 col 22| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/event_rating_policy_test.rb|26 col 22| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/event_rating_policy_test.rb|31 col 75| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/event_rating_policy_test.rb|36 col 75| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/event_rating_policy_test.rb|40 col 70| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/event_rating_policy_test.rb|44 col 76| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/event_rating_policy_test.rb|52 col 75| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/mailing_lists_policy_test.rb|26 col 84| Use :"#{other_permission_name}?"
instead of "#{other_permission_name}?"
.
test/policies/mailing_lists_policy_test.rb|38 col 35| Use :"#{permission_name}?"
instead of "#{permission_name}?"
.
test/policies/order_policy_test.rb|56 col 63| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/order_policy_test.rb|66 col 57| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/signup_policy_test.rb|134 col 81| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/signup_request_policy_test.rb|49 col 74| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/signup_request_policy_test.rb|53 col 106| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/signup_request_policy_test.rb|57 col 83| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/user_con_profile_policy_test.rb|210 col 91| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/user_con_profile_policy_test.rb|223 col 94| Use :"#{action}?"
instead of "#{action}?"
.
test/policies/user_con_profile_policy_test.rb|227 col 91| Use :"#{action}?"
instead of "#{action}?"
.
test/services/provide_event_ticket_service_test.rb|29 col 20| Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the /
if it should be a division.
test/services/provide_event_ticket_service_test.rb|39 col 20| Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the /
if it should be a division.
test/services/provide_event_ticket_service_test.rb|49 col 20| Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the /
if it should be a division.
test/services/provide_event_ticket_service_test.rb|64 col 20| Ambiguous regexp literal. Parenthesize the method arguments if it's surely a regexp literal, or add a whitespace to the right of the /
if it should be a division.
test/test_helper.rb|73 col 20| Prefer pluck("message")
over map { |error| error["message"] }
.