Upgrade rails version
Fix tests for monitor