Rails4

upgrade rail to '4.0.10'. Error when login as admin. Login in as student and TA is fine.

bundle exec rspec: 1 error and some deprecated warnings. (need to be fixed)
bundle exec rake test: unable to run, need to be fixed. (shoulda and minitest problem)
Avoid using {...} for multi-line blocks.