Added a few comments. Changed method name to assign_all_randomly
Merge remote-tracking branch 'origin/rails4' into rails4