Added rails debugging support