7 upgrade rails

resolves #7