lib/create_training_district.rb
Method create_with_schools_and_users
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.create_with_schools_and_users(abbrev,name)
td=District.create!(:abbrev=>abbrev, :name =>name, :forgot_password => true)
ActiveRecord::Base.transaction do
td.send :create_admin_user
#alpha elementary