Update comments and whitespace in controllers for Rails 4
Update code style and method calls in controllers for Rails 4
Fix using the wrong instance variable names in the set_* methods of controllers