ucsd-ra/ug_research_portal — pull request #57 by wesvetter (2013-09-27 08:39:39+00:00)
Title: Several fixes

- fixes broken specs
- truncate long names on profile partial
- move list of common majors/minors into majors.yml

Querying on Major.all to create a list of majors for the major/minor select boxes does not work very well because there are a bunch of "bad" major names imported from PortTriton. I added a class variable to Major that imports a list of known majors (previously in db/seeds.rb) and reference that from seeds.rb and the helper methods.