Scholaric Release - Renaming and Merging Courses

Last night I released Scholaric.com with changes to how courses are renamed.

The most important change is some bug fixes.   There are many variables in a course rename: 

* existing course used by one student or many
* existing course has lessons for student or not
* target course name exists or is new

Some of these conditions caused some errors, which would leave users scratching their heads.

For example, we limit the rename to a single student, so if two or more students are using a renamed course, rename would in fact create a new course.  This was the desired behavior, except that lessons in the existing course were not properly migrated to the new course.

This is all fixed now, and additional automated tests are in place to cover these cases.

One additional feature from this change, is that I have added the ability to merge two courses into one.  Previously, if you had renamed a course to an existing course name, it would result in an error and Scholaric would disallow the change.

Now that lessons are properly migrated following a course change, it is easy to merge two courses into one.  Just rename the "from" course to an existing "target"  course and the lessons will be moved, and the old course removed.