fixed inheritance of controller classes for rails 2.3.18