upgrading rails to fix security issues
make sure image ratio stays constant