fix settings view for rails 3 compatibility