A summary of data about the Ruby ecosystem.

https://github.com/activerecord-hackery/ransack

Search everywhere and in a hurry!
https://github.com/activerecord-hackery/ransack

Keywords

activerecord rails ruby ruby-gem ruby-library ruby-on-rails search search-interface sql

Keywords from Contributors

activejob mvc rubygems rubocop rspec static-code-analysis code-formatter rack devise crash-reporting

Last synced: about 9 hours ago
JSON representation

Repository metadata

Search everywhere and in a hurry!

README.md

Ransack

Build Status
Gem Version
Ask DeepWiki
Code Climate
Backers on Open Collective

Introduction

Ransack will help you easily add searching to your Rails application, without any additional dependencies.

There are advanced searching solutions around, like ElasticSearch or Algolia. Ransack will do the job for many Rails websites, without the need to run additional infrastructure or work in a different language. With Ransack you do it all with standard Ruby and ERB.

Ready to move beyond the basics? Use advanced features like i18n and extensive configuration options.

Ransack is supported for Rails 8.1, 8.0, 7.2 on Ruby 3.2 and later.

Installation

To install ransack and add it to your Gemfile, run

gem 'ransack'

Bleeding edge

If you would like to use the latest updates not yet published to RubyGems, use the main branch:

gem 'ransack', :github => 'activerecord-hackery/ransack', :branch => 'main'

Documentation

There is extensive documentation on Ransack, built with Jekyll and Just the Docs from the Markdown under docs/ and published as a GitHub Pages site. Alternatively there is AI Generated documentation produced by devin.ai.

This gist has a quick-start cheatsheet, created by @raghubetina

Issue tracker

  • Before filing an issue, please read the Contributing Guide.
  • File an issue if a bug is caused by Ransack, is new (has not already been reported), and can be reproduced from the information you provide.
  • Please consider creating a pull request with a failing test that demonstrates the problem.
  • Contributions are welcome. 😃
  • Please do not use the issue tracker for personal support requests. Stack Overflow or GitHub Discussions is a better place for that where a wider community can help you!

Contributions

To support the project:

  • Consider supporting us via Open Collective
  • Use Ransack in your apps, and let us know if you encounter anything that's
    broken or missing. A failing spec to demonstrate the issue is awesome. A pull
    request with passing tests is even better!
  • Before filing an issue or pull request, be sure to read and follow the
    Contributing Guide.
  • Please use Stack Overflow or GitHub Discussions for questions or discussion not
    directly related to bug reports, pull requests, or documentation improvements.
  • Spread the word on social media if Ransack's been useful
    to you. The more people who are using the project, the quicker we can find and
    fix bugs!

Contributors

Ransack was created by Ernie Miller and is developed and maintained by:

Alumni Maintainers

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! šŸ™ [Become a backer]


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 1,589
Total Committers: 256
Avg Commits per committer: 6.207
Development Distribution Score (DDS): 0.593

Commits in past year: 58
Committers in past year: 10
Avg Commits per committer in past year: 5.8
Development Distribution Score (DDS) in past year: 0.276

Name Email Commits
Jon Atack j****k@g****m 646
Sean 1****2 116
David RodrĆ­guez d****z@r****t 97
Yasuo Honda y****a@g****m 48
Ryan Bigg r****r@g****m 44
Ernie Miller e****e@m****s 43
Greg Molnar m****g@g****m 39
Zhomart Mukhamejanov m****t@g****m 37
Andrew Vit a****w@a****a 19
dependabot[bot] 4****] 15
Washington Luiz h****o@g****m 14
Ernie Miller e****e@e****g 12
yuuji.yaginuma y****a@g****m 10
Sean 1****l 9
Mark Huk m****e@g****m 9
Copilot 1****t 9
Sean Linsley x****v@g****m 9
Akira Matsuda r****e@d****p 8
Ryuta Kamizono k****o@g****m 8
Vassilis Rodokanakis v****s@g****r 8
Garett Arrowood g****d@g****m 7
Alejandro Babio a****o@h****m 7
ryoya kobayashi k****t@g****m 7
Timo Schilling t****o@s****o 6
Piers Chambers p****s@v****m 6
Niels Kristian n****t@g****m 6
Idean Labib i****b@g****m 6
Tibor Nagy t****r@s****h 5
Steven Jones s****n@r****m 5
Kevin Sjƶberg k****g@g****m 5
and 226 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 213
Total pull requests: 255
Average time to close issues: about 2 years
Average time to close pull requests: 3 months
Total issue authors: 169
Total pull request authors: 76
Average comments per issue: 2.85
Average comments per pull request: 1.04
Merged pull request: 106
Bot issues: 0
Bot pull requests: 38

Past year issues: 11
Past year pull requests: 32
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 3 days
Past year issue authors: 7
Past year pull request authors: 13
Past year average comments per issue: 0.18
Past year average comments per pull request: 0.22
Past year merged pull request: 12
Past year bot issues: 0
Past year bot pull requests: 2

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/activerecord-hackery/ransack

Top Issue Authors

  • scarroll32 (25)
  • stereobooster (4)
  • devsheva (4)
  • tagliala (3)
  • Tobias-Knudsen (3)
  • dsusco (3)
  • davideluque (2)
  • alipman88 (2)
  • talalong (2)
  • itsalongstory (2)
  • RailsCod3rFuture (2)
  • tony123S (2)
  • kalsan (2)
  • MtnBiker (2)
  • sigmaray (1)

Top Pull Request Authors

  • dependabot[bot] (38)
  • Copilot (38)
  • scarroll32 (25)
  • deivid-rodriguez (18)
  • ryoya1122 (8)
  • gregmolnar (8)
  • tatematsu-k (4)
  • jdufresne (4)
  • le0pard (4)
  • jdlubrano (4)
  • stereobooster (3)
  • robingram (2)
  • adrianthedev (2)
  • Aesthetikx (2)
  • tindron (2)

Top Issue Labels

  • Documentation (7)
  • Help Wanted (5)
  • Bug (4)
  • tests wanted (3)
  • Waiting for feedback from reporter (2)
  • simple_form (1)

Top Pull Request Labels

  • dependencies (38)
  • javascript (10)
  • Breaking change (2)

Package metadata

gem.coop: ransack

Powerful object-based searching and filtering for Active Record with advanced features like complex boolean queries, association searching, custom predicates and i18n support.

  • Homepage: https://github.com/activerecord-hackery/ransack
  • Documentation: http://www.rubydoc.info/gems/ransack/
  • Licenses: MIT
  • Latest release: 5.0.2 (published 13 days ago)
  • Last Synced: 2026-10-04T02:31:01.919Z (1 day ago)
  • Versions: 79
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 118,940,665 Total
  • Docker Downloads: 459,303
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Downloads: 0.245%
    • Average: 0.435%
    • Docker downloads count: 1.495%
  • Maintainers (3)
gem.coop: polyamorous

This is just an extraction from Ransack/Squeel. You probably don't want to use this directly. It extends ActiveRecord's associations to support polymorphic belongs_to associations.

  • Homepage: https://github.com/activerecord-hackery/ransack/tree/master/polyamorous
  • Documentation: http://www.rubydoc.info/gems/polyamorous/
  • Licenses: MIT
  • Latest release: 2.3.2 (published over 6 years ago)
  • Last Synced: 2026-10-04T02:30:56.007Z (1 day ago)
  • Versions: 15
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 38,230,797 Total
  • Docker Downloads: 79,065
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.568%
    • Downloads: 0.615%
    • Docker downloads count: 1.658%
  • Maintainers (6)
rubygems.org: ransack

Powerful object-based searching and filtering for Active Record with advanced features like complex boolean queries, association searching, custom predicates and i18n support.

  • Homepage: https://github.com/activerecord-hackery/ransack
  • Documentation: http://www.rubydoc.info/gems/ransack/
  • Licenses: MIT
  • Latest release: 5.0.2 (published 13 days ago)
  • Last Synced: 2026-10-04T02:31:01.907Z (1 day ago)
  • Versions: 79
  • Dependent Packages: 156
  • Dependent Repositories: 29,549
  • Downloads: 118,940,665 Total
  • Docker Downloads: 459,303
  • Rankings:
    • Dependent repos count: 0.203%
    • Stargazers count: 0.224%
    • Dependent packages count: 0.227%
    • Downloads: 0.261%
    • Average: 0.571%
    • Forks count: 0.821%
    • Docker downloads count: 1.691%
  • Maintainers (3)
rubygems.org: polyamorous

This is just an extraction from Ransack/Squeel. You probably don't want to use this directly. It extends ActiveRecord's associations to support polymorphic belongs_to associations.

  • Homepage: https://github.com/activerecord-hackery/ransack/tree/master/polyamorous
  • Documentation: http://www.rubydoc.info/gems/polyamorous/
  • Licenses: MIT
  • Latest release: 2.3.2 (published over 6 years ago)
  • Last Synced: 2026-10-04T02:31:00.544Z (1 day ago)
  • Versions: 15
  • Dependent Packages: 8
  • Dependent Repositories: 25,943
  • Downloads: 38,230,797 Total
  • Docker Downloads: 79,065
  • Rankings:
    • Dependent repos count: 0.222%
    • Stargazers count: 0.224%
    • Downloads: 0.508%
    • Forks count: 0.821%
    • Average: 0.95%
    • Docker downloads count: 1.881%
    • Dependent packages count: 2.044%
  • Maintainers (6)
proxy.golang.org: github.com/activerecord-hackery/ransack


Dependencies

.github/workflows/codeql.yml actions
  • actions/checkout v3 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init v2 composite
.github/workflows/cronjob.yml actions
  • actions/checkout v2 composite
  • ruby/setup-ruby v1 composite
  • postgres * docker
.github/workflows/deploy.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
  • peaceiris/actions-gh-pages v3 composite
.github/workflows/rubocop.yml actions
  • actions/checkout v2 composite
  • ruby/setup-ruby v1 composite
.github/workflows/test-deploy.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
.github/workflows/test.yml actions
  • actions/checkout v2 composite
  • ruby/setup-ruby v1 composite
  • postgres * docker
Gemfile rubygems
  • machinist ~> 1.0.6 development
  • rspec >= 0 development
  • simplecov >= 0 development
  • actionpack >= 0
  • activemodel >= 0
  • activerecord >= 0
  • activesupport >= 0
  • byebug >= 0
  • faker >= 0
  • mysql2 >= 0
  • pg >= 0
  • pry >= 0
  • rake >= 0
  • rubocop >= 0
  • sqlite3 >= 0
ransack.gemspec rubygems
  • activerecord >= 6.1.5
  • activesupport >= 6.1.5
  • i18n >= 0
docs/Gemfile rubygems
  • html-proofer >= 0
  • jekyll ~> 4.4
  • jekyll-redirect-from >= 0
  • jekyll-relative-links >= 0
  • jekyll-seo-tag >= 0
  • just-the-docs ~> 0.12
  • webrick >= 0
docs/Gemfile.lock rubygems
  • Ascii85 2.0.1
  • addressable 2.9.0
  • afm 1.0.0
  • async 2.46.0
  • base64 0.3.0
  • benchmark 0.5.0
  • bigdecimal 3.3.1
  • bundler 2.7.2
  • colorator 1.1.0
  • concurrent-ruby 1.3.8
  • console 1.38.0
  • csv 3.3.6
  • em-websocket 0.5.3
  • ethon 0.18.0
  • eventmachine 1.2.7
  • ffi 1.17.4
  • fiber-annotation 0.2.0
  • fiber-local 1.1.0
  • fiber-storage 1.0.1
  • forwardable-extended 2.6.0
  • google-protobuf 4.36.2
  • hashery 2.1.2
  • html-proofer 5.2.2
  • http_parser.rb 0.8.1
  • i18n 1.15.2
  • io-event 1.22.0
  • jekyll 4.4.1
  • jekyll-include-cache 0.2.2
  • jekyll-redirect-from 0.16.0
  • jekyll-relative-links 0.8.0
  • jekyll-sass-converter 3.1.0
  • jekyll-seo-tag 2.9.0
  • jekyll-watch 2.2.1
  • json 2.21.2
  • just-the-docs 0.12.0
  • kramdown 2.5.2
  • kramdown-parser-gfm 1.1.0
  • liquid 4.0.4
  • listen 3.10.0
  • logger 1.7.0
  • mercenary 0.4.0
  • nokogiri 1.19.4
  • pathutil 0.16.2
  • pdf-reader 2.16.0
  • public_suffix 7.0.5
  • racc 1.8.1
  • rainbow 3.1.1
  • rake 13.4.2
  • rb-fsevent 0.11.2
  • rb-inotify 0.11.1
  • rexml 3.4.4
  • rouge 4.7.0
  • safe_yaml 1.0.5
  • sass-embedded 1.104.1
  • terminal-table 3.0.2
  • ttfunk 1.8.0
  • typhoeus 1.6.0
  • unicode-display_width 2.6.0
  • webrick 1.9.2
  • yell 2.2.2
  • zeitwerk 2.8.3
.github/workflows/release.yml actions
  • actions/checkout 11d5960a326750d5838078e36cf38b85af677262 composite
  • ruby/setup-ruby a0102e0972be65f351c307e2d64b9314a57c8073 composite
  • rubygems/configure-rubygems-credentials dc5a8d8553e6ee01fc26761a49e99e733d17954a composite

Score: 33.79118749895406