Disallow registrations after maximum uses
Handle dates with discount code
Add tests for discount code methods
Add convenience method for name of discount code
Better registration view in ActiveAdmin
Migrate the db
Eager load sections and chapters
Better admin view of discount code
Add hints to new discount code form
Scope discount codes to the current course
Clear discounted price when bad code entered
Only use valid discount codes
Remove duplicate migration