You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the pull request to update to Rails 5, #1882, Bullet has started throwing exceptions on certain queries. For the moment we have set Bullet.raise = false in config/environments/test.rb. Bullet is still turned on it just logs any offences instead of raising exceptions.
Screenshots 📷
Steps to fix 🛠
Methodically go through all queries raising Bullet exceptions, and address the issue. It's almost always something to do with n+1 queries or eager loading.
To do 📋
Claim this issue (comment below, or assign yourself if you are part of the codebar org)
Fork and clone the repository
Update the relevant files. Follow the steps to fix section in this issue.
Commit your changes as one commit. Use the title of this issue as your commit message
Submit a pull request
Mention this issue in the PR description by including it's number
Have your pull request reviewed & merged by a codebar team member
The text was updated successfully, but these errors were encountered:
Definitely, a long time ago I looked into a few of these queries, while I was trying to update Rails version. Have you heard of query_diet as well? I read some interesting things about it…
Description of the issue 📄
As part of the pull request to update to Rails 5, #1882, Bullet has started throwing exceptions on certain queries. For the moment we have set
Bullet.raise = false
inconfig/environments/test.rb
. Bullet is still turned on it just logs any offences instead of raising exceptions.Screenshots 📷
Steps to fix 🛠
Methodically go through all queries raising Bullet exceptions, and address the issue. It's almost always something to do with n+1 queries or eager loading.
To do 📋
The text was updated successfully, but these errors were encountered: