Add better errors and rails panel