Installed better errors gem and cleaned up some rails 4 mess.