update rails, fix guard