Complete the code to enable the Bullet gem in a Rails initializer.
Bullet.enable = [1]Setting Bullet.enable = true activates the Bullet gem to detect N+1 queries.
Complete the code to add Bullet's notification to the Rails log.
Bullet.[1] = trueSetting Bullet.rails_logger = true enables logging Bullet notifications to the Rails log.
Fix the error in the Bullet configuration to enable browser alerts.
Bullet.[1] = trueSetting Bullet.alert = true enables browser alert popups for N+1 query detection.
Fill both blanks to configure Bullet to add notifications to the page footer and raise errors.
Bullet.[1] = true Bullet.[2] = true
Setting Bullet.add_footer = true adds notifications to the page footer.
Setting Bullet.raise = true raises errors on detection.
Fill all three blanks to configure Bullet to enable detection, log to Rails logger, and show browser alerts.
Bullet.[1] = true Bullet.[2] = true Bullet.[3] = true
Enable Bullet detection with enable, log notifications with rails_logger, and show browser alerts with alert.