DEV Community

Discussion on: How to turn on Rails 7 framework defaults (part 1)

Collapse
 
sturpin profile image
Sergio TurpĂ­n

Did you find a solution? 🤦‍♂️

Collapse
 
briankephart profile image
Brian Kephart

I used VS Code to open the local copy of Active Record and edited out a statement that was suppressing the backtrace. Then I could see where the errors were coming from.

Thread Thread
 
sturpin profile image
Sergio TurpĂ­n

Fantastic!! Do you remember exactly what you changed?

Thread Thread
 
briankephart profile image
Brian Kephart

No, but I think it was a statement in the AR Postgres adapter that rescues a PG exception and returns false instead, which then causes AR to raise the fixture error.