bullet icon indicating copy to clipboard operation
bullet copied to clipboard

help to kill N+1 queries and unused eager loading

Results 128 bullet issues
Sort by recently updated
recently updated
newest added

Hey 👋 I'm attempting to set-up Bullet to run in my RSpec tests to detect N+1 queries and whatnot. I've followed the setup outlined in the README ([here](https://github.com/flyerhzm/bullet#run-in-tests)), and set...

In my Rails application I have both style and script tags setup to require nonces. When bullet loads with a CSP required it properly handles script tags but does not...

I've tried it in development, it's working for logger and sentry but in staging, it's showing in logger, but not show alert notification in sentry ? and i set configuration...

We've seen large RPS degradation on staging server where we have bullet enabled Looks like bullet allocates more objects than the rest of application It looks CallStack is one to...

The current instructions can result in errors for at least some version of ruby if when rspec runs as it is not in the "test" group. The error generated does...

When using [multiple databases](https://guides.rubyonrails.org/active_record_multiple_databases.html) I'll see lots of warnings to use eager loading, but that's not actually possible across multiple databases, right? Made up scenario: | Local Database | Vendor...

Millions used and loved bullet across many years, but now other options exist, including mainly: 1. Prospite: which claims that it has ZERO false positives, especially compared to Bullet 2....

Given the following schema: ```rb ActiveRecord::Schema[7.0].define(version: 2023_01_11_023828) do create_table "m1_m2s", force: :cascade do |t| t.integer "m1_id" t.integer "m2_id" end create_table "m1s", force: :cascade do |t| end create_table "m2s", force: :cascade...

classroom has_many homework_groups ``` Classroom.all.each do |classroom| classroom.homework_groups.first.name end ``` bullet didn't give any warning

classroom has_and_belongs_to_many campuses campus belongs_to city ``` Classroom.all.each do |classroom| classroom.campuses.each do |campus| campus.city.name end end ``` bullet didn't give any warning