fix the nces has_many association generation
fix the nces has_many association generation

The model instances need to be regenerated:

RAILS_ENV=production rake rites_portal:setup:import_nces_from_file

See the states_and_provinces value in:

  config/settings.sample.yml

to see how to limit the size of the import to 
subset of states.

If you included RI in the set you can now do:

cranston_nces_district = RitesPortal::Nces06District.find_by_NAME('CRANSTON')
cranston_nces_middle_schools = cranston_district.find_all_by_LEVEL("2")
cranston_nces_high_schools = cranston_district.find_all_by_LEVEL("3")

To create models for the school district for 
Cranston RI, and it's middle and high schools.

These objects can be used to create portal models
for the district and schools.

psndcsrv/rites_portal,psndcsrv/rites_portal