https://github.com/flyerhzm/bullet
help to kill N+1 queries and unused eager loading
https://github.com/flyerhzm/bullet
Keywords from Contributors
activerecord mvc activejob crash-reporting rubygems rubocop rspec rack static-code-analysis code-formatter
Last synced: about 4 hours ago
JSON representation
Repository metadata
help to kill N+1 queries and unused eager loading
- Host: GitHub
- URL: https://github.com/flyerhzm/bullet
- Owner: flyerhzm
- License: mit
- Created: 2009-08-13T15:47:31.000Z (over 16 years ago)
- Default Branch: main
- Last Pushed: 2025-11-24T22:21:23.000Z (21 days ago)
- Last Synced: 2025-12-06T15:29:13.511Z (10 days ago)
- Language: Ruby
- Homepage:
- Size: 1.62 MB
- Stars: 7,288
- Watchers: 68
- Forks: 450
- Open Issues: 8
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE
README.md
Bullet
The Bullet gem is designed to help you increase your application's performance by reducing the number of queries it makes. It will watch your queries while you develop your application and notify you when you should add eager loading (N+1 queries), when you're using eager loading that isn't necessary and when you should use counter cache.
Best practice is to use Bullet in development mode or custom mode (staging, profile, etc.). The last thing you want is your clients getting alerts about how lazy you are.
Bullet gem now supports activerecord >= 4.0 and mongoid >= 4.0.
If you use activerecord 2.x, please use bullet <= 4.5.0
If you use activerecord 3.x, please use bullet < 5.5.0
External Introduction
- http://railscasts.com/episodes/372-bullet
- http://ruby5.envylabs.com/episodes/9-episode-8-september-8-2009
- http://railslab.newrelic.com/2009/10/23/episode-19-on-the-edge-part-1
- https://rubyonrails.org/2009/10/22/community-highlights
Install
You can install it as a gem:
gem install bullet
or add it into a Gemfile (Bundler):
gem 'bullet', group: 'development'
enable the Bullet gem with generate command
bundle exec rails g bullet:install
The generate command will auto generate the default configuration and may ask to include in the test environment as well. See below for custom configuration.
Note: make sure bullet gem is added after activerecord (rails) and
mongoid.
Configuration
Bullet won't enable any notification systems unless you tell it to explicitly. Append to
config/environments/development.rb initializer with the following code:
config.after_initialize do
Bullet.enable = true
Bullet.sentry = true
Bullet.alert = true
Bullet.bullet_logger = true
Bullet.console = true
Bullet.xmpp = { :account => 'bullets_account@jabber.org',
:password => 'bullets_password_for_jabber',
:receiver => 'your_account@jabber.org',
:show_online_status => true }
Bullet.rails_logger = true
Bullet.honeybadger = true
Bullet.bugsnag = true
Bullet.appsignal = true
Bullet.airbrake = true
Bullet.rollbar = true
Bullet.add_footer = true
Bullet.skip_html_injection = false
Bullet.skip_http_headers = false
Bullet.stacktrace_includes = [ 'your_gem', 'your_middleware' ]
Bullet.stacktrace_excludes = [ 'their_gem', 'their_middleware', ['my_file.rb', 'my_method'], ['my_file.rb', 16..20] ]
Bullet.slack = { webhook_url: 'http://some.slack.url', channel: '#default', username: 'notifier' }
Bullet.opentelemetry = true
Bullet.raise = false
Bullet.always_append_html_body = false
Bullet.skip_user_in_notification = false
end
The notifier of Bullet is a wrap of uniform_notifier
The code above will enable all of the Bullet notification systems:
Bullet.enable: enable Bullet gem, otherwise do nothingBullet.sentry: add notifications to sentryBullet.alert: pop up a JavaScript alert in the browserBullet.bullet_logger: log to the Bullet log file (Rails.root/log/bullet.log)Bullet.console: log warnings to your browser's console.log (Safari/Webkit browsers or Firefox w/Firebug installed)Bullet.xmpp: send XMPP/Jabber notifications to the receiver indicated. Note that the code will currently not handle the adding of contacts, so you will need to make both accounts indicated know each other manually before you will receive any notifications. If you restart the development server frequently, the 'coming online' sound for the Bullet account may start to annoy - in this case set :show_online_status to false; you will still get notifications, but the Bullet account won't announce it's online status anymore.Bullet.rails_logger: add warnings directly to the Rails logBullet.honeybadger: add notifications to HoneybadgerBullet.bugsnag: add notifications to bugsnagBullet.appsignal: add notifications to AppSignalBullet.airbrake: add notifications to airbrakeBullet.rollbar: add notifications to rollbarBullet.add_footer: adds the details in the bottom left corner of the page. Double click the footer or use close button to hide footer.Bullet.skip_html_injection: prevents Bullet from injecting code into the returned HTML. This must be false for receiving alerts, showing the footer or console logging.Bullet.skip_http_headers: don't add headers to API requests, and remove the javascript that relies on them. Note that this prevents bullet from logging warnings to the browser console or updating the footer.Bullet.stacktrace_includes: include paths with any of these substrings in the stack trace, even if they are not in your main appBullet.stacktrace_excludes: ignore paths with any of these substrings in the stack trace, even if they are not in your main app.
Each item can be a string (match substring), a regex, or an array where the first item is a path to match, and the second
item is a line number, a Range of line numbers, or a (bare) method name, to exclude only particular lines in a file.Bullet.slack: add notifications to slackBullet.opentelemetry: add notifications to OpenTelemetryBullet.raise: raise errors, useful for making your specs fail unless they have optimized queriesBullet.always_append_html_body: always append the html body even if no notifications are present. Note:consoleoradd_footermust also be true. Useful for Single Page Applications where the initial page load might not have any notifications present.Bullet.skip_user_in_notification: exclude the OS user (whoami) from notifications.
Bullet also allows you to disable any of its detectors.
# Each of these settings defaults to true
# Detect N+1 queries
Bullet.n_plus_one_query_enable = false
# Detect eager-loaded associations which are not used
Bullet.unused_eager_loading_enable = false
# Detect unnecessary COUNT queries which could be avoided
# with a counter_cache
Bullet.counter_cache_enable = false
Safe list
Sometimes Bullet may notify you of query problems you don't care to fix, or
which come from outside your code. You can add them to a safe list to ignore them:
Bullet.add_safelist :type => :n_plus_one_query, :class_name => "Post", :association => :comments
Bullet.add_safelist :type => :unused_eager_loading, :class_name => "Post", :association => :comments
Bullet.add_safelist :type => :counter_cache, :class_name => "Country", :association => :cities
If you want to skip bullet in some specific controller actions, you can
do like
class ApplicationController < ActionController::Base
around_action :skip_bullet, if: -> { defined?(Bullet) }
def skip_bullet
previous_value = Bullet.enable?
Bullet.enable = false
yield
ensure
Bullet.enable = previous_value
end
end
Log
The Bullet log log/bullet.log will look something like this:
- N+1 Query:
2009-08-25 20:40:17[INFO] USE eager loading detected:
Post => [:comments]·
Add to your query: .includes([:comments])
2009-08-25 20:40:17[INFO] Call stack
/Users/richard/Downloads/test/app/views/posts/index.html.erb:8:in `each'
/Users/richard/Downloads/test/app/controllers/posts_controller.rb:7:in `index'
The first log entry is a notification that N+1 queries have been encountered. The remaining entry is a stack trace so you can find exactly where the queries were invoked in your code, and fix them.
- Unused eager loading:
2009-08-25 20:53:56[INFO] AVOID eager loading detected
Post => [:comments]·
Remove from your query: .includes([:comments])
2009-08-25 20:53:56[INFO] Call stack
These lines are notifications that unused eager loadings have been encountered.
- Need counter cache:
2009-09-11 09:46:50[INFO] Need Counter Cache
Post => [:comments]
XMPP/Jabber and Airbrake Support
see https://github.com/flyerhzm/uniform_notifier
Growl Support
Growl support is dropped from uniform_notifier 1.16.0, if you still want it, please use uniform_notifier 1.15.0.
URL query control
You can add the URL query parameter skip_html_injection to make the current HTML request behave as if Bullet.skip_html_injection is enabled,
e.g. http://localhost:3000/posts?skip_html_injection=true
Important
If you find Bullet does not work for you, please disable your browser's cache.
Advanced
Work with ActiveJob
Include Bullet::ActiveJob in your ApplicationJob.
class ApplicationJob < ActiveJob::Base
include Bullet::ActiveJob if Rails.env.development?
end
Work with other background job solution
Use the Bullet.profile method.
class ApplicationJob < ActiveJob::Base
around_perform do |_job, block|
Bullet.profile do
block.call
end
end
end
Work with sinatra
Configure and use Bullet::Rack.
configure :development do
Bullet.enable = true
Bullet.bullet_logger = true
use Bullet::Rack
end
If your application generates a Content-Security-Policy via a separate middleware, ensure that Bullet::Rack is loaded before that middleware.
Run in tests
First you need to enable Bullet in the test environment.
# config/environments/test.rb
config.after_initialize do
Bullet.enable = true
Bullet.bullet_logger = true
Bullet.raise = true # raise an error if n+1 query occurs
end
Then wrap each test in the Bullet api.
With RSpec:
# spec/rails_helper.rb
RSpec.configure do |config|
config.before(:each) do
Bullet.start_request
end
config.after(:each) do
Bullet.perform_out_of_channel_notifications if Bullet.notification?
Bullet.end_request
end
end
With Minitest:
# test/test_helper.rb
module ActiveSupport
class TestCase
def before_setup
Bullet.start_request
super
end
def after_teardown
super
Bullet.perform_out_of_channel_notifications if Bullet.notification?
Bullet.end_request
end
end
end
Debug Mode
Bullet outputs some details info, to enable debug mode, set
BULLET_DEBUG=true env.
Contributors
https://github.com/flyerhzm/bullet/contributors
Demo
Bullet is designed to function as you browse through your application in development. To see it in action,
you can follow these steps to create, detect, and fix example query problems.
1. Create an example application
$ rails new test_bullet
$ cd test_bullet
$ rails g scaffold post name:string
$ rails g scaffold comment name:string post_id:integer
$ bundle exec rails db:migrate
2. Change app/models/post.rb and app/models/comment.rb
class Post < ApplicationRecord
has_many :comments
end
class Comment < ApplicationRecord
belongs_to :post
end
3. Go to rails c and execute
post1 = Post.create(:name => 'first')
post2 = Post.create(:name => 'second')
post1.comments.create(:name => 'first')
post1.comments.create(:name => 'second')
post2.comments.create(:name => 'third')
post2.comments.create(:name => 'fourth')
4. Change the app/views/posts/index.html.erb to produce a N+1 query
<% @posts.each do |post| %>
<tr>
<td><%= post.name %></td>
<td><%= post.comments.map(&:name) %></td>
<td><%= link_to 'Show', post %></td>
<td><%= link_to 'Edit', edit_post_path(post) %></td>
<td><%= link_to 'Destroy', post, :confirm => 'Are you sure?', :method => :delete %></td>
</tr>
<% end %>
5. Add the bullet gem to the Gemfile
gem "bullet"
And run
bundle install
6. enable the Bullet gem with generate command
bundle exec rails g bullet:install
7. Start the server
$ rails s
8. Visit http://localhost:3000/posts in browser, and you will see a popup alert box that says
The request has unused preload associations as follows:
None
The request has N+1 queries as follows:
model: Post => associations: [comment]
which means there is a N+1 query from the Post object to its Comment association.
In the meantime, there's a log appended into log/bullet.log file
2010-03-07 14:12:18[INFO] N+1 Query in /posts
Post => [:comments]
Add to your finder: :include => [:comments]
2010-03-07 14:12:18[INFO] N+1 Query method call stack
/home/flyerhzm/Downloads/test_bullet/app/views/posts/index.html.erb:14:in `_render_template__600522146_80203160_0'
/home/flyerhzm/Downloads/test_bullet/app/views/posts/index.html.erb:11:in `each'
/home/flyerhzm/Downloads/test_bullet/app/views/posts/index.html.erb:11:in `_render_template__600522146_80203160_0'
/home/flyerhzm/Downloads/test_bullet/app/controllers/posts_controller.rb:7:in `index'
The generated SQL is:
Post Load (1.0ms) SELECT * FROM "posts"
Comment Load (0.4ms) SELECT * FROM "comments" WHERE ("comments".post_id = 1)
Comment Load (0.3ms) SELECT * FROM "comments" WHERE ("comments".post_id = 2)
9. To fix the N+1 query, change app/controllers/posts_controller.rb file
def index
@posts = Post.includes(:comments)
respond_to do |format|
format.html # index.html.erb
format.xml { render :xml => @posts }
end
end
10. Refresh http://localhost:3000/posts. Now there's no alert box and nothing new in the log.
The generated SQL is:
Post Load (0.5ms) SELECT * FROM "posts"
Comment Load (0.5ms) SELECT "comments".* FROM "comments" WHERE ("comments".post_id IN (1,2))
N+1 query fixed. Cool!
11. Now simulate unused eager loading. Change
app/controllers/posts_controller.rb and
app/views/posts/index.html.erb
def index
@posts = Post.includes(:comments)
respond_to do |format|
format.html # index.html.erb
format.xml { render :xml => @posts }
end
end
<% @posts.each do |post| %>
<tr>
<td><%= post.name %></td>
<td><%= link_to 'Show', post %></td>
<td><%= link_to 'Edit', edit_post_path(post) %></td>
<td><%= link_to 'Destroy', post, :confirm => 'Are you sure?', :method => :delete %></td>
</tr>
<% end %>
12. Refresh http://localhost:3000/posts, and you will see a popup alert box that says
The request has unused preload associations as follows:
model: Post => associations: [comment]
The request has N+1 queries as follows:
None
Meanwhile, there's a line appended to log/bullet.log
2009-08-25 21:13:22[INFO] Unused preload associations: PATH_INFO: /posts; model: Post => associations: [comments]·
Remove from your finder: :include => [:comments]
13. Simulate counter_cache. Change app/controllers/posts_controller.rb
and app/views/posts/index.html.erb
def index
@posts = Post.all
respond_to do |format|
format.html # index.html.erb
format.xml { render :xml => @posts }
end
end
<% @posts.each do |post| %>
<tr>
<td><%= post.name %></td>
<td><%= post.comments.size %></td>
<td><%= link_to 'Show', post %></td>
<td><%= link_to 'Edit', edit_post_path(post) %></td>
<td><%= link_to 'Destroy', post, :confirm => 'Are you sure?', :method => :delete %></td>
</tr>
<% end %>
14. Refresh http://localhost:3000/posts, then you will see a popup alert box that says
Need counter cache
Post => [:comments]
Meanwhile, there's a line appended to log/bullet.log
2009-09-11 10:07:10[INFO] Need Counter Cache
Post => [:comments]
Copyright (c) 2009 - 2022 Richard Huang (flyerhzm@gmail.com), released under the MIT license
Owner metadata
- Name: Richard Huang
- Login: flyerhzm
- Email:
- Kind: user
- Description: Founder at synvert.net and awesomecode.io Speaker of RailsConf and RubyConf
- Website: https://synvert.net
- Location: Shanghai, China
- Twitter: flyerhzm
- Company:
- Icon url: https://avatars.githubusercontent.com/u/66836?v=4
- Repositories: 110
- Last ynced at: 2024-04-14T15:24:03.749Z
- Profile URL: https://github.com/flyerhzm
GitHub Events
Total
- Issues event: 111
- Watch event: 205
- Delete event: 1
- Issue comment event: 300
- Push event: 42
- Pull request review comment event: 5
- Pull request review event: 8
- Pull request event: 38
- Fork event: 21
- Create event: 8
Last Year
- Issues event: 103
- Watch event: 146
- Delete event: 1
- Issue comment event: 280
- Push event: 39
- Pull request review comment event: 5
- Pull request review event: 8
- Pull request event: 31
- Fork event: 16
- Create event: 7
Committers metadata
Last synced: about 16 hours ago
Total Commits: 1,240
Total Committers: 197
Avg Commits per committer: 6.294
Development Distribution Score (DDS): 0.465
Commits in past year: 51
Committers in past year: 16
Avg Commits per committer in past year: 3.188
Development Distribution Score (DDS) in past year: 0.471
| Name | Commits | |
|---|---|---|
| Richard Huang | f****m@g****m | 664 |
| Richard | r****d@e****m | 106 |
| Sven Riedel | sr@g****g | 72 |
| Awesome Code | t****m@x****m | 69 |
| Gabriele Renzi | r****f@g****m | 15 |
| Akira Matsuda | r****e@d****p | 10 |
| Vincent Prigent | v****1@g****m | 10 |
| Daniel Low | d****w@g****m | 6 |
| Adam Zapaśnik | 9****k | 5 |
| Angel Diaz | a****z@s****m | 5 |
| Joel Low | j****l@j****g | 5 |
| Stanisław Pitucha | s****a@e****m | 5 |
| Banura Randika | r****a@g****m | 4 |
| Ildar Kayumov | k****v@g****m | 4 |
| Phil Ostler | p****r@g****m | 4 |
| Rainux Luo | r****x@g****m | 4 |
| Takatoshi Ono | t****o@g****m | 4 |
| dependabot[bot] | 4****] | 4 |
| dtaniwaki | d****i@g****m | 4 |
| kehra | m****k@g****m | 4 |
| Konstantin Kosmatov | k****y@k****u | 4 |
| Flip Sasser | f****p@x****m | 3 |
| Ashok | a****k@t****m | 3 |
| 2CollegeBums | 2****s@g****m | 3 |
| Andrew Horner | a****w@t****m | 3 |
| Cody Cutrer | c****y@i****m | 3 |
| Iain Beeston | i****n | 3 |
| Iskander Haziev | g****n@g****m | 3 |
| Olle Jonsson | o****n@g****m | 3 |
| Ryunosuke Sato | t****s@g****m | 3 |
| and 167 more... | ||
Committer domains:
- me.com: 3
- instructure.com: 2
- airbnb.com: 1
- slash7.com: 1
- betterment.com: 1
- weddingwire.com: 1
- coding-robin.de: 1
- devex.com: 1
- cubyx.fr: 1
- crowdcompass.com: 1
- larkfarm.com: 1
- mdswanson.com: 1
- thriver.com: 1
- neb.com: 1
- ya.ru: 1
- cc-designz.de: 1
- bm5k.com: 1
- shoplineapp.com: 1
- ekohe.com: 1
- gimp.org: 1
- xinminlabs.com: 1
- dio.jp: 1
- strongmind.com: 1
- joelsplace.sg: 1
- envato.com: 1
- kosmatov.su: 1
- x451.com: 1
- thoughtworks.com: 1
- tablexi.com: 1
- tarokosoftware.com: 1
- danfinnie.com: 1
- redhat.com: 1
- pushpulllabs.com: 1
- flexport.com: 1
- yeah.net: 1
- medpeer.co.jp: 1
- sonicgarden.jp: 1
- joshuawood.net: 1
- dmathieu.com: 1
- ballgag.cz: 1
- lostapathy.com: 1
- jeffluckett.com: 1
- dicksonlabs.com: 1
- valiant.finance: 1
- mysociety.org: 1
- archlinux.org: 1
- dweebd.com: 1
- morearty.org: 1
- preferral.com: 1
- mail.ru: 1
- kronn.de: 1
- gifthealth.com: 1
- carlosribeiro.me: 1
- hockeyapp.net: 1
- nleger.com: 1
- semenyukdmitriy.com: 1
- identified.com: 1
- speee.jp: 1
- kakao.com: 1
- 5.78.89.239-a0da52406da9: 1
- wishabi.com: 1
- godynamo.com: 1
- fusioneer.com: 1
- awesomecode.io: 1
- rocketbox.in: 1
- viewthespace.com: 1
- absolute-performance.com: 1
- willian.io: 1
- evidation.com: 1
- rootstrap.com: 1
- esm.co.jp: 1
Issue and Pull Request metadata
Last synced: 5 days ago
Total issues: 153
Total pull requests: 141
Average time to close issues: over 4 years
Average time to close pull requests: 4 months
Total issue authors: 141
Total pull request authors: 55
Average comments per issue: 3.67
Average comments per pull request: 0.96
Merged pull request: 79
Bot issues: 0
Bot pull requests: 4
Past year issues: 17
Past year pull requests: 31
Past year average time to close issues: 15 days
Past year average time to close pull requests: 4 days
Past year issue authors: 17
Past year pull request authors: 15
Past year average comments per issue: 3.29
Past year average comments per pull request: 1.48
Past year merged pull request: 25
Past year bot issues: 0
Past year bot pull requests: 4
Top Issue Authors
- mockdeep (3)
- ghost (3)
- carbonComputer (2)
- mkcode (2)
- flyerhzm (2)
- printercu (2)
- Piioo (2)
- aximuseng (2)
- rgaufman (2)
- rbclark (2)
- okuramasafumi (1)
- vikram-sf (1)
- kbaum (1)
- fredboyle (1)
- JackLam591 (1)
Top Pull Request Authors
- flyerhzm (43)
- vprigent (8)
- amatsuda (6)
- hatsu38 (5)
- dependabot[bot] (4)
- adamzapasnik (3)
- ildarkayumov (3)
- jasonfb (2)
- es (2)
- saiqulhaq (2)
- kaishuu0123 (2)
- AmalRNambiar (2)
- koya1616 (2)
- tagliala (2)
- vincentjoseph (2)
Top Issue Labels
- stale (98)
Top Pull Request Labels
- dependencies (4)
- github_actions (4)
Package metadata
- Total packages: 7
-
Total downloads:
- rubygems: 324,547,156 total
- Total docker downloads: 942,781,994
- Total dependent packages: 29 (may contain duplicates)
- Total dependent repositories: 12,223 (may contain duplicates)
- Total versions: 261
- Total maintainers: 3
gem.coop: bullet
help to kill N+1 queries and unused eager loading.
- Homepage: https://github.com/flyerhzm/bullet
- Documentation: http://www.rubydoc.info/gems/bullet/
- Licenses: MIT
- Latest release: 8.1.0 (published about 2 months ago)
- Last Synced: 2025-12-15T01:02:24.660Z (1 day ago)
- Versions: 119
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 162,168,334 Total
- Docker Downloads: 471,390,997
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.051%
- Downloads: 0.152%
- Maintainers (1)
rubygems.org: bullet
help to kill N+1 queries and unused eager loading.
- Homepage: https://github.com/flyerhzm/bullet
- Documentation: http://www.rubydoc.info/gems/bullet/
- Licenses: MIT
- Latest release: 8.1.0 (published about 2 months ago)
- Last Synced: 2025-12-15T02:32:08.142Z (1 day ago)
- Versions: 119
- Dependent Packages: 29
- Dependent Repositories: 12,221
- Downloads: 162,171,660 Total
- Docker Downloads: 471,390,997
-
Rankings:
- Downloads: 0.158%
- Stargazers count: 0.168%
- Docker downloads count: 0.277%
- Dependent repos count: 0.311%
- Average: 0.506%
- Dependent packages count: 0.827%
- Forks count: 1.296%
- Maintainers (1)
gem.coop: bullet_instructure
help to kill N+1 queries and unused eager loading, pretty formatter for Instructure.
- Homepage: http://github.com/flyerhzm/bullet
- Documentation: http://www.rubydoc.info/gems/bullet_instructure/
- Licenses: MIT
- Latest release: 4.14.8 (published over 10 years ago)
- Last Synced: 2025-12-14T00:02:30.511Z (2 days ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 98,651 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 3.123%
- Downloads: 9.369%
- Maintainers (1)
proxy.golang.org: github.com/flyerhzm/bullet
- Homepage:
- Documentation: https://pkg.go.dev/github.com/flyerhzm/bullet#section-documentation
- Licenses: mit
- Latest release: v1.7.6 (published almost 16 years ago)
- Last Synced: 2025-12-14T00:02:29.357Z (2 days ago)
- Versions: 11
- Dependent Packages: 0
- Dependent Repositories: 1
-
Rankings:
- Stargazers count: 0.799%
- Forks count: 1.442%
- Average: 4.14%
- Dependent repos count: 4.76%
- Dependent packages count: 9.56%
gem.coop: thaold-bullet
A rails plugin to kill N+1 queries and unused eager loading.
- Homepage: http://github.com/flyerhzm/bullet
- Documentation: http://www.rubydoc.info/gems/thaold-bullet/
- Licenses: mit
- Latest release: 2.0.2 (published almost 15 years ago)
- Last Synced: 2025-12-14T00:02:28.318Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 4,930 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Stargazers count: 0.168%
- Forks count: 1.358%
- Average: 14.028%
- Downloads: 68.615%
- Maintainers (1)
rubygems.org: bullet_instructure
help to kill N+1 queries and unused eager loading, pretty formatter for Instructure.
- Homepage: http://github.com/flyerhzm/bullet
- Documentation: http://www.rubydoc.info/gems/bullet_instructure/
- Licenses: MIT
- Latest release: 4.14.8 (published over 10 years ago)
- Last Synced: 2025-12-14T00:02:27.902Z (2 days ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 98,651 Total
-
Rankings:
- Stargazers count: 0.139%
- Forks count: 1.197%
- Downloads: 8.067%
- Average: 14.378%
- Dependent packages count: 15.706%
- Dependent repos count: 46.782%
- Maintainers (1)
rubygems.org: thaold-bullet
A rails plugin to kill N+1 queries and unused eager loading.
- Homepage: http://github.com/flyerhzm/bullet
- Documentation: http://www.rubydoc.info/gems/thaold-bullet/
- Licenses: mit
- Latest release: 2.0.2 (published almost 15 years ago)
- Last Synced: 2025-12-14T00:02:28.797Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 4,930 Total
-
Rankings:
- Stargazers count: 0.166%
- Forks count: 1.281%
- Dependent packages count: 15.776%
- Average: 21.663%
- Dependent repos count: 21.736%
- Downloads: 69.354%
- Maintainers (1)
Dependencies
- actions/checkout v2 composite
- ruby/setup-ruby v1 composite
- activerecord-import >= 0
- activerecord-jdbcsqlite3-adapter >= 0
- coveralls >= 0
- guard >= 0
- guard-rspec >= 0
- rails >= 0
- rspec >= 0
- rubinius-developer_tools >= 0
- rubysl ~> 2.0
- sqlite3 >= 0
- activesupport >= 3.0.0
- uniform_notifier ~> 1.11
Score: 35.13847295996697
