bullet
help to kill N+1 queries and unused eager loading
File Explorer
Download Latest Version (.zip)- close_inactive_issues.yml
- main.yml
- dependabot.yml
- association.rb
- base.rb
- counter_cache.rb
- n_plus_one_query.rb
- unused_eager_loading.rb
- object.rb
- string.rb
- base.rb
- counter_cache.rb
- n_plus_one_query.rb
- unused_eager_loading.rb
- association.rb
- base.rb
- call_stack.rb
- object.rb
- active_job.rb
- active_record4.rb
- active_record41.rb
- active_record42.rb
- active_record5.rb
- active_record52.rb
- active_record60.rb
- active_record61.rb
- active_record70.rb
- active_record71.rb
- active_record72.rb
- active_record80.rb
- active_record81.rb
- bullet_xhr.js
- dependency.rb
- detector.rb
- mongoid4x.rb
- mongoid5x.rb
- mongoid6x.rb
- mongoid7x.rb
- mongoid8x.rb
- mongoid9x.rb
- notification.rb
- notification_collector.rb
- rack.rb
- registry.rb
- stack_trace_filter.rb
- version.rb
- install_generator.rb
- bullet.rb
- benchmark.rb
- init.rb
- association_spec.rb
- base_spec.rb
- counter_cache_spec.rb
- n_plus_one_query_spec.rb
- unused_eager_loading_spec.rb
- object_spec.rb
- string_spec.rb
- base_spec.rb
- counter_cache_spec.rb
- n_plus_one_query_spec.rb
- unused_eager_loading_spec.rb
- association_spec.rb
- base_spec.rb
- object_spec.rb
- notification_collector_spec.rb
- rack_spec.rb
- stack_trace_filter_spec.rb
- association_spec.rb
- polymorphic_spec.rb
- association_spec.rb
- counter_cache_spec.rb
- address.rb
- category.rb
- comment.rb
- company.rb
- entry.rb
- post.rb
- user.rb
- address.rb
- attachment.rb
- author.rb
- base_user.rb
- category.rb
- city.rb
- client.rb
- comment.rb
- company.rb
- country.rb
- deal.rb
- document.rb
- entry.rb
- firm.rb
- folder.rb
- group.rb
- newspaper.rb
- page.rb
- person.rb
- pet.rb
- post.rb
- relationship.rb
- reply.rb
- role.rb
- student.rb
- submission.rb
- teacher.rb
- user.rb
- writer.rb
- bullet_ext.rb
- mongo_seed.rb
- rack_double.rb
- sqlite_seed.rb
- bullet_spec.rb
- spec_helper.rb
- bullet_tasks.rake
- .gitignore
- .rspec
- bullet.gemspec
- CHANGELOG.md
- Gemfile
- Gemfile.mongoid
- Gemfile.mongoid-4.0
- Gemfile.mongoid-5.0
- Gemfile.mongoid-6.0
- Gemfile.mongoid-7.0
- Gemfile.mongoid-8.0
- Gemfile.mongoid-9.0
- Gemfile.rails-4.2
- Gemfile.rails-5.0
- Gemfile.rails-5.1
- Gemfile.rails-5.2
- Gemfile.rails-6.0
- Gemfile.rails-6.1
- Gemfile.rails-7.0
- Gemfile.rails-7.1
- Gemfile.rails-7.2
- Gemfile.rails-8.0
- Gemfile.rails-8.1
- Guardfile
- Hacking.md
- MIT-LICENSE
- Rakefile
- README.md
- test.sh
- update.sh
# Installation Guide
1. Get the code
git clone https://github.com/flyerhzm/bullet
Downloads the entire project code from GitHub to your computer.
cd bullet
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Ruby Ruby is required to use gem.
gem install bullet
Installs the package published on RubyGems directly.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Ruby
EasyPrerequisites
bundle exec rails g bullet:install
Type this command into your terminal and run it.
$ bundle exec rails db:migrate
Type this command into your terminal and run it.
bundle install
Installs the Ruby libraries listed in the Gemfile.
If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
