Update Rails

Various security vulnerabilities were discovered in the previous version
of Rails, which was making the application less secure. Rails has been
updated to its latest version.