# Ransack

Ruby gem that adds searching and sorting to Rails applications through search forms and query methods on ActiveRecord models.


Source: https://findsoftware.frbit.cloud/ransack/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- home: https://activerecord-hackery.github.io/ransack/
- repository: https://github.com/activerecord-hackery/ransack
- docs: https://activerecord-hackery.github.io/ransack/getting-started/
- forum: https://github.com/activerecord-hackery/ransack/discussions

### Identity

- status: active
- maintainer: Sean Carroll
- maintainerType: individual
- parent: unknown
- firstRelease: 2011
- hqCountry: unknown

### Kind

- category: search
- hosting: ruby
- language: ruby
- runtime: ruby
- runtimeMin: ruby 3.2
- basedOn: rails

### Content

- contentStore: not applicable
- databases: postgres, mysql, mariadb, sqlite
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: translation files for predicates and attribute names

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: rubygems gem

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 6
- latestReleaseDate: 2026-10-25

### Adoption

- githubStargazers: 5859
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 219
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://activerecord-hackery.github.io/ransack/ (read 2026-10-28)
- urls: https://github.com/activerecord-hackery/ransack (read 2026-10-28)
- urls: https://activerecord-hackery.github.io/ransack/getting-started/ (read 2026-10-28)
- firstRelease: https://rubygems.org/api/v1/versions/ransack.json (read 2026-10-28)
- maintainer: https://raw.githubusercontent.com/activerecord-hackery/ransack/master/README.md (read 2026-10-28)
- maintainerType: https://raw.githubusercontent.com/activerecord-hackery/ransack/master/README.md (read 2026-10-28)
- category: https://raw.githubusercontent.com/activerecord-hackery/ransack/master/README.md (read 2026-10-28)
- basedOn: https://raw.githubusercontent.com/activerecord-hackery/ransack/master/README.md (read 2026-10-28)
- language: https://github.com/activerecord-hackery/ransack (read 2026-10-28)
- runtime: https://activerecord-hackery.github.io/ransack/getting-started/ (read 2026-10-28)
- runtimeMin: https://raw.githubusercontent.com/activerecord-hackery/ransack/v6.0.1/ransack.gemspec (read 2026-10-28)
- license: https://github.com/activerecord-hackery/ransack (read 2026-10-28)
- license: https://activerecord-hackery.github.io/ransack/ (read 2026-10-28)
- currentMajor: https://api.github.com/repos/activerecord-hackery/ransack/releases (read 2026-10-28)
- latestReleaseDate: https://api.github.com/repos/activerecord-hackery/ransack/releases (read 2026-10-28)
- githubStargazers: https://github.com/activerecord-hackery/ransack (read 2026-10-28)
- contributors: https://api.github.com/repos/activerecord-hackery/ransack/contributors?per_page=1 (read 2026-10-28)
- installMethod: https://activerecord-hackery.github.io/ransack/getting-started/ (read 2026-10-28)
- databases: https://activerecord-hackery.github.io/ransack/ (read 2026-10-28)
- i18n: https://activerecord-hackery.github.io/ransack/going-further/i18n/ (read 2026-10-28)

## Notes

Ransack is a Ruby gem that adds searching and sorting to a Rails application. It is a library rather than a server: it runs inside the application and has no separate process or content store of its own.

The gem is added to the Gemfile and installed with bundle install. The project documents PostgreSQL, MySQL, MariaDB and SQLite as supported databases, ships translation files for predicate and attribute names, and the [getting started guide](https://activerecord-hackery.github.io/ransack/getting-started/) covers installation for the supported Rails and Ruby versions. Sean Carroll is named as a maintainer, with Deivid Rodriguez and Greg Molnar.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
