Adjust Title Helper in Ruby on Rails Tutorial 3.2 to deal with & properly
- by memoht
I am using the title helper from the 3.2 edition of the Ruby on Rails Tutorial by Michael Hartl and just realized a snag with the & character showing up in the title as &Amp instead.
The relevant snippet of code is here Official Sample App 2nd Edition
The problem. I have a School model and am using the School name on the Show view as…