Rails template switcher.