Checking out logging in rails