removing debug statement and updating rails