concord-consortium/rigse

View on GitHub
rails/db/seeds.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method create_default_users has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def create_default_users
  default_admin_user_settings = APP_CONFIG[:default_admin_user]

  default_user_list = [
    admin_user = User.where(:login => default_admin_user_settings [:login]).first_or_create(
Severity: Major
Found in rails/db/seeds.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status