My only guess is that 
```
  config.action_dispatch.show_exceptions = true
```
can you please check if this is true?


On Saturday, July 11, 2020 at 3:30:53 AM UTC+3, Jack R-G wrote:
>
> I have read (and experienced by testing) that if, in a controller, you do 
> a AR#find on a record id that does not exist, it throws an 
> AR::RecordNotFound error which is trapped by the default error handling in 
> controllers and results in a 404 status being returned by the controller. 
> This happens with no special code added by the user.
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/ca2c95ef-572a-4cb7-8136-7685b5ad2420o%40googlegroups.com.

Reply via email to