Upgrade to Rails 4.
First layout fixes.