refixed pry and rails file