Upgrade to rails 4

Update the app enough to get it at least somewhat working in rails 4.
Upgrade to bootstrap 3

Update the views to use the new syntax for bootstrap 3