changes to get rails debugging to work