Upgrade rails for security fix
Fix search box on typewright page
Protect against crash with blank database.
Remove dead footnote link.