Add Rails security fixes, version upgrade