Fix Rails template