Updates the version of rails

Closes security issue for JSON parsing and security vulnerabilities.

closes 105
closes 121