Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [04792d4fe71f4b5c011d0c81cbea6f47e45571a8] by Shawn Balestracci

Revision 04792d4fe71f4b5c011d0c81cbea6f47e45571a8, committed by Shawn Balestracci · October 29th, 2013 @ 08:00 PM

move enrollment search to student search

move test to student_search

refactor grades method for enrollments, move search to instance method

starting to split up search into separate methods

more refactoring search to methods and using arel query style

fixed tests and more refactoring

finish moving Enrollment.search to StudentSearch
https://github.com/vegantech/sims/commit/04792d4fe71f4b5c011d0c81cb...

11 changed files

  • A spec/models/student_search_spec.rb
  • M app/controllers/students_controller.rb
  • M app/models/enrollment.rb
  • M app/models/group.rb
  • M app/models/grouped_progress_entry.rb
  • M app/models/personal_group.rb
  • M app/models/student_search.rb
  • M app/reports/student_flag_report.rb
  • M app/reports/team_notes_report.rb
  • M spec/controllers/students_controller_spec.rb
  • M spec/models/enrollment_spec.rb