Switched to setting raise_not_found_error in application.rb.