update rails to last stable version, fix rubocop alert in specs